Posts Tagged “Objective-C”

Objective-C: Alternative Use of Properties?

by john on July 25, 2008

While scanning a few code examples inside the iPhone SDK, I bumped into something interesting. I wrote a short example to mimic what I found…take a look at the following interface declaration: @interface SomeClass : NSObject { NSString *str; NSDate (…)

Read the rest of this entry »

Objective-C: Properties, Setters and Dot Syntax

by john on July 24, 2008

I’ve been ramping up on iPhone development, and with the NDA still in place (as far as I know), I haven’t been able to blog about what I’ve written/learned. And with that, it’s been quiet in here. Too get back (…)

Read the rest of this entry »

Objective-C: Private Methods

by john on July 2, 2008

Note: What follows is another post in an on-going series for developers who are interested in learning to write applications for the iPhone. The entire series can be found here: iPhone Developer . One common complaint for many new to (…)

Read the rest of this entry »

Objective-C: Categories

by john on July 1, 2008

As an alternative to subclassing, Objective-C categories provide a means to add methods to a class. What’s intriguing, is that any methods that you add through a category become part of the class definition, so to speak. In other words, (…)

Read the rest of this entry »

Objective-C: Initializers

by john on June 30, 2008

Note: What follows is another post in an on-going series for developers who are interested in learning to write applications for the iPhone. The entire series can be found here: iPhone Developer . The code for creating new instances of (…)

Read the rest of this entry »

Objective-C: Memory Management

by john on June 26, 2008

Note: What follows is another post in an on-going series for developers who are interested in learning to write applications for the iPhone. More information about writing for the iPhone can be found here: iPhone Developer Tips . First off, (…)

Read the rest of this entry »

Objective-C: Messaging

by john on June 24, 2008

Note: What follows is another post in an on-going series for developers who are interested in learning to write applications for the iPhone. The entire series can be found here: iPhone Developer . This post introduces messaging within Objective-C. Messaging (…)

Read the rest of this entry »

Objective-C: Defining a Class

by john on June 23, 2008

Note: This post is the start of an on-going series for developers who are interested in learning to write applications for the iPhone. The entire series can be found here: iPhone Developer . One of the first topics to cover (…)

Read the rest of this entry »