davedelong / StackKit

A CoreData-like approach to a StackOverflow api
Other
147 stars 14 forks source link

import cocoa.h on mobile version #14

Closed Jon889 closed 13 years ago

Jon889 commented 13 years ago

in stackkit.h there is :

ifdef StackKitMobile

import <UIKit/UIKit.h>

else

import <Cocoa/Cocoa.h>

endif

line 29 is the problem, the iphone doesn't have Cocoa.h and it throws an error even though it's in a if statement. So it should just be removed except the UIKit line in the mobile version (unless I'm doing something wrong)

davedelong commented 13 years ago

I am unable to reproduce a compilation error. When I compile the mobile static library, it works correctly.