Skip to content

Update all NSNull generic types to use NSNumber instead. #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 21, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Parse/PFCloud.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ PF_ASSUME_NONNULL_BEGIN

@returns The task, that encapsulates the work being done.
*/
+ (BFTask *)callFunctionInBackground:(NSString *)function
withParameters:(PF_NULLABLE NSDictionary *)parameters;
+ (BFTask PF_GENERIC(id) *)callFunctionInBackground:(NSString *)function
withParameters:(PF_NULLABLE NSDictionary *)parameters;

/*!
@abstract Calls the given cloud function *asynchronously* with the parameters provided
Expand Down
2 changes: 1 addition & 1 deletion Parse/PFObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ NS_REQUIRES_PROPERTY_DEFINITIONS

@returns The task that encapsulates the work being done.
*/
- (BFTask PF_GENERIC(NSNull *)*)deleteEventually;
- (BFTask PF_GENERIC(NSNumber *)*)deleteEventually;

///--------------------------------------
/// @name Dirtiness
Expand Down
8 changes: 4 additions & 4 deletions Parse/PFUser.h
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ typedef void(^PFUserLogoutResultBlock)(NSError *PF_NULLABLE_S error);
and you application's 'Require Revocable Session' setting is turned off on `http://parse.com` app settings.
After returned `BFTask` completes - <PFSession> class and APIs will be available for use.

@returns An instance of `BFTask` that is completed when
revocable sessions are enabled and currentUser token is migrated.
@returns An instance of `BFTask` that is completed when revocable
sessions are enabled and currentUser token is migrated.
*/
+ (BFTask PF_GENERIC(NSNull *)*)enableRevocableSessionInBackground;
+ (BFTask *)enableRevocableSessionInBackground;

/*!
@abstract Enables revocable sessions and upgrades the currentUser session token to use revocable session if needed.
Expand Down Expand Up @@ -369,7 +369,7 @@ typedef void(^PFUserLogoutResultBlock)(NSError *PF_NULLABLE_S error);

@returns An instance of `BFTask`, that is resolved with `nil` result when logging out completes.
*/
+ (BFTask PF_GENERIC(NSNull *)*)logOutInBackground;
+ (BFTask *)logOutInBackground;

/*!
@abstract *Asynchronously* logs out the currently logged in user.
Expand Down