Monthly Archive

The following items were posted during the requested period.

Dealing with memory loss: the cleanup

As we saw in the previous post, your view controller’s view can be released at any time because the device needs memory. One of the things you’ll want to look at in your own code is how you cleanup when when the memory warning occurs. Here’s an interface for a simple view controller class that […]

Dealing with memory loss: the crash

Now that we’re beta testing and able to symbolicate our crash logs, let’s look into one of the crashes that they helped me solve in version 1.0 of Twitterrific. The crash was happening during the posting of a notification. The backtrace looked something like this: Program received signal: “EXC_BAD_ACCESS”. #0 0x300c87ec in objc_msgSend #1 0x30675b0e […]

Symbolicatifination

Now that we’re all beta testing, we’ll hopefully get some crash logs from testers. But you’ll quickly realize that these crash logs don’t look as good as they do when you pull them off the device with Xcode’s Organizer: there are no symbols and fricken’ useless because you can’t tell where the code is crashing. […]

Beta testing on iPhone 2.0

NOTE: It’s not clear if the information in this essay is covered by the NDA or not. The instructions presented here are either referenced on Apple’s own site or referenced in the publicly available version of Xcode. If requested, I will remove this post. During Steve Jobs’ WWDC Keynote the announcement of Ad Hoc distribution […]