-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ovidiu Nitan
committed
Sep 25, 2015
1 parent
37deab5
commit c89409e
Showing
3 changed files
with
1 addition
and
24 deletions.
There are no files selected for viewing
This file contains 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
Binary file modified
BIN
-16.5 KB
(66%)
TelepatProject.xcworkspace/xcuserdata/ovidiu.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,29 +28,6 @@ @implementation ViewController | |
- (void)viewDidLoad { | ||
[super viewDidLoad]; | ||
// Do any additional setup after loading the view, typically from a nib. | ||
|
||
// Set the API key and the current application ID | ||
// [[Telepat client] setApiKey:@"API_KEY"]; | ||
// [[Telepat client] setAppId:@"APP_ID"]; | ||
// | ||
// [[Telepat client] login:@"[email protected]" password:@"mysecurepassword" withBlock:^(TelepatResponse *response) { | ||
// [[Telepat client] getContextsWithBlock:^(TelepatResponse *response) { | ||
// NSArray *contexts = [response getObjectOfType:[TelepatContext class]]; | ||
// TelepatContext *firstContext = contexts[0]; | ||
// TelepatChannel *firstChannel = [[Telepat client] subscribe:firstContext modelName:@"events" classType:[Event class] withBlock:^(TelepatResponse *response) { | ||
// NSLog(@"Subscribed to %@", firstContext.name); | ||
// }]; | ||
// | ||
// Event *newEvent = [[Event alloc] init]; | ||
// newEvent.text = @"Hello world!"; | ||
// newEvent.image = @"telepat_image.png"; | ||
// | ||
// [firstChannel add:newEvent]; | ||
// | ||
// Event *modifiedEvent = [[Event alloc] initWithDi]; | ||
// }]; | ||
// | ||
// }]; | ||
} | ||
|
||
- (void)didReceiveMemoryWarning { | ||
|