On Jun 26, 2009, at 9:08 PM, mmalc Crawford wrote:
if (cell == nil) {
[[NSBundle mainBundle] loadNibNamed:@"<#Your nib file name#>"
owner:self options:nil];
cell = <#cell outlet property#>;
self.<#cell outlet property#> = nil;
}
Please pardon my noobness, but could you expand a little on how this
works? I'm assuming that the first line somehow assigns the <#cell
outlet property#>, since I don't see how else this could work, but I
sure don't see how that actually happens. It certainly looks like a
alloc/assign/release pattern, but I feel like there should be some
more code.
Thanks,
Brian
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com