https://github.com/wangyanchang21/Watch-App-Sampler
⌚️A nice tutorial app for WatchOS, in swift 5.0.
https://github.com/wangyanchang21/Watch-App-Sampler
apple-watch complications healthkit ios swift watchkit watchos
Last synced: 5 months ago
JSON representation
⌚️A nice tutorial app for WatchOS, in swift 5.0.
- Host: GitHub
- URL: https://github.com/wangyanchang21/Watch-App-Sampler
- Owner: wangyanchang21
- License: mit
- Created: 2018-09-07T07:15:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T15:59:17.000Z (over 2 years ago)
- Last Synced: 2024-08-05T16:16:40.676Z (9 months ago)
- Topics: apple-watch, complications, healthkit, ios, swift, watchkit, watchos
- Language: Swift
- Homepage:
- Size: 34.6 MB
- Stars: 259
- Watchers: 13
- Forks: 46
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-apple-watch - Watch App Sampler
README
# Watch-App-Sampler
[]()
[](http://swift.org)
[](http://mit-license.org)
[](https://github.com/wangyanchang21)A nice tutorial app for WatchOS, in swift.
Watch-App-Sampler has supported WatchOS 5.0 and Swift 5.0.
If you want to learn how to develop WathKit app, this tutorial app is the best choice.
[English introduce](https://github.com/wangyanchang21/Watch-App-Sampler) / [中文介绍](https://github.com/wangyanchang21/Watch-App-Sampler/blob/master/README_chinese.md)

## Getting Started
- [Apple Watch Programming Guide](https://developer.apple.com/library/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/index.html) - Official apple watch programming guide by Apple.
- [WatchOS开发教程](https://wangyanchang21.github.io/2018/WatchOS%E5%BC%80%E5%8F%91%E6%95%99%E7%A8%8B%E4%B9%8B%E4%B8%80/)## Contents
### Table
Table and ItemRow.

### Notification
Notification development contains static and dynamic Interface.

### Complications
There are 33 templates for apple watch.

### Connectivity
Make a connectivity between watch to iPhone, send and recieve messages.

### Net Request
Show image until it has been download completely.

### Menus
Menus and actions.

### GestureRecognizer
The type of Gesture, including TapGesture, LongPressGesture, SwipeGesture, PanGesture.

### Alert
Three alert style and AlertAction.

### Picker
The Style of picker and PickerItem.

Progress made by picker and images.

### Animation
Make a animation to WKInterfaceObject.

### Text input and Voice input
Input text in Voice or handwriting.

### Voice Player

### Movie Player

### Inline Movie Player

### Recorder
Record voice and save voice.

### Tel or SMS
Call or send SMS by watch.

### Accelerometer
Monitor the detail of accelermeter on watch.

### Device Motion
Monitor many types of device data on watch, like gravity, attitude, magnetism, rotationRate, acceleration...

### Location
Get the details of your attitude, floor, speed...

### Map
Use the map feature on your watch.

### HealthKit
Read your heart rate by watch, and record the data.

### Motion Activity
Read your motion activity, which is is walking, running, or cycling...

### Quatz2D
Drow complex image by Quatz2D on watch.

### Gradation
Drow gradient image by UIGraphic.

### Others
Data Storage, Background Task, Types of Haptic, Pedometer...
## Prerequisites
- Swift 5.0
- Xcode 10+
- iOS 10.0+
- watchOS 5.0+## Thanks
- [watchOS-2-Sampler](https://github.com/shu223/watchOS-2-Sampler) gave me some inspiration.
## Author
- DCSnail, [wangyanchang21](https://github.com/wangyanchang21)
## License
Watch-App-Sampler is licensed under the [MIT License](https://github.com/wangyanchang21/Watch-App-Sampler/blob/master/LICENSE).