Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit ad65b67

Browse files
committed
Merge pull request #22 from ParsePlatform/nlutsenko.docs
Update all of the public documentation to new style.
2 parents 8670a2a + 7ce462b commit ad65b67

File tree

1 file changed

+70
-70
lines changed

1 file changed

+70
-70
lines changed

ParseFacebookUtils/PFFacebookUtils.h

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
NS_ASSUME_NONNULL_BEGIN
2222

23-
/*!
24-
The `PFFacebookUtils` class provides utility functions for using Facebook authentication with <PFUser>s.
23+
/**
24+
The `PFFacebookUtils` class provides utility functions for using Facebook authentication with `PFUser`s.
2525
2626
@warning This class supports official Facebook iOS SDK v4.0+ and is available only on iOS.
2727
*/
@@ -31,10 +31,10 @@ NS_ASSUME_NONNULL_BEGIN
3131
/// @name Interacting With Facebook
3232
///--------------------------------------
3333

34-
/*!
35-
@abstract Initializes Parse Facebook Utils.
34+
/**
35+
Initializes Parse Facebook Utils.
3636
37-
@discussion You must provide your Facebook application ID as the value for FacebookAppID in your bundle's plist file
37+
You must provide your Facebook application ID as the value for FacebookAppID in your bundle's plist file
3838
as described here: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/
3939
4040
@warning You must invoke this in order to use the Facebook functionality in Parse.
@@ -43,35 +43,35 @@ NS_ASSUME_NONNULL_BEGIN
4343
*/
4444
+ (void)initializeFacebookWithApplicationLaunchOptions:(nullable NSDictionary *)launchOptions;
4545

46-
/*!
47-
@abstract `FBSDKLoginManager` provides methods for configuring login behavior, default audience
46+
/**
47+
`FBSDKLoginManager` provides methods for configuring login behavior, default audience
4848
and managing Facebook Access Token.
4949
50-
@returns An instance of `FBSDKLoginManager` that is used by `PFFacebookUtils`.
50+
@return An instance of `FBSDKLoginManager` that is used by `PFFacebookUtils`.
5151
*/
5252
+ (FBSDKLoginManager *)facebookLoginManager;
5353

5454
///--------------------------------------
5555
/// @name Logging In
5656
///--------------------------------------
5757

58-
/*!
59-
@abstract *Asynchronously* logs in a user using Facebook with read permissions.
58+
/**
59+
*Asynchronously* logs in a user using Facebook with read permissions.
6060
61-
@discussion This method delegates to the Facebook SDK to authenticate the user,
62-
and then automatically logs in (or creates, in the case where it is a new user) a <PFUser>.
61+
This method delegates to the Facebook SDK to authenticate the user,
62+
and then automatically logs in (or creates, in the case where it is a new user) a `PFUser`.
6363
6464
@param permissions Array of read permissions to use.
6565
66-
@returns The task that has will a have `result` set to <PFUser> if operation succeeds.
66+
@return The task that has will a have `result` set to `PFUser` if operation succeeds.
6767
*/
6868
+ (BFTask PF_GENERIC(PFUser *)*)logInInBackgroundWithReadPermissions:(nullable NSArray PF_GENERIC(NSString *)*)permissions;
6969

70-
/*!
71-
@abstract *Asynchronously* logs in a user using Facebook with read permissions.
70+
/**
71+
*Asynchronously* logs in a user using Facebook with read permissions.
7272
73-
@discussion This method delegates to the Facebook SDK to authenticate the user,
74-
and then automatically logs in (or creates, in the case where it is a new user) a <PFUser>.
73+
This method delegates to the Facebook SDK to authenticate the user,
74+
and then automatically logs in (or creates, in the case where it is a new user) a `PFUser`.
7575
7676
@param permissions Array of read permissions to use.
7777
@param block The block to execute when the log in completes.
@@ -80,23 +80,23 @@ NS_ASSUME_NONNULL_BEGIN
8080
+ (void)logInInBackgroundWithReadPermissions:(nullable NSArray PF_GENERIC(NSString *)*)permissions
8181
block:(nullable PFUserResultBlock)block;
8282

83-
/*!
84-
@abstract *Asynchronously* logs in a user using Facebook with publish permissions.
83+
/**
84+
*Asynchronously* logs in a user using Facebook with publish permissions.
8585
86-
@discussion This method delegates to the Facebook SDK to authenticate the user,
87-
and then automatically logs in (or creates, in the case where it is a new user) a <PFUser>.
86+
This method delegates to the Facebook SDK to authenticate the user,
87+
and then automatically logs in (or creates, in the case where it is a new user) a `PFUser`.
8888
8989
@param permissions Array of publish permissions to use.
9090
91-
@returns The task that has will a have `result` set to <PFUser> if operation succeeds.
91+
@return The task that has will a have `result` set to `PFUser` if operation succeeds.
9292
*/
9393
+ (BFTask PF_GENERIC(PFUser *)*)logInInBackgroundWithPublishPermissions:(nullable NSArray PF_GENERIC(NSString *)*)permissions;
9494

95-
/*!
96-
@abstract *Asynchronously* logs in a user using Facebook with publish permissions.
95+
/**
96+
*Asynchronously* logs in a user using Facebook with publish permissions.
9797
98-
@discussion This method delegates to the Facebook SDK to authenticate the user,
99-
and then automatically logs in (or creates, in the case where it is a new user) a <PFUser>.
98+
This method delegates to the Facebook SDK to authenticate the user,
99+
and then automatically logs in (or creates, in the case where it is a new user) a `PFUser`.
100100
101101
@param permissions Array of publish permissions to use.
102102
@param block The block to execute when the log in completes.
@@ -105,23 +105,23 @@ NS_ASSUME_NONNULL_BEGIN
105105
+ (void)logInInBackgroundWithPublishPermissions:(nullable NSArray PF_GENERIC(NSString *)*)permissions
106106
block:(nullable PFUserResultBlock)block;
107107

108-
/*!
109-
@abstract *Asynchronously* logs in a user using given Facebook Acess Token.
108+
/**
109+
*Asynchronously* logs in a user using given Facebook Acess Token.
110110
111-
@discussion This method delegates to the Facebook SDK to authenticate the user,
112-
and then automatically logs in (or creates, in the case where it is a new user) a <PFUser>.
111+
This method delegates to the Facebook SDK to authenticate the user,
112+
and then automatically logs in (or creates, in the case where it is a new user) a `PFUser`.
113113
114114
@param accessToken An instance of `FBSDKAccessToken` to use when logging in.
115115
116-
@returns The task that has will a have `result` set to <PFUser> if operation succeeds.
116+
@return The task that has will a have `result` set to `PFUser` if operation succeeds.
117117
*/
118118
+ (BFTask PF_GENERIC(PFUser *)*)logInInBackgroundWithAccessToken:(FBSDKAccessToken *)accessToken;
119119

120-
/*!
121-
@abstract *Asynchronously* logs in a user using given Facebook Acess Token.
120+
/**
121+
*Asynchronously* logs in a user using given Facebook Acess Token.
122122
123-
@discussion This method delegates to the Facebook SDK to authenticate the user,
124-
and then automatically logs in (or creates, in the case where it is a new user) a <PFUser>.
123+
This method delegates to the Facebook SDK to authenticate the user,
124+
and then automatically logs in (or creates, in the case where it is a new user) a `PFUser`.
125125
126126
@param accessToken An instance of `FBSDKAccessToken` to use when logging in.
127127
@param block The block to execute when the log in completes.
@@ -134,26 +134,26 @@ NS_ASSUME_NONNULL_BEGIN
134134
/// @name Linking Users
135135
///--------------------------------------
136136

137-
/*!
138-
@abstract *Asynchronously* links Facebook with read permissions to an existing <PFUser>.
137+
/**
138+
*Asynchronously* links Facebook with read permissions to an existing `PFUser`.
139139
140-
@discussion This method delegates to the Facebook SDK to authenticate
141-
the user, and then automatically links the account to the <PFUser>.
140+
This method delegates to the Facebook SDK to authenticate
141+
the user, and then automatically links the account to the `PFUser`.
142142
It will also save any unsaved changes that were made to the `user`.
143143
144144
@param user User to link to Facebook.
145145
@param permissions Array of read permissions to use when logging in with Facebook.
146146
147-
@returns The task that will have a `result` set to `@YES` if operation succeeds.
147+
@return The task that will have a `result` set to `@YES` if operation succeeds.
148148
*/
149149
+ (BFTask PF_GENERIC(NSNumber *)*)linkUserInBackground:(PFUser *)user
150150
withReadPermissions:(nullable NSArray PF_GENERIC(NSString *)*)permissions;
151151

152-
/*!
153-
@abstract *Asynchronously* links Facebook with read permissions to an existing <PFUser>.
152+
/**
153+
*Asynchronously* links Facebook with read permissions to an existing `PFUser`.
154154
155-
@discussion This method delegates to the Facebook SDK to authenticate
156-
the user, and then automatically links the account to the <PFUser>.
155+
This method delegates to the Facebook SDK to authenticate
156+
the user, and then automatically links the account to the `PFUser`.
157157
It will also save any unsaved changes that were made to the `user`.
158158
159159
@param user User to link to Facebook.
@@ -165,26 +165,26 @@ NS_ASSUME_NONNULL_BEGIN
165165
withReadPermissions:(nullable NSArray PF_GENERIC(NSString *)*)permissions
166166
block:(nullable PFBooleanResultBlock)block;
167167

168-
/*!
169-
@abstract *Asynchronously* links Facebook with publish permissions to an existing <PFUser>.
168+
/**
169+
*Asynchronously* links Facebook with publish permissions to an existing `PFUser`.
170170
171-
@discussion This method delegates to the Facebook SDK to authenticate
172-
the user, and then automatically links the account to the <PFUser>.
171+
This method delegates to the Facebook SDK to authenticate
172+
the user, and then automatically links the account to the `PFUser`.
173173
It will also save any unsaved changes that were made to the `user`.
174174
175175
@param user User to link to Facebook.
176176
@param permissions Array of publish permissions to use.
177177
178-
@returns The task that will have a `result` set to `@YES` if operation succeeds.
178+
@return The task that will have a `result` set to `@YES` if operation succeeds.
179179
*/
180180
+ (BFTask PF_GENERIC(NSNumber *)*)linkUserInBackground:(PFUser *)user
181181
withPublishPermissions:(NSArray PF_GENERIC(NSString *)*)permissions;
182182

183-
/*!
184-
@abstract *Asynchronously* links Facebook with publish permissions to an existing <PFUser>.
183+
/**
184+
*Asynchronously* links Facebook with publish permissions to an existing `PFUser`.
185185
186-
@discussion This method delegates to the Facebook SDK to authenticate
187-
the user, and then automatically links the account to the <PFUser>.
186+
This method delegates to the Facebook SDK to authenticate
187+
the user, and then automatically links the account to the `PFUser`.
188188
It will also save any unsaved changes that were made to the `user`.
189189
190190
@param user User to link to Facebook.
@@ -196,25 +196,25 @@ NS_ASSUME_NONNULL_BEGIN
196196
withPublishPermissions:(NSArray PF_GENERIC(NSString *)*)permissions
197197
block:(nullable PFBooleanResultBlock)block;
198198

199-
/*!
200-
@abstract *Asynchronously* links Facebook Access Token to an existing <PFUser>.
199+
/**
200+
*Asynchronously* links Facebook Access Token to an existing `PFUser`.
201201
202-
@discussion This method delegates to the Facebook SDK to authenticate
203-
the user, and then automatically links the account to the <PFUser>.
202+
This method delegates to the Facebook SDK to authenticate
203+
the user, and then automatically links the account to the `PFUser`.
204204
It will also save any unsaved changes that were made to the `user`.
205205
206206
@param user User to link to Facebook.
207207
@param accessToken An instance of `FBSDKAccessToken` to use.
208208
209-
@returns The task that will have a `result` set to `@YES` if operation succeeds.
209+
@return The task that will have a `result` set to `@YES` if operation succeeds.
210210
*/
211211
+ (BFTask PF_GENERIC(NSNumber *)*)linkUserInBackground:(PFUser *)user withAccessToken:(FBSDKAccessToken *)accessToken;
212212

213-
/*!
214-
@abstract *Asynchronously* links Facebook Access Token to an existing <PFUser>.
213+
/**
214+
*Asynchronously* links Facebook Access Token to an existing `PFUser`.
215215
216-
@discussion This method delegates to the Facebook SDK to authenticate
217-
the user, and then automatically links the account to the <PFUser>.
216+
This method delegates to the Facebook SDK to authenticate
217+
the user, and then automatically links the account to the `PFUser`.
218218
It will also save any unsaved changes that were made to the `user`.
219219
220220
@param user User to link to Facebook.
@@ -230,16 +230,16 @@ NS_ASSUME_NONNULL_BEGIN
230230
/// @name Unlinking Users
231231
///--------------------------------------
232232

233-
/*!
234-
@abstract Unlinks the <PFUser> from a Facebook account *asynchronously*.
233+
/**
234+
Unlinks the `PFUser` from a Facebook account *asynchronously*.
235235
236236
@param user User to unlink from Facebook.
237-
@returns The task, that encapsulates the work being done.
237+
@return The task, that encapsulates the work being done.
238238
*/
239239
+ (BFTask PF_GENERIC(NSNumber *)*)unlinkUserInBackground:(PFUser *)user;
240240

241-
/*!
242-
@abstract Unlinks the <PFUser> from a Facebook account *asynchronously*.
241+
/**
242+
Unlinks the `PFUser` from a Facebook account *asynchronously*.
243243
244244
@param user User to unlink from Facebook.
245245
@param block The block to execute.
@@ -251,12 +251,12 @@ NS_ASSUME_NONNULL_BEGIN
251251
/// @name Getting Linked State
252252
///--------------------------------------
253253

254-
/*!
255-
@abstract Whether the user has their account linked to Facebook.
254+
/**
255+
Whether the user has their account linked to Facebook.
256256
257257
@param user User to check for a facebook link. The user must be logged in on this device.
258258
259-
@returns `YES` if the user has their account linked to Facebook, otherwise `NO`.
259+
@return `YES` if the user has their account linked to Facebook, otherwise `NO`.
260260
*/
261261
+ (BOOL)isLinkedWithUser:(PFUser *)user;
262262

0 commit comments

Comments
 (0)