forked from lmmenge/WatchSpringboard-Prototype
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDemoWatchSpringboard.m
More file actions
45 lines (39 loc) · 984 Bytes
/
DemoWatchSpringboard.m
File metadata and controls
45 lines (39 loc) · 984 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// DemoWatchSpringboard.m
// iOS8
//
// Created by Jeremy Cope on 1/20/15.
// Copyright (c) 2015 Emma Technologies, L.L.C. All rights reserved.
//
#import "DemoWatchSpringboard.h"
#import "ViewController.h"
#import "LMViewControllerView.h"
@interface DemoWatchSpringboard ()
@property ViewController* app;
@end
@implementation DemoWatchSpringboard
- (id)init{
if (self = [super init]) {
_app = [self createDemoApp];
}
return self;
}
-(ViewController*)createDemoApp{
ViewController* app = [[ViewController alloc] init];
[app setView:[[LMViewControllerView alloc] init]];
return app;
}
#pragma mark - DemmoApp Delegate
-(NSString*)appName{
return @"Watch Springboard";
}
-(NSString*)appDetail{
return @"A prototype of what the Watch Springboard might look like on an iPhone.";
}
-(UIImage*)appImage{
return [UIImage imageNamed:@"WatchSpringboardScreenShot.png"];
}
-(UIViewController*)mainViewController{
return _app;
}
@end