• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Design for custom tableviewcell button action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Design for custom tableviewcell button action (From: Bryan Hansen <email@hidden>)
 >Re: Design for custom tableviewcell button action (From: WT <email@hidden>)
 >Re: Design for custom tableviewcell button action (From: mmalc Crawford <email@hidden>)
 >Re: Design for custom tableviewcell button action (From: Brian Slick <email@hidden>)

  • Prev by Date: Re: Design for custom tableviewcell button action
  • Next by Date: Re: GC bug in NSFontManager?
  • Previous by thread: Re: Design for custom tableviewcell button action
  • Next by thread: linking error
  • Index(es):
    • Date
    • Thread