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.

Live – Live Streaming App Source Code Example

  • 4
  • 1
  •  
  •  
  •  

Live is an open source Swift and Javascript based source code example from Leo showing how to create a live broadcasting app.

Live shows how to set up an Nginx with RTMP and WebSocket to communicate between the server and client with both the server-side, and client side code included. Live features live streaming, and the ability to send “gifts” and likes in real-time.

These images from the readme show Live in action:

LiveLive

You can find Live on Github here.

A great example for those looking to create a live broadcasting app.


  • 4
  • 1
  •  
  •  
  •  

SaveTheDot – An Example Game Using The iOS 10 SDK’s UIViewPropertyAnimator

  •  
  •  
  •  
  •  
  •  

UIViewPropertyAnimator added with the iOS 10 SDK makes it easier to animate your views, and allows you to dynamically modify those animations before they finish.

Jake Lin has created a nice example using UIPropertyViewAnimator showing how to create a simple game with interactive animations called Save the Dot.

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

SaveTheDot

You can find SaveTheDot on Github here.

A nice guide on utilizing the iOS 10 SDK’s UIPropertyViewAnimator.


  •  
  •  
  •  
  •  
  •  

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.

 


  •  
  •  
  •  
  •  
  •