A collection of Swift code examples demonstrating new watchOS 2 features like Taptic Engine, HealthKit, and animations.
watchOS-2-Sampler is an open-source Swift project that provides code examples for the new features introduced in watchOS 2. It demonstrates how to implement functionalities like Taptic Engine haptics, HealthKit data access, audio recording, and interactive messaging between Apple Watch and iPhone. The project serves as a practical reference for developers building apps for watchOS 2.
iOS and watchOS developers who are transitioning to watchOS 2 and need concrete examples to implement its new APIs. It's particularly useful for those building health, fitness, or media-rich Apple Watch applications.
Developers choose this project because it offers a curated, runnable collection of watchOS 2 examples in one place, saving time compared to searching through scattered documentation. It provides clear, practical implementations of complex features like sensor data access and WatchConnectivity.
Code examples for new features of watchOS 2.
Covers key watchOS 2 APIs like Taptic Engine haptics, HealthKit heart rate access, and Core Graphics drawing, as listed in the README's contents section.
Provides complete, buildable examples for each feature, allowing developers to immediately test and learn in Xcode 7, as per the build instructions.
Includes GIFs and screenshots for every example in the README, such as animations and picker styles, making functionality easy to visualize.
Has updates from developers like h oppenichu and kitasuke, adding examples for drawing paths and HealthKit, showing ongoing maintenance.
Requires Xcode 7 and watchOS 2, which are obsolete, leading to compatibility issues with modern macOS and Xcode versions.
As admitted in the README, some demos like Gyroscope access are not available due to API issues, and the Open System URL example has known problems.
Involves multiple configuration steps like enabling HealthKit, App Groups, and editing identifiers, which can be error-prone for quick testing.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.