Skip to content

Commit 6f05f70

Browse files
Alexious-shjeduan
authored andcommitted
ios sdk 4.22.0 (jeduan#481)
1 parent 7c0cc6b commit 6f05f70

File tree

102 files changed

+1990
-1796
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+1990
-1796
lines changed

src/ios/Bolts.framework/Bolts

100755100644
32.5 KB
Binary file not shown.

src/ios/Bolts.framework/Headers/BFAppLink.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFAppLinkNavigation.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFAppLinkResolving.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFAppLinkTarget.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFCancellationToken.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFCancellationTokenRegistration.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFCancellationTokenSource.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFExecutor.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFMeasurementEvent.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFTask+Exceptions.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFTask.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFTaskCompletionSource.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFURL.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/BFWebViewAppLinkResolver.h

100755100644
File mode changed.

src/ios/Bolts.framework/Headers/Bolts.h

100755100644
File mode changed.

src/ios/Bolts.framework/Info.plist

100755100644
-1 Bytes
Binary file not shown.

src/ios/Bolts.framework/Modules/module.modulemap

100755100644
File mode changed.

src/ios/FBSDKCoreKit.framework/FBSDKCoreKit

100755100644
1.17 MB
Binary file not shown.

src/ios/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h

100755100644
Lines changed: 62 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,20 @@
2222
#import <FBSDKCoreKit/FBSDKGraphRequestConnection.h>
2323
#import <FBSDKCoreKit/FBSDKMacros.h>
2424

25-
/*!
26-
@abstract Notification indicating that the `currentAccessToken` has changed.
27-
@discussion the userInfo dictionary of the notification will contain keys
25+
/**
26+
Notification indicating that the `currentAccessToken` has changed.
27+
28+
the userInfo dictionary of the notification will contain keys
2829
`FBSDKAccessTokenChangeOldKey` and
2930
`FBSDKAccessTokenChangeNewKey`.
3031
*/
3132
FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeNotification;
3233

33-
/*!
34-
@abstract A key in the notification's userInfo that will be set
34+
/**
35+
A key in the notification's userInfo that will be set
3536
if and only if the user ID changed between the old and new tokens.
36-
@discussion Token refreshes can occur automatically with the SDK
37+
38+
Token refreshes can occur automatically with the SDK
3739
which do not change the user. If you're only interested in user
3840
changes (such as logging out), you should check for the existence
3941
of this key. The value is a NSNumber with a boolValue.
@@ -45,74 +47,76 @@ FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeNotification;
4547
FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeUserID;
4648

4749
/*
48-
@abstract key in notification's userInfo object for getting the old token.
49-
@discussion If there was no old token, the key will not be present.
50+
key in notification's userInfo object for getting the old token.
51+
52+
If there was no old token, the key will not be present.
5053
*/
5154
FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeOldKey;
5255

5356
/*
54-
@abstract key in notification's userInfo object for getting the new token.
55-
@discussion If there is no new token, the key will not be present.
57+
key in notification's userInfo object for getting the new token.
58+
59+
If there is no new token, the key will not be present.
5660
*/
5761
FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeNewKey;
5862

5963

60-
/*!
61-
@class FBSDKAccessToken
62-
@abstract Represents an immutable access token for using Facebook services.
64+
/**
65+
Represents an immutable access token for using Facebook services.
6366
*/
6467
@interface FBSDKAccessToken : NSObject<FBSDKCopying, NSSecureCoding>
6568

66-
/*!
67-
@abstract Returns the app ID.
69+
/**
70+
Returns the app ID.
6871
*/
6972
@property (readonly, copy, nonatomic) NSString *appID;
7073

71-
/*!
72-
@abstract Returns the known declined permissions.
74+
/**
75+
Returns the known declined permissions.
7376
*/
7477
@property (readonly, copy, nonatomic) NSSet *declinedPermissions;
7578

76-
/*!
77-
@abstract Returns the expiration date.
79+
/**
80+
Returns the expiration date.
7881
*/
7982
@property (readonly, copy, nonatomic) NSDate *expirationDate;
8083

81-
/*!
82-
@abstract Returns the known granted permissions.
84+
/**
85+
Returns the known granted permissions.
8386
*/
8487
@property (readonly, copy, nonatomic) NSSet *permissions;
8588

86-
/*!
87-
@abstract Returns the date the token was last refreshed.
89+
/**
90+
Returns the date the token was last refreshed.
8891
*/
8992
@property (readonly, copy, nonatomic) NSDate *refreshDate;
9093

91-
/*!
92-
@abstract Returns the opaque token string.
94+
/**
95+
Returns the opaque token string.
9396
*/
9497
@property (readonly, copy, nonatomic) NSString *tokenString;
9598

96-
/*!
97-
@abstract Returns the user ID.
99+
/**
100+
Returns the user ID.
98101
*/
99102
@property (readonly, copy, nonatomic) NSString *userID;
100103

101104
- (instancetype)init NS_UNAVAILABLE;
102105
+ (instancetype)new NS_UNAVAILABLE;
103106

104-
/*!
105-
@abstract Initializes a new instance.
106-
@param tokenString the opaque token string.
107-
@param permissions the granted permissions. Note this is converted to NSSet and is only
107+
/**
108+
Initializes a new instance.
109+
- Parameter tokenString: the opaque token string.
110+
- Parameter permissions: the granted permissions. Note this is converted to NSSet and is only
108111
an NSArray for the convenience of literal syntax.
109-
@param declinedPermissions the declined permissions. Note this is converted to NSSet and is only
112+
- Parameter declinedPermissions: the declined permissions. Note this is converted to NSSet and is only
110113
an NSArray for the convenience of literal syntax.
111-
@param appID the app ID.
112-
@param userID the user ID.
113-
@param expirationDate the optional expiration date (defaults to distantFuture).
114-
@param refreshDate the optional date the token was last refreshed (defaults to today).
115-
@discussion This initializer should only be used for advanced apps that
114+
- Parameter appID: the app ID.
115+
- Parameter userID: the user ID.
116+
- Parameter expirationDate: the optional expiration date (defaults to distantFuture).
117+
- Parameter refreshDate: the optional date the token was last refreshed (defaults to today).
118+
119+
This initializer should only be used for advanced apps that
116120
manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager`
117121
along with `+currentAccessToken`.
118122
*/
@@ -125,38 +129,41 @@ FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeNewKey;
125129
refreshDate:(NSDate *)refreshDate
126130
NS_DESIGNATED_INITIALIZER;
127131

128-
/*!
129-
@abstract Convenience getter to determine if a permission has been granted
130-
@param permission The permission to check.
132+
/**
133+
Convenience getter to determine if a permission has been granted
134+
- Parameter permission: The permission to check.
131135
*/
132136
- (BOOL)hasGranted:(NSString *)permission;
133137

134-
/*!
135-
@abstract Compares the receiver to another FBSDKAccessToken
136-
@param token The other token
137-
@return YES if the receiver's values are equal to the other token's values; otherwise NO
138+
/**
139+
Compares the receiver to another FBSDKAccessToken
140+
- Parameter token: The other token
141+
- Returns: YES if the receiver's values are equal to the other token's values; otherwise NO
138142
*/
139143
- (BOOL)isEqualToAccessToken:(FBSDKAccessToken *)token;
140144

141-
/*!
142-
@abstract Returns the "global" access token that represents the currently logged in user.
143-
@discussion The `currentAccessToken` is a convenient representation of the token of the
145+
/**
146+
Returns the "global" access token that represents the currently logged in user.
147+
148+
The `currentAccessToken` is a convenient representation of the token of the
144149
current user and is used by other SDK components (like `FBSDKLoginManager`).
145150
*/
146151
+ (FBSDKAccessToken *)currentAccessToken;
147152

148-
/*!
149-
@abstract Sets the "global" access token that represents the currently logged in user.
150-
@param token The access token to set.
151-
@discussion This will broadcast a notification and save the token to the app keychain.
153+
/**
154+
Sets the "global" access token that represents the currently logged in user.
155+
- Parameter token: The access token to set.
156+
157+
This will broadcast a notification and save the token to the app keychain.
152158
*/
153159
+ (void)setCurrentAccessToken:(FBSDKAccessToken *)token;
154160

155-
/*!
156-
@abstract Refresh the current access token's permission state and extend the token's expiration date,
161+
/**
162+
Refresh the current access token's permission state and extend the token's expiration date,
157163
if possible.
158-
@param completionHandler an optional callback handler that can surface any errors related to permission refreshing.
159-
@discussion On a successful refresh, the currentAccessToken will be updated so you typically only need to
164+
- Parameter completionHandler: an optional callback handler that can surface any errors related to permission refreshing.
165+
166+
On a successful refresh, the currentAccessToken will be updated so you typically only need to
160167
observe the `FBSDKAccessTokenDidChangeNotification` notification.
161168
162169
If a token is already expired, it cannot be refreshed.

0 commit comments

Comments
 (0)