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.

YoCelsius – Open Source iOS Weather App Featuring Great Animations

  •  
  •  
  •  
  •  
  •  

YoCelsius is an open source weather app from You Xian Ming for viewing weather with a beautiful highly animated interface.

YoCelsius uses many open source animation projects in order to achieve the effects seen within YoCelsius.

Here’s an animation from the readme showing YoCelsius in action:

YoCelsius

You can find the YoCelsius source code on Github here.

You can find YoCelsius in the app store here.

You Xian Ming has compiled the open source animation libraries used in the project into a single library that can be found on Github here.

A nice weather app example.

See more open source iOS apps.


  •  
  •  
  •  
  •  
  •  

SwiftGoo – Swift Code Example Using Core Image To Manipulate Images Like Goo

  •  
  •  
  •  
  •  
  •  

SwiftGoo is an open source example from Simon Gladman providing a simple tool with a Goo like image effect.

SwiftGoo is inspired by the Goo effect in Kai’s power tools from the early 90s and uses a Core Image warp kernel to move pixels based on a user’s touch.

This video shows SwiftGoo in action on the Mona Lisa:

You can find SwiftGoo on Github here.

You can read more about how the effect was created in just a few lines of code using CIWarpKernel on the FlexMonkey blog.

An interesting use of Core Image.


  •  
  •  
  •  
  •  
  •  

MMParallaxView – An Example Of The AppleTV Parallax Effect Ported To iOS And Swift

  •  
  •  
  •  
  •  
  •  

MPParallaxView is an open source example from DroidsOnRoids implementing the AppleTV parallax effect in Swift on iOS.

MPParallaxView shows how to create a similar parallax effect with touch based control and accelerometer based control.

You can also tweak some of the parameters within interface builder to see how they change the effect, and you can also switch between touch and the accelerometer in interface builder.

This image from the readme shows MPParallaxView in action:

MPParallaxView

You can find MPParallaxView on Github here.

A great parallax effect.

 


  •  
  •  
  •  
  •  
  •  

Swift Sound Processing Library For Apps That Require Pitch Detection Of Microphone Audio

  •  
  •  
  •  
  •  
  •  

TuningFork is an open source Swift sound processing library by Comyar Zaheri that simplifies the detection of pitch, frequency, and amplitude of audio.

Tuningfork works directly on microphone input so you can easily create apps that require pitch detection such as tuning apps.

Partita is an example open source instrument tuner app that utilizes tuning fork with a nice interface.

Here is an image showing Partita in action:

Partita

You can find the TuningFork sound processing library on Github here.

You can find the Partita instrument tuner source code on Github here.

An easy to use sound processing library great for tuning apps.


  •  
  •  
  •  
  •  
  •  

Example: Creating A Drawing App With Really Smooth Curves

  •  
  •  
  •  
  •  
  •  

A couple of years ago I mentioned a guide on really smooth user drawn lines inspired by the Paper app.

Here’s a smooth drawing example app and guide submitted by Simon Gladman that uses hermite spline interpolation to draw curves between touch points called SmoothSCribble.

The example provides two views allowing you to see how drawing is using Hermite Spline Interpolation to draw bezier curves, and another with regular drawing.

You can find SmoothScribble on Github here.

You can find the guide over on the FlexMonkey blog.

A nice example showing how to create a drawing app with smoothed out curves.


  •  
  •  
  •  
  •  
  •