Reputation: 237
I've imported Three20 into my new project with the Terminal. When I build the project, I've get 13 errors, semantic issues. How to fix this or any other ideas?
Thanks!
Upvotes: 3
Views: 384
Reputation: 5932
This framework is no longer maintained. However, if you want to get a version that doesn't have any xcode 4.5 issues, download the development branch of the project https://github.com/facebook/three20/tree/development.
That should include the fixes you're looking for.
Upvotes: 2
Reputation: 4271
From what I've heard, that library is a mess.
As for the errors:
Which complier are you using? New compiler (Apple LLVM 4.1, if I am correct), automatically creates those "underscore ivars" without you needing to synthesize them:
e.g. (before new compiler):
@property (nonatomic) NSObjectTypeOrWhatever *tapCount
@synthesize tapCount=_tapCount
With new compiler, you only need to declare property and "underscore ivars" are generated for you.
So I suppose you have two options,
(first one is faster)
Upvotes: 1
Reputation: 9687
Just throw self. In front of everything, for example, the first line should be self.tapCount instead of _tapCount.
Upvotes: 0