On Jul 23, 2008, at 10:51 PM, Graham Cox wrote:

2) I have found that IB automatically treats all member variables of
my custom view's class that are of type "id" or "id<...>" as outlets,
i.e. they appear in the list of outlets on Ctrl+click. This is not
always desirable. How do I prevent some of those variables from being
treated like outlets?
Yep, I noticed that too. Looks like a bug for now.

I'm not sure what the bug is here? IB has always treated ids as outlets.

Going forward, though, you're encouraged to use declared properties -- see <http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_2.html > for an example. (The rationale is that they make memory management semantics clear.)

mmalc

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to