I have no idea why, but using Xcode 6.2 this compiled fine; now it doesn't in Xcode 6.3, failing with:
TMTumblrSDK: No visible @interface ... declares selector "handleOpenURL"
Looking at the header file and it clearly shows that method is there.
#import "TMAPIClient.h"
// ...
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
[[TMAPIClient sharedInstance] handleOpenURL:url];
}
I tried a clean, deleting derived data, and I even tried with <TMTumblrSDK/TMAPIClient.h>
but no dice?
Via CocoaPods, I'm Using TMTumblrSDK (2.1.1)