Tuesday, December 9, 2008

Cocoa things I can never remember

• UIView frame:
In superview coordinates. Changing this moves the view but doesn't redraw.
• UIView bounds:

From 0,0. It's the size of the view.
• The indicators on things like voicemail (to tell you you have N voicemails) are badges. Set them with the badgeValue property.

• Nib files - most objects are going to get an initWithCoder: message when they're instantiated. See the Resource Programming Guide, The Nib Object Life Cycle.

Creating preference files

No comments: