Closed relatedcode closed 1 year ago
In your description
#import "VIMNetworking.h" . . . - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { VIMSessionConfiguration *config = [[VIMSessionConfiguration alloc] init]; config.clientKey = @"your_client_key"; config.clientSecret = @"your_client_secret"; config.scope = @"your_scope"; // E.g. "private public upload etc" config.keychainService = @"your_service"; config.keychainAccessGroup = @"your_access_group"; // Optional [VIMSession sharedSession setupWithConfiguration:config]; if ([[VIMSession sharedSession].account isAuthenticated] == NO) { NSLog(@"Authenticate..."); } else { NSLog(@"Already authenticated!"); } . . . }
the following row seems to be buggy:
[VIMSession sharedSession setupWithConfiguration:config];
I suppose it wanted to be:
[VIMSession setupWithConfiguration:config];
In your description
the following row seems to be buggy:
I suppose it wanted to be: