@@ -22,13 +22,15 @@ Getting the sources is as easy as doing a:
22
22
23
23
#### iOS projects
24
24
25
- - drag the OAuth2Client.xcodeproj into your project
26
- - add OAuth2Client as a build dependency
27
- - add the Security.framework as a build dependency
28
- - add ` OAuth2Client/** ` to your user header search path in the build settings
29
- - link your target against OAuth2Client (drag the OAuth2Client product from OAuth2Client.xcodeproj to your
30
- targets * Link Binary With Libraries* )
31
- - ` #import "NXOAuth2.h" `
25
+ * Place the _ OAuth2Client_ folder within your source root
26
+ * Drag the _ OAuth2Client.xcodeproj_ into your project
27
+ * Under your build target, select the _ Build Phases_ tab.
28
+ * Under _ Target Dependencies_ add _ OAuth2Client_
29
+ * Under _ Link Binary With Libraries_ , add _ libOAuth2Client.a_
30
+ * Under _ Build Settings_ ,
31
+ * Add ` $(SRCROOT)/path/to/OAuth2Client ` _ Header Search Paths_ , set as _ recursive_
32
+ * Add ` -ObjC ` to _ Other Linker Flags_
33
+ * ` #import "NXOAuth2.h" `
32
34
33
35
#### Desktop Mac projects
34
36
@@ -130,11 +132,11 @@ The authenticated accounts can be accessed via the `NXOAuth2AccountStore`. Eithe
130
132
131
133
<pre >
132
134
for (NXOAuth2Account *account in [[NXOAuth2AccountStore sharedStore] accounts]) {
133
- // Do something with the account
135
+ // Do something with the account
134
136
};
135
137
136
138
for (NXOAuth2Account *account in [[NXOAuth2AccountStore sharedStore] accountsWithAccountType:@"myFancyService"]) {
137
- // Do something with the account
139
+ // Do something with the account
138
140
};
139
141
140
142
NXOAuth2Account *account = [[NXOAuth2AccountStore sharedStore] accountWithIdentifier:@"...cached account id..."];
@@ -181,7 +183,7 @@ NSURLRequest *sigendRequest = [theRequest signedURLRequest];
181
183
// Invoke the request with you preferd method
182
184
</pre >
183
185
184
- ## BSD License
186
+ ## BSD License
185
187
186
188
Copyright © 2012, nxtbgthng GmbH
187
189
0 commit comments