Re: outlet initialization
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.