• 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: outlet initialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: outlet initialization


  • Subject: Re: outlet initialization
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 22 Apr 2003 16:53:41 -0500

At 12:29 PM -0700 4/22/03, John C. Randolph wrote:
If there's a method named set<ivarname>, it will be used. Otherwise, the ivar is set directly.

Do lots of people depend on this specific behavior, or would it be reasonable to file feature requests asking for nib archiving to use key-value coding instead?

I ask because if one has an outlet named "_foo", when loading a nib you won't be sent -setFoo: as you would if nib archiving used key-value coding. (I believe it will try to send -set_foo:.)

-- Chris

--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Application Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: outlet initialization
      • From: Vince DeMarco <email@hidden>
    • Re: outlet initialization
      • From: "John C. Randolph" <email@hidden>
References: 
 >Re: outlet initialization (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Get RTF or HTML from web and show in NSTextView
  • Next by Date: Re: What's with these redundant methods ?
  • Previous by thread: Re: outlet initialization
  • Next by thread: Re: outlet initialization
  • Index(es):
    • Date
    • Thread