iCloud documentation is crap

I’ve been trying to make use of iCloud in an iOS app over the last couple of weeks, and it’s been absolutely infuriating.  There’s a large volume of documentation, but it’s not very good, and it’s incomplete.  So let’s run down the laundry list: Entitlements Getting the entitlements to work is, in general, an incredible… Read more

Python

One good thing about working at Google has been that I’ve finally learnt Python. Properly. Which means I can whip up, in just a couple of minutes, a tested & documented script to, say, replace ~2,500 HTML files with redirects. So now anyone using an old link to any HTML page under https://homepage.mac.com/wadetregaskis will get… Read more

All UTIs for packages must inherit from com.apple.package

I had a devil of a time trying to get Xcode to recognise my standard Core Data UIManagedDocuments, given they are bundles, not flat files.  Turns out one of the keys was that your UTI must inherit from com.apple.package.  I had rather more sensibly (IMHO) inherited from one of the built-in database UTIs.  Silly me for… Read more

Kepler orbits are hard

Or at least, the material that covers them is.  Why is it so hard for someone to lay out the problem nice and simply – “given these parameters and position at origin time, the position & velocity at time T will be:…”. Still, it’s fun to screw around with.  I’m making some progress – I… Read more

Changing the default organisation name in Xcode 4

Xcode 4 no longer provides any UI – that I can find, anyway – for changing the default organisation name, whether globally or in a particular project.  It’s claimed that it’ll still respect the user defaults setting, which may well be true, but what if you’ve already created your project? Well, the only workaround I… Read more

RSA’s totally supported, only not really

Evidently RSA signing keys aren’t supported on iOS, at least in 4.3.  The entire process of submitting a cert request, generating provisioning profiles, etc etc… that all works just peachy.  It’s the very last step – verification of the signed app newly installed onto the device, ready to run – that actually fails.  And with… Read more