Properties? I don't see the connection at all. The instance variables
I'm accessing should be available only to the class itself. Otherwise
I could just use @public and access it the same way as below, but
allowing the function to be defined outside of the implementation.
I want to use a
On Apr 21, 2009, at 7:40 PM, Seth Willits wrote:
Is the non-protected access of instance variables from functions
defined inside of @implementations documented anywhere? I'm
wondering if this some secret thing that I shouldn't use, or
something that's actually pretty common used?
@implemen
It's done all the time. You should read up on Objective-C 2.0
properties, though, to learn when it's best to use properties.
Luke
On Apr 21, 2009, at 7:40 PM, Seth Willits wrote:
Is the non-protected access of instance variables from functions
defined inside of @implementations documented
Is the non-protected access of instance variables from functions
defined inside of @implementations documented anywhere? I'm wondering
if this some secret thing that I shouldn't use, or something that's
actually pretty common used?
@interface Foo : NSObject
{
int special;
}
- (