Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Damn sisters :-)



>You are not supposed to have access to another class's data. Create
>accessor methods to access the data. For instance,
>- (id)myInstanceVariable
>{
> return myInstanceVariable;
>}

I've already thought about this option but I supposed I was rather stupid
to use a "dummy" function just to pass a variable... I hoped there was a
cleaner way :-))

--
Riccardo Santato
www.riccardosantato.com




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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.