Re: Manual binding questions.
Re: Manual binding questions.
- Subject: Re: Manual binding questions.
- From: Jiva DeVoe <email@hidden>
- Date: Sun, 23 Jan 2005 15:20:19 -0700
Ok, tried it without that, no difference.
On Jan 23, 2005, at 2:50 PM, Shawn Erickson wrote:
On Jan 23, 2005, at 1:11 PM, Jiva DeVoe wrote:
I have an NSSlider on a form in IB. I have an outlet for this in my
doc header file:
IBOutlet NSSlider *_slider;
IBOutlet MyView *_myView;
FYI using "_" is a bad idea... (this may or may not be related to the
problems you are having)
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/index.html>
"Do not use the underscore character as a prefix meaning that the
instance variable is private. Apple reserves the use of this
convention because its use by third parties could result in name-space
collisions. See “Private Methods” for a suggestion on prefixes for
private API."
"Private Methods
With the exception of a prefix convention, private names follow the
same rules as public names. The prefix convention is this: Don’t use
the underscore character as a prefix meaning private. Apple reserves
this convention, and its use by third parties could result in rather
unpleasant name-space collisions."
-Shawn
--
Jiva DeVoe
jiva at devoesquared.com
http://www.devoesquared.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden