/WatchConnectivityTutorial

Example projects to demonstrate use of the WatchConnectivity framework in XCode 7

Primary LanguageSwift

WatchConnectivity Tutorial

This is a companion repo to the tutorial Keeping iOS and watchOS2 apps synchronized with WatchConnectivity at telliott.io. The completed app is a simple example of sending state from an iOS 9 app to a watchOS 2 app.

Screenshot of example app

There are separate branches for the Swift and Objective-C examples.

Please note: These examples were written under XCode 7 Beta 5. Should future betas or the official release of XCode 7 break these examples, I will endeavour to fix them, but if you encounter a bug, please do let me know by raising via an Issue or reach me via Twitter (@theotherelliott).

Acknowledgements

Thanks to @maxhasadhd for picking up on the viewDidLoad caveat.