A comment on a bitbucket fork of Murky led me to “Automatically localize your nibs when building“, which suggests a great way to automate the hard developer-side stuff in localizing in Xcode–pulling the original strings from the XIB files and putting the translated strings back in. You absolutely should read the original blog post there, [...]
¶
Posted 22 April 2010
† 2718.us
§
Mac OS X § Programming
‡
°
Also tagged: build script, internationalization, localization, mac, nib, os x, run script, script, sh, shell, shell script, target, xib
When I was using Subversion for version control in working on my Mac apps in Xcode, I had come to use a build script phase to tack on the subversion revision number as the last part to the version number: # tack the subversion revision number onto the CFBundleVersion REV=`svnversion -n "${PROJECT_DIR}"` REV=${REV/#[0-9]*:/} REV=${REV//[^0-9]/} BASE=`/usr/libexec/PlistBuddy [...]
This took over an hour for me to hash out, in part because there are a few mailing list archives and whatnot that I came across while looking into this issue that led me down the wrong path. I have an NSDocument subclass for which I want a sheet to display modal to the window [...]
¶
Posted 17 July 2009
† 2718.us
§
Programming
‡
°
Also tagged: attached, beginSheet, cocoa, detached, interface builder, modal, nsdocument, nspanel, obj, objective c, sheet, xco
I spent a large chunk of 2 days bashing out some code for asLJ, which is in a mix of Applescript Studio and Objective-C all pieced together with its GUI in Xcode. While I don’t dislike Xcode’s text editor—in fact, I have had moments where I really liked it and wondered about using it for [...]
asLJ is a new client for Macs running Leopard that easily handles multiple accounts on LiveJournal and other LJ-based sites and facilitates cross-posting across accounts. Release notes and download link are in aslj_client. The community for users is aslj_users. (As it is very LJ-centric, most of the information about it will be over at LJ, [...]
¶
Posted 09 February 2009
† 2718.us
§
asLJ
‡
°
Also tagged: applescript, applescript studio, asLJ, client, cocoa, keychain, keychain.framework, leopard, livejournal, livejournal client, lj, lj client, mac, Mac OS X, macintosh, objective c, os x, sparkle