What is different about NIB loading in a Cocoa Touch application

Top level NIB objects are auto-released. (In Mac OS X, top levels objects are retained by default, and hence must be released explicitly on that platform.)

Outlets are set using the setValue:forKey: method. This method retains outlets automatically, so if you use it, you must release those outlets in the object’s dealloc method.

The awakeFromNib message is sent to each object that was created as a side effect of loading the nib. This means that on the iPhone OS File’s Owner and other proxy objects do not receive this message. Please refer to the CocoaTouch or Cocoa documentation for a complete list of methods available for configuring your UI objects after NIB loading has occurred.

Blogged with the Flock Browser

Tags: , , , , , , ,

Posted in iPHone. 1 Comment »

One Response to “What is different about NIB loading in a Cocoa Touch application”

  1. ontoffSkadlon Says:

    ejuvpyuctbbwvauewell, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: