Archive for the ‘Apple’

IPhone 3G S: the ultimate mobile video blogging tool

OK, so I caved in and got an iPhone 3G S approximately half-a-day after it was released and not before bitching up a storm on Twitter about o2's upgrade policies (I finally ponied up for the pay-as-you-go version which means that I'm approximately £450 poorer now and will be living on beans for the rest [...]

Simulator/device discrepancy on iPhone when overriding sendEvent: on UIWindow

I'm overriding sendEvent: (- (void)sendEvent:(UIEvent *)event) on UIWindow to get notifications of touches in my application and I noticed a discrepancy between the simulator and the device during testing: When testing with the simulator and with a hidden status bar, I got touch notifications on the entire screen except for the status bar area. However, when [...]

Using mogenerator — Code generation for Core Data — in Xcode 3.1

Core Data manages all the grubby details of data persistence and abstracts away the actual data layer (whether it's SQL and its object-relational impedance mismatch baggage or XML and the joy of serialization/de-serialization/rinse/repeat) for you. Actually, it does much more than that, such as handling undo/redo. One area that I've been finding Core Data somewhat lacking [...]

Private iPhone APIs in XCode for Dummies

Today I had to use a private API while spiking a feature for an iPhone app I'm working on and I ran into a couple of gotchas along the way. There doesn't seem to be a simple step-by-step guide for using private iPhone APIs in XCode, so here's goes: First off, you're going to need the [...]

Mac running out of resources?

I've had my Mac appear to run out of resources a couple of times now and I can't narrow it down to find exactly what is causing it: I usually notice that this is happening when it refuses to Command-Tab between applications. The task switcher just doesn't come up. It feels like there are no resources [...]