Tag Archives: iphone

Link roundup: Dead fish in the Hudson

Link roundups are legitimate blog posts, right? It doesn’t matter because I’m going to post it anyhow. We’ll start with programming-related topics: Michael Nachbaur writes about automating iPhone app builds with Hudson. Of course this idea is particularly appealing to me since I love teh Hudson (even when it gives me fits ). The guys… Read More »

Using Xcode and Guard Malloc should be easier than this.. could not load inserted library: libgmalloc.dylib

After running into a nasty (read: can’t figure it the problem) EXC_BAD_ACCESS error I turned to guard malloc. Enabling guard malloc in Xcode is deceptively simple: Run > Enable Guard Malloc. Done. Easy right? It would be, and I believe it is supposed to be this simple. Of course when I run the app in… Read More »

Compiling MGTwitterEngine for the iPhone using Xcode

Surprisingly there are not a lot of options for Objective-C Twitter libraries. In fact there are exactly two options: MGTwitterEngine and Canary (which is actually a “full-fledged client”). The choice looks clear, use MGTwitterEngine or deal with XML directly (yuck!). MGTwitterEngine does not implement the entire Twitter API but it does implement the most important… Read More »

Saving app data with the iPhone SDK and Cocoa is easy with NSUserDefaults

A quick look at NSUserDefaults suggests saving app data with Cocoa and the iPhone SDK is easy. I haven’t gotten much of a chance to use it so there might be some gotchas. To store nonsensitive data using NSUserDefaults is as easy as a couple of lines of code: [objc] NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];… Read More »

How to: HTTP POST and Google’s ClientLogin using Objective-C and the iPhone SDK

PLEASE NOTE (2009-08-12): You probably do not want to use this method (though it’s great for learning). A much better solution is to use the gdata-objectivec-client. Example code on using that library can be found in one of my projects hosted on github. I’ve been working on an iPhone app that uses one of Google’s… Read More »