Sunday, April 5, 2015

Inspecting WatchKit Catalog app.

there seems to be main three components :

1. Apple Watch Settings App 
2. Apple Watch app on the device (Watchkit Catalog)
3. Apple watch app running on the watch  (Watchkit Catalog WatchKit App)
4. Apple watch app extension (Watchkit Catalog Watchkit Extension)

WatchKit Catalog WatchKit App doesn’t seem to be doing much of the things exccept that it defines the ui for the app running on the device. The watckit extension does the major tasks which get invoked as the user interact with the app ui on the watch device. 

The Watch app running on the device is having interface.storyboard which defines all of the ui for the app. 

1. Opening the Watch Settings app (“Apple Watch”) shown the app installed on the watch. User can select each app listed in this app and select whether to show up on the Apple Watch device or not. 

2. Apple Watch app on the device. 
This app did not have much code except the Main xib file that contained bit of information on how to use the app. 

The interface.storyboard gives much detail of all the screens present in the Apple watch app.  

Upon running the app, AAPLNotificationController willActivate get called.  

Many of the Ui components are similar to the ones in 

WKInterfaceTable, => Table 
WKInterfaceLabel  => Label 
WKInterfaceButton => Button 
WKInterfaceSwitch => Switch 
WKInterfaceSlider => slider
WKInterfaceImage => image
WKInterfaceMap => Map 
WKInterfaceDevice => Gets device details 


References: 

No comments:

Post a Comment