Get Updates By E-mail 

iOS Development Source Code Examples

This section is for app source code examples and code snippets that do not come with an in-depth tutorial.

A Set Of Examples Showing How To Use Different Features Of WatchOS 2.0

Earlier this year I mentioned a set of example WatchKit projects demonstrating how to use a number of different WatchKit features.

Here’s a set of examples from shu223 showing how to use many of the different features with WatchOS 2.0.

The examples included cover use of the:

  • Accelerometer
  • Gyroscope
  • Pedometer
  • Heart Rate
  • Table Animations
  • Animated Properties
  • Audio Recording and Playback
  • WKINterfacePicker
  • Tapic Engine

An Open Source WatchKit App With A Great Interface

Last month I mentioned a nice collection of example projects for learning to use WatchKit.

Here’s a nice example of an open source app that uses WatchKit with a great interface called Gulps from FancyPixel.

Gulps is available on the app store, and was created so the user could quickly track and visualize their water consumption. The app uses the previously mentioned DPMeterView to create the custom water tracking meter and also AMWaveTransitions for the wavy transitions.

A Set Of Apple Watch Example Projects For Learning WatchKit

Earlier this year I mentioned a nice WatchKit code example of a time management app inspired by the Pomodoro technique.

Here’s a nice set of example projects from Konstantin Koval created to aid in learning WatchKit development.

The examples include:

Examples: Common Data Structures And Algorithms Implemented In Swift

Last year I mentioned a nice collection of design patterns implemented in Swift.

Here’s a project from Wayne Bishop that provides a number of examples of many different data structures implemented in Swift, and also a number of commonly seen algorithms.

Here’s a list of the algorithms within Swift Structures as stated within the readme:

Code Example: An Apple Watch Pomodoro Technique App With A Great UI

I’ve mentioned a number of resources for the Apple Watch, most recently an example of an Apple Watch app for controlling a Tesla car.

Here’s a Swift based code example from Kenny Tang providing a an Apple Watch Pomodoro technique inspired time management app with a number of nice features called Cherry.

Cherry has a nice clean interface design, features Core Data based persistence, and Glances for showing activity and allowing you to jump straight into the watch app.