Rss

Archives for : July2008

Four chapters for the price of one

It’s crunch time for the book’s beta, which is where I’ve been spending a lot of my time. Curiously, one of my chapters has grown from an omnibus overview of I/O, to separate file and network chapters, and may now end up as four chapters, covering the file APIs, preferences, the SQLite3 database, and networking.

The latter is giving me a little pain today. My example for handling HTTP authentication wouldn’t be able to re-use the same authentication throughout multiple pages of a password-protected realm, and as I’ve fixed it (unwittingly evolving closer and closer to one of Apple’s sample apps, ImageClient 5, I’ve had to use more and more Core Foundation stuff instead of Cocoa. I’ve spent the afternoon baffled by a CF dictionary that seems to be losing the values I put into it. Surely that’s not really what’s going on, but right now I really don’t know what I’m looking at, and the debugger is surprisingly unhelpful on this one.

I solved a heck of a problem with IB and table view cells last week. I am so blogging that once the NDA lifts.