Reputation: 5175
How to access some classes from iOS project and use it inside OS X target in the same project? Classes are not CocoaTouch specific (NSManagedObjects for instance)
Upvotes: 3
Views: 508
Reputation: 1086
In the project settings view, select the your OS X target and go to the Build Phases tab. Then, simply drag the classes you want to access to the Compiler Sources section. This lets Xcode know that you want these classes to be included when you compile for OS X.
Upvotes: 2