Project: titanium
Issue TIMOB-19412: WatchOS2 template should demonstrate use of WatchConnectivity
Out of the box the WatchOS2 template does not connect with the Titanium app it is bundled with. The storyboard should have some buttons and the {{InterfaceController.m}} and {{.h}} some basic code to demonstrate how to import and use {{WatchConnectivity/WatchConnectivity.h}}. Current template InterfaceController: https://github.com/appcelerator/titanium_mobile/blob/master/templates/applewatch/watchos2/template/%7B%7BExtName%7D%7D%20WatchApp%20Extension/InterfaceController.m.ejs Kiat's sample app with basic UI and logic: https://github.com/cheekiatng/Titanium-WatchOS2-Sample-App/blob/master/extensions/SGDemoWatchOS2/SGDemoWatchOS2%20WatchApp%20Extension/InterfaceController.m
Story points: 5