Skip to content

Commit ebdf96c

Browse files
committed
Add simple usage in tvOS and watchOS examples
1 parent d6a130d commit ebdf96c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Examples/tvOS Example/AppDelegate.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ @implementation AppDelegate
1919
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
2020
{
2121
// Override point for customization after application launch.
22+
NSLog(@"%@", [ESNetworkInfo networkInterfaces]);
23+
2224
return YES;
2325
}
2426

Examples/watchOS Example Extension/ExtensionDelegate.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
//
88

99
#import "ExtensionDelegate.h"
10+
#import <ESFramework/ESFramework.h>
1011

1112
@implementation ExtensionDelegate
1213

1314
- (void)applicationDidFinishLaunching
1415
{
1516
// Perform any final initialization of your application.
17+
NSLog(@"%@", [ESNetworkInfo networkInterfaces]);
1618
}
1719

1820
- (void)applicationDidBecomeActive

0 commit comments

Comments
 (0)