Re: Using Properties at Outlets
Re: Using Properties at Outlets
- Subject: Re: Using Properties at Outlets
- From: Randall Meadows <email@hidden>
- Date: Mon, 14 Apr 2008 09:39:58 -0600
On Apr 13, 2008, at 10:46 PM, Steve Sheets wrote:
Has anyone had any problems with creating Properties with Objective-
C 2.0 that are also Outlets?
I been using this inside my code, and I want to be sure there is no
problems with this. I create fairly standard (readonly) and
(readwrite, copy) properties using ivars, @property and @synthesize.
I place IBOutlet in front of the ivar like thus:
[snip]
The documentation does not explicitly say you can do this. I just
want to know if anyone has seen an issue?
I just completed a rewrite of a program for a client, and made copious
use of properties as IBOutlets. I did not see any problems at all.
Well, except for that method I wrote that looked *exactly* like a
setter, but wasn't; but that was a PEBCAK...and a doozy to debug.
randy
_______________________________________________
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