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 (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

Reply via email to