· 6 years ago · Nov 21, 2018, 02:22 AM
1//
2// TwitterHelper.h
3//
4// Created by Daniel Thorpe on 23/05/2012.
5// Copyright (c) 2012 Blinding Skies Limited. All rights reserved.
6//
7
8#import <Foundation/Foundation.h>
9#import <ACAccounts/ACAccounts.h>
10
11extern const struct TwitterCredentials {
12 __unsafe_unretained NSString *oauthToken;
13 __unsafe_unretained NSString *oauthTokenSecret;
14 __unsafe_unretained NSString *userId;
15 __unsafe_unretained NSString *screenName;
16} TwitterCredentials;
17
18@interface TwitterHelper : NSObject
19
20+ (void)getCredentialsForAccount:(ACAccount *)account
21 completion:(void(^)(NSDictionary *credentials, NSError *error))completion;
22
23
24@end