• 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: Objective-C Instance Variable Names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C Instance Variable Names


  • Subject: Re: Objective-C Instance Variable Names
  • From: Jim Puls <email@hidden>
  • Date: Sat, 5 Apr 2008 20:26:13 -0700

On Apr 5, 2008, at 8:20 PM, Richard Somers wrote:
I have also been looking through the WebKit framework and noticed that they will hide ALL of the instance variables in another class like this.

   @interface WebView : NSView {
   @private
       WebViewPrivate *_private;
   }

Can anyone shed light on this practice of hiding ivars? Is it mainly something that is being done by the framework developers and generally is not applicable to application developers? Why does Apple do this?

Wikipedia can explain it best: http://en.wikipedia.org/wiki/Fragile_binary_interface_problem

-> jp

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >Objective-C Instance Variable Names (From: Richard Somers <email@hidden>)
 >Re: Objective-C Instance Variable Names (From: Jens Alfke <email@hidden>)
 >Re: Objective-C Instance Variable Names (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: Objective-C Instance Variable Names
  • Next by Date: Re: Custom Buttons - Tutorial/Examples...
  • Previous by thread: Re: Objective-C Instance Variable Names
  • Next by thread: Re: Objective-C Instance Variable Names
  • Index(es):
    • Date
    • Thread