@@ -92,15 +92,17 @@ typedef void (^TMAPICallback)(id, NSError *error);
9292 */
9393- (void )sendRequest : (JXHTTPOperation *)request queue : (NSOperationQueue *)queue callback : (TMAPICallback)callback ;
9494
95+ #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
96+
9597/* * @name Authentication */
9698
9799/* *
98- Authenticate via three-legged OAuth.
100+ Authenticate via three-legged OAuth.
99101
100- Your `TMAPIClient` instance's `handleOpenURL:` method must also be called from your `UIApplicationDelegate`'s
102+ Your `TMAPIClient` instance's `handleOpenURL:` method must also be called from your `UIApplicationDelegate`'s
101103 `application:openURL:sourceApplication:annotation:` method in order to receive the tokens.
102104
103- This method proxies to an underlying `TMTumblrAuthenticator`. That class can be used on its own but you do not need to
105+ This method proxies to an underlying `TMTumblrAuthenticator`. That class can be used on its own but you do not need to
104106 invoke it directly if you are including the whole API client in your project.
105107
106108 @param URLScheme a URL scheme that your application can handle requests to.
@@ -109,7 +111,7 @@ typedef void (^TMAPICallback)(id, NSError *error);
109111
110112/* *
111113 Authenticate via three-legged OAuth. This should be called from your `UIApplicationDelegate`'s
112- `application:openURL:sourceApplication:annotation:` method in order to receive the tokens.
114+ `application:openURL:sourceApplication:annotation:` method in order to receive the tokens.
113115
114116 This method proxies to an underlying `TMTumblrAuthenticator`. That class can be used on its own but you do not need to
115117 invoke it directly if you are including the whole API client in your project.
@@ -118,6 +120,8 @@ typedef void (^TMAPICallback)(id, NSError *error);
118120 */
119121- (BOOL )handleOpenURL : (NSURL *)url ;
120122
123+ #endif
124+
121125/* *
122126 Authenticate via xAuth. Please note that xAuth access [must be specifically requested](http://www.tumblr.com/oauth/apps)
123127 for your application.
0 commit comments