WatchKit 开源小项目示例集锦
WatchKit 开源小项目示例集锦。是不可多得地学习 WatchKit 的示例式教程。
1. Counter
Counter - count things in your watch.
This project shows how to create basic project setup with UI and
how to use NSUserDefaults to save data
2. Data Sharing
Data Sharing - Sharing data between iOS app and watch app.
Table based UI fir both iOS and watch.
Project also demonstrate how to share common code
3. Apps Communication
AppsCommunication - Launching iOS app from watch
4. Time Color
Time Color - Display current time and a hex color for that time as a background
5. Shared Core Data
iPhone and WatchKit apps with shared CoreData database. Projects show how to setup core Data using Sure framework and share code and database between ios and watchKit apps.
Know Issues:
- Could not build Objective-C module ...Select the framework target that couldn't be build and build it. The project dependencies are not build in correct order :(
6. UI Playgrounds
Show different layout and UI elements.