Skip to content

wangyanchang21/Watch-App-Sampler

Repository files navigation

Watch-App-Sampler

Platform Language License Contact

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 / 中文介绍

Getting Started

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

Author

License

Watch-App-Sampler is licensed under the MIT License.