• 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: some nib connections not surviving nib load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: some nib connections not surviving nib load


  • Subject: Re: some nib connections not surviving nib load
  • From: Greg Hulands <email@hidden>
  • Date: Fri, 08 Aug 2003 18:58:16 +1000

When i fell victim to Key Value Coding I took on the convention of myOutletChanged: instead of setMyOutlet:

Greg

On Friday, August 8, 2003, at 03:00 PM, Brent Gulanowski wrote:

On Friday, August 8, 2003, at 12:28 AM, Aaron Tuller wrote:

do you happen to have methods called setYourOutlet: (for an outlet called yourOutlet)

if so, those are getting called to set the outlets and it's not actually setting them. It's a nasty bug and really frustrating.


Oh, yeah, I didn't even think of that! NSKeyValueCoding at work! Of course it's my fault, and unless you are referring to something else, it is not a bug -- the setXXX methods never set the outlets, that's not what they are for -- they set stuff in NSUserDefaults. Doh! What da heck should I call those methods, I wonder?

Thanks!


No one really knows enough to be a pessimist. -- William Blake
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: some nib connections not surviving nib load (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: Re: Memory Management (Part I)
  • Next by Date: [OT] New employer wanted
  • Previous by thread: Re: some nib connections not surviving nib load
  • Next by thread: [ANN] ResKnife 0.5d1
  • Index(es):
    • Date
    • Thread