Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Objective-C 2.0: more clues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C 2.0: more clues



On 11 Aug 2006, at 08:47, Clark Cox wrote:

On 8/10/06, Dave Vasilevsky <email@hidden> wrote:

- Instance variables can have access control:

        @interface MyClass : NSObject
        {
        @public
                int public_var;
        @private
                int private_var;
        @protected
                int protected_var;
        }

While the others that you list are interesting, this one has been in the compiler for years IIRC.

But no-one ever uses @public so one can be excused never having seen it ;-)


Cheers,
Graham.

--
Graham Lee
"Oxford University's UNIX Expert"
Quick, run before they find the truth
http://iamleeg.blogspot.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Objective-C 2.0: more clues (From: Dave Vasilevsky <email@hidden>)
 >Re: Objective-C 2.0: more clues (From: "Clark Cox" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.