Tag Archives: Apple

Used iPhones are still worth big money!

A month or so ago I finally broke down and upgraded our iPhones to 3G, and sold our old ones on Ebay. It worked out well. Bought – 2 16gb iPhone 3Gs, $300 each + tax & misc AT&T fees. … Continue reading

Posted in Apple | Tagged , | Leave a comment

Use NSUserDefaults to persist data between app runs

On the iPhone you generally want your application to start looking like it did when it was last run to give the user the impression your app is ready to pick up where it left off. NSUserDefaults provides an easy … Continue reading

Posted in Apple, Coding | Tagged , | Leave a comment

NSNotificationCenter

I just learned about NSNotificationCenter. Any class in a program can send a notification message to the notification center, and all classes can listen to the center and respond to messages that apply to it. It’s kind of like a … Continue reading

Posted in Apple, Coding | Tagged , | 1 Comment

Adding a code beautifier script to Xcode

Xcode’s re-indent command is pretty weak compared to the code reformatting built into other IDEs. It fixes the indentation at the beginning on each line, which makes a huge difference in code readability, but I don’t think it does anything … Continue reading

Posted in Apple, Coding | Tagged , , | 9 Comments