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: Tue, 30 Jun 2009 16:55:04 -0700
On Jun 30, 2009, at 4:36 PM, Brian Slick wrote:
Does the first line mean that I cannot reuse the XIB-based cells in
different view controllers?
No. As long as the view controllers all provide the same API (the
actions and outlets) you use in the nib file, then the actual class
doesn't really matter. (Obviously this puts a little more
responsibility on you to ensure that all your classes are kept in sync.)
(It might actually be useful if Interface Builder allowed you to set a
protocol rather than a class for the identity of an object:
<rdar://problem/7022113> Allow object identity to be set to a protocol
)
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