• 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: Manual binding questions.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Manual binding questions. (From: Jiva DeVoe <email@hidden>)
 >Re: Manual binding questions. (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Getting file contents as a hex string
  • Next by Date: Re: why is nsscanner giving me an extra result?
  • Previous by thread: Re: Manual binding questions.
  • Next by thread: Re: Manual binding questions.
  • Index(es):
    • Date
    • Thread