Sorry, I left out the @property/@synthesize from the code I linked. I have a
@property (retain) Board *gameBoard;
and
@synthesize gameBoard;
Yeah the only issue is xcode not auto competing. Everything compiles and runs fine. I just find it weird that xcode would not auto complete if I add self. onto one of my member variables.
Quote:
Originally Posted by FlyingDiver
Is it just the editor autocompletion that's bothering you, or is the code actually working differently?
The dot syntax you're using is normally used to invoke the compiler generated setter/getter methods that are created when you use @property/@synthesize. Since you don't have those, the editor is probably somewhat confused. Looks like the compiler doesn't care (unless you're getting errors you haven't mentioned).
joe
|