Tag Archives: iOS Development

How to detect iOS hardware, simulator, or Mac from Greg Parker: TargetConditionals.h. (I’ve used this chart several times since it was posted, but I haven’t linked to it before.)

Posted on by Steven Fisher | Comments Off

Jeff LaMarche provides several animation curve functions. Cool math, but probably not necessary for most apps.

Posted on by Steven Fisher | Comments Off

Dave Dribin (now of Apple): Fun with C99 Syntax. From May 2010, but I missed it then: C99 offers a better syntax than NSMakeRect.

Posted on by Steven Fisher | Comments Off

Xcode tip: Renaming files shared by projects

What if you want to rename a file that’s used in multiple Xcode projects? Well, previously I’d rename the file in one project, then open each project in series and correct broken references. But I discovered today that this is … Continue reading

Posted in Technology | Tagged , , , , , | Comments Off

Changing UINavigationBar’s title text color

You can’t, directly, but you can substitute your own view. For example, start with Apple’s NavBar sample. Drop this code into initWithNibName:bundle: in PageThreeViewController.m: ? – (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { // this will … Continue reading

Posted in Technology | Tagged , , | Comments Off

Greater transparency and flexibility for App Store developers

From Jim Dalrymple over at The Loop: Apple promises greater transparency for App Store developers: A new statement from Apple would seem to indicate a more conciliatory and open approach to its relationship with developers of software for iOS devices. It’s … Continue reading

Posted in Technology | Tagged , , , | Comments Off

Oliver Drobnik (Dr. Touch): Understanding iOS 4 Backgrounding and Delegate Messaging. State diagram for iPhone applications with respect to multitasking. The only thing I see missing is some times when your app will be killed, but you can’t handle those anyway.

Posted on by Steven Fisher | Comments Off

Cocoa With Love (Matt Gallagher): Assign, retain, copy pitfalls in Objective-C.

Posted on by Steven Fisher | Comments Off

A one day project

I started work today on an iPhone project with a friend. I figured it would take only a day to get to a reasonable 1.0. I’ve only put in about a half day on it so far, but at this … Continue reading

Posted in Technology | Tagged , , , | Comments Off

Joshua Kaufman interviews Loren Brichter on Tweetie’s reload gesture. A good, non-technical read on finding the right way to present a feature, adding a custom gesture, and providing feedback.

Posted on by Steven Fisher | Comments Off