• 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: When are bound variables initialized?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When are bound variables initialized?


  • Subject: Re: When are bound variables initialized?
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 13 Apr 2005 17:38:37 -0400

just to poke my nose in here..

you'll want to set these values using a KVC compliant means.. so accessors should be used..


On Apr 13, 2005, at 4:21 PM, Michael Lutz wrote:

I suggest you set it in your -init method instead. And use

awakeFromNib = [[NSMutableString alloc] initWithString:@"Distance"];

And then in your -dealloc you need to add

[awakeFromNib release];

Don't forget to call [super dealloc] at the end of your -dealloc method.


--
"William Cheeseman ... is said not to be a doofus in real life." - Roger Ebert, Chicago Sun-Times Online


Scott Anguish
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >When are bound variables initialized? (From: Michael Lutz <email@hidden>)
 >Re: When are bound variables initialized? (From: Kevin Ballard <email@hidden>)
 >Re: When are bound variables initialized? (From: Michael Lutz <email@hidden>)
 >Re: When are bound variables initialized? (From: Kevin Ballard <email@hidden>)
 >Re: When are bound variables initialized? (From: Michael Lutz <email@hidden>)

  • Prev by Date: Re: Determining if a special input method is active - was Detecting double byte input
  • Next by Date: Re: Cocoa from C++ (dont want to mix it)
  • Previous by thread: Re: When are bound variables initialized?
  • Next by thread: debugger woes
  • Index(es):
    • Date
    • Thread