ideashower / ShareKit

Drop in sharing features for all iPhone and iPad apps
http://getsharekit.com
1.78k stars 378 forks source link

FBXMLHandler doesn't compile with SDK 3.2 #19

Closed dginsburg closed 13 years ago

dginsburg commented 13 years ago

NSXMLParserDelegate didn't formally exist prior to iOS 4.0.

ideashower commented 13 years ago

I'd recommend building with the Base SDK set as 4.0 and then setting your iPhone OS Deployment Target lower at 3.2 (or lower).

sindresorhus commented 13 years ago

Still errors. This fixed it for me though:


#ifdef __IPHONE_4_0
    @interface FBXMLHandler : NSObject <NSXMLParserDelegate>
#else
    @interface FBXMLHandler : NSObject
#endif
{