Re: Design for custom tableviewcell button action
Re: Design for custom tableviewcell button action
- Subject: Re: Design for custom tableviewcell button action
- From: mmalc Crawford <email@hidden>
- Date: Fri, 26 Jun 2009 19:28:07 -0700
On Jun 26, 2009, at 7:20 PM, Brian Slick wrote:
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.
From the set-up:
In the cell's nib file:
The class of the File's Owner should be your table view controller
class.
Set an identifier for the cell.
** Connect the appropriate outlet from File's Owner to the cell **
When the nib file is loaded, the cell property is set to point to the
newly-loaded cell.
(It's not related to memory management.)
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden