• 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: Brian Slick <email@hidden>
  • Date: Fri, 26 Jun 2009 22:20:31 -0400


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


  • Follow-Ups:
    • Re: Design for custom tableviewcell button action
      • From: mmalc Crawford <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>)

  • Prev by Date: Re: GC pros and cons
  • Next by Date: Re: GC pros and cons
  • Previous by thread: Re: Design for custom tableviewcell button action
  • Next by thread: Re: Design for custom tableviewcell button action
  • Index(es):
    • Date
    • Thread