Re: outlet initialization
Re: outlet initialization
- Subject: Re: outlet initialization
- From: Vince DeMarco <email@hidden>
- Date: Tue, 22 Apr 2003 22:32:08 -0700
On Tuesday, April 22, 2003, at 2:53 PM, Chris Hanson wrote:
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:.)
Yes it exactly works as you described.
I do think if we change it we will end up breaking a bunch of code out
there. The change in the IB runtime is really easy, but understanding
everything that is going to get broken isn't.
vince
_______________________________________________
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.