forked from felix-dumit/PFUser-Digits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PFUser+Digits.h
30 lines (20 loc) · 1.17 KB
/
PFUser+Digits.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// PFUser+Digits.h
// NameBrain2
//
// Created by Felix Dumit on 11/6/14.
// Copyright (c) 2015 Felix. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Parse/Parse.h>
@interface PFUser (Digits)
+ (void)loginWithDigitsInBackground:(void (^)(PFUser *user, NSError *error))block;
+ (void)loginWithDigitsInBackgroundWithTitle:(NSString *)title backgroundColor:(UIColor *)backgroundColor accentColor:(UIColor *)accentColor completion:(void (^)(PFUser *user, NSError *error))block;
+ (BFTask *)loginWithDigitsInBackground;
+ (BFTask *)loginWithDigitsInBackgroundWithTitle:(NSString *)title backgroundColor:(UIColor *)backgroundColor accentColor:(UIColor *)accentColor;
- (void)linkWithDigitsInBackground:(void (^)(BOOL succeeded, NSError *error))block;
- (void)linkWithDigitsInBackgroundWithTitle:(NSString *)title backgroundColor:(UIColor *)backgroundColor accentColor:(UIColor *)accentColor completion:(void (^)(BOOL succeeded, NSError *error))block;
- (BFTask *)linkWithDigitsInBackground;
- (BFTask *)linkWithDigitsInBackgroundWithTitle:(NSString *)title backgroundColor:(UIColor *)backgroundColor accentColor:(UIColor *)accentColor;
- (BOOL)isLinkedWithDigits;
@end