Last active
December 18, 2015 02:49
-
-
Save manzke/5713860 to your computer and use it in GitHub Desktop.
Getting started with ECM Together on filenshare.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <filenshareSDK_OSX/Service.h> | |
| #import <filenshareSDK_OSX/Space.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Service *instance = [Service sharedInstance]; | |
| instance.debugMode = TRUE; | |
| instance.urlString = @"https://filenshare.com"; | |
| instance.userName = @"your.email@filenshare.com"; | |
| instance.password = @"your-password"; | |
| NSLog(@"%@", instance.token); | |
| NSMutableArray *projects = [instance getSpaces]; | |
| Space *space; | |
| //prints all your project names | |
| for (project in projects) { | |
| NSLog(@"%@", project.name); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment