• 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: What's the point of @properties?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the point of @properties?


  • Subject: Re: What's the point of @properties?
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 23 Sep 2010 08:52:49 +0200

On 23.09.2010, at 03:25, Matt Neuburg wrote:
> In the current version of IB, you can go to Library > Classes > Outlets and
> define an outlet name. If you do this and, say, add an outlet name called
> "howdy" on some nib object, and draw the outlet with that name, then when
> the nib loads, setHowdy: will be called on the corresponding instance if it
> exists - even though there is no ivar with that name.
>
> If you don't believe me I'll send you a project that demonstrates.
>
> Indeed, I remember when this was the *only* way to define an outlet name;
> there was no such thing as the IBOutlet hint in Xcode. m.

 Yeah, and everyone using the class has to re-add the outlet manually to every NIB that instantiates the class. That's just not a good workflow when working in teams unless you like asserting left and right due to unconnected outlets. You want outlets to show up automatically.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: What's the point of @properties? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: [ANN] Release: NanoStore 1.0 for Mac and iOS
  • Next by Date: Re: [ANN] Release: NanoStore 1.0 for Mac and iOS
  • Previous by thread: Re: What's the point of @properties?
  • Next by thread: Re: What's the point of @properties?
  • Index(es):
    • Date
    • Thread