• 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: 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.

References: 
 >Re: outlet initialization (From: "John C. Randolph" <email@hidden>)
 >Re: outlet initialization (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: What's with these redundant methods ?
  • Next by Date: write to the console
  • Previous by thread: Re: outlet initialization
  • Next by thread: RE: outlet initialization
  • Index(es):
    • Date
    • Thread