All Projects → shu223 → Watchos 2 Sampler

shu223 / Watchos 2 Sampler

Licence: mit
Code examples for new features of watchOS 2.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Watchos 2 Sampler

Swiftyrsa
RSA public/private key encryption in Swift
Stars: ✭ 894 (-15.18%)
Mutual labels:  watchos
Swiftui Grid
🚀 SwiftUI Grid layout with custom styles
Stars: ✭ 872 (-17.27%)
Mutual labels:  watchos
Reddit Swiftui
A cross-platform Reddit client built in SwiftUI
Stars: ✭ 967 (-8.25%)
Mutual labels:  watchos
Ratelimit
Simple utility for only executing code every so often.
Stars: ✭ 918 (-12.9%)
Mutual labels:  watchos
Ios Cmake
A CMake toolchain file for iOS, macOS, watchOS & tvOS C/C++/Obj-C++ development
Stars: ✭ 844 (-19.92%)
Mutual labels:  watchos
Life
Conway's Game of Life written in Swift 👾
Stars: ✭ 21 (-98.01%)
Mutual labels:  watchos
Flexibleimage
A simple way to play with the image!
Stars: ✭ 798 (-24.29%)
Mutual labels:  watchos
Fugen
Command line tool for exporting resources and generating code from your Figma files
Stars: ✭ 41 (-96.11%)
Mutual labels:  watchos
Procedurekit
Advanced Operations in Swift
Stars: ✭ 863 (-18.12%)
Mutual labels:  watchos
Lift
Lift is a Swift library for generating and extracting values into and out of JSON-like data structures.
Stars: ✭ 33 (-96.87%)
Mutual labels:  watchos
Apprepositorytemplate
The easiest way to start a new application project without any manual configuration
Stars: ✭ 24 (-97.72%)
Mutual labels:  watchos
Sdwebimageswiftui
SwiftUI Image loading and Animation framework powered by SDWebImage
Stars: ✭ 844 (-19.92%)
Mutual labels:  watchos
Xcconfigs
Collection of common Xcode configuration files. 🛠
Stars: ✭ 28 (-97.34%)
Mutual labels:  watchos
Swiftui Animation Library
SwiftUI Animation Library. Useful SwiftUI animations including Loading/progress, Looping, On-off, Enter, Exit, Fade, Spin and Background animations that you can directly implement in your next iOS application or project. The library also contains huge examples of spring animations such as Inertial Bounce, Shake, Twirl, Jelly, Jiggle, Rubber Band, Kitchen Sink and Wobble effects. Browse, find and download the animation that fits your needs.
Stars: ✭ 898 (-14.8%)
Mutual labels:  watchos
Sqlitelib
Easily build a custom SQLite static library for use in macOS and iOS frameworks and apps.
Stars: ✭ 38 (-96.39%)
Mutual labels:  watchos
Giovanni
A Gameboy Emulator for the Apple Watch
Stars: ✭ 823 (-21.92%)
Mutual labels:  watchos
Ios Icon Generator
This script is use to generate iOS/macOS/watchOS app icons more easier.
Stars: ✭ 878 (-16.7%)
Mutual labels:  watchos
Robin
A multi-platform notification scheduler written in Swift.
Stars: ✭ 46 (-95.64%)
Mutual labels:  watchos
Lifxhttpkit
A nice iOS/watchOS/macOS framework for interacting with the LIFX HTTP API that has no external dependencies.
Stars: ✭ 38 (-96.39%)
Mutual labels:  watchos
Queuer
Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD).
Stars: ✭ 964 (-8.54%)
Mutual labels:  watchos

watchOS-2-Sampler

Language License Twitter

Code examples for new features of watchOS 2.

Requirements

  • Xcode 7
  • iOS 9 and watchOS 2

How to build

  • Change the "Team" setting on [General] for each target.
  • Enable HealthKit for the parent app and WatchKit extension target.
  • Enable App Groups for the Watch app and WatchKit extension target.
    • Edit "AudioRecAndPlayInterfaceController" with your group identifier.
  • Build & Run with Xcode 7

Contents

Animated Properties

Animate width/height, alpha and alignments.

Table Animations

Insert and remove animations for WKInterfaceTable.

Picker Styles

WKInterfacePicker styles catalog.

Taptic Engine

Access to the Taptic engine using playHaptic method.

Audio Rec & Play

Record and play audio.

Animation with Digital Crown

Coordinated Animations with WKInterfacePicker and Digital Crown.

Draw Paths (Updated by hoppenichu)

Draw paths with Core Graphics.

Gradations (Updated by hoppenichu)

Draw gradations with Core Graphics.

Heart Rate (Created by kitasuke)

Access to Heart Rate data using HealthKit.

Accelerometer

Access to Accelerometer data using CoreMotion.

Gyroscope (Not Available)

Access to Gyroscope data using CoreMotion.

These APIs are available, however CMMotionManager always returns false for gyroAvailable. So actually it's not available for now.

Device Motion (Not Available)

Access to DeviceMotion data using CoreMotion.

These APIs are available, however CMMotionManager always returns false for deviceMotionAvailable. So actually it's not available for now.

Pedometer

Counting steps demo using CMPedometer.

Alert

Present an alert or action sheet.

Interactive Messaging

Sending message to phone and receiving from phone demo with WatchConnectivity.

Audio File Player

Play an audio file with WKAudioFilePlayer.

Need to pair a Bluetooth headset on your Apple Watch.

Open System URL

Open Tel or SMS app using openSystemURL: method.

Network Access (Created by KAMEDAkyosuke)

Get an image data from network using NSURLSession.

Known Issues

  • Open System URL
    • Phone doesn't launch...
    • It's based on the Apple's document.
    • sms: works with same way. I have no idea why it doesn't work!

iOS-9-Sampler

You can check the examples for iOS 9 new features on iOS-9-Sampler!!

Author

Shuichi Tsutsumi

iOS freelancer in Japan. Welcome works from abroad!

Special Thanks

The icon is designed by Okazu.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].