WatchKit 开源小项目示例集锦

jopen 10年前

WatchKit 开源小项目示例集锦。是不可多得地学习 WatchKit 的示例式教程。

1. Counter


WatchKit 开源小项目示例集锦

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


WatchKit 开源小项目示例集锦 WatchKit 开源小项目示例集锦

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

AppsCommunication - Launching iOS app from watch

4. Time Color


AppsCommunication

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


AppsCommunication

Show different layout and UI elements.

7. Pages


Page


项目主页:
http://www.open-open.com/lib/view/home/1426066325123