Skip to content

Commit

Permalink
watchOS Support
Browse files Browse the repository at this point in the history
  • Loading branch information
sebyddd committed Jun 30, 2016
1 parent 54e57c1 commit 1ac2bed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions SDVersion-Demo/SDVersion/SDVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@
#endif

#endif

1 change: 0 additions & 1 deletion SDVersion-Demo/SDVersion/SDwatchOSVersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import "SDwatchOSVersion.h"

#import <sys/utsname.h>

@implementation SDwatchOSVersion
Expand Down
13 changes: 7 additions & 6 deletions SDVersion/SDVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
#define SDVersion_h

#if TARGET_OS_IOS
#import "SDiOSVersion.h"
#define SDVersion SDiOSVersion
#import "SDiOSVersion.h"
#define SDVersion SDiOSVersion
#elif TARGET_OS_WATCH
#import "SDwatchOSVersion.h"
#define SDVersion SDwatchOSVersion
#import "SDwatchOSVersion.h"
#define SDVersion SDwatchOSVersion
#elif TARGET_OS_MAC
#import "SDMacVersion.h"
#define SDVersion SDMacVersion
#import "SDMacVersion.h"
#define SDVersion SDMacVersion
#endif

#endif

1 change: 0 additions & 1 deletion SDVersion/SDwatchOSVersion/SDwatchOSVersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import "SDwatchOSVersion.h"

#import <sys/utsname.h>

@implementation SDwatchOSVersion
Expand Down

0 comments on commit 1ac2bed

Please sign in to comment.