Get Updates By E-mail 

iOS Development Libraries

This category mainly features open source libraries for iOS development. Any library relevant for iOS developers can be posted here, that includes libraries specifically for game development on the iPhone and iPad.

If you would like to add a library please submit it here.

SwiftTweaks – iOS Swift Library For Tweaking User Interfaces On Device

  • 3
  •  
  •  
  •  
  •  

SwiftTweaks is an open source library that allows tweaking of your user interface on device from Khan Academy. This allows you to try out those changes without needing to recompile.

SwiftTweaks allows you to set up different variables for tweaking which when bring up the Swift Tweak interface you can then tweak those variables to make sure your UI looks right when on device.

SwiftTweaks was inspired by FBTweaks, but was designed specifically for apps written in Swift.

This animation from the readme shows SwiftTweaks in action:

SwiftTweaks

You can find SwiftTweaks on Github here.

A nice time saving library for tweaking user interfaces.


  • 3
  •  
  •  
  •  
  •  

Render – A React Inspired Swift Library For Creating iOS UIKit User Interfaces

  •  
  •  
  •  
  •  
  •  

Render is a Swift library submitted by Alex Usbergo inspired by Facebook’s React for working with UIKit user interfaces.

Render uses a component based approach, but you can use plain UIView’s within components and vice versa.  Render provides a layout engine based on Flexbox.  Performance is good, and render can be used within scrolling cells.  Render’s components can be defined in JSON or XML and loaded remotely.

For live refresh Render works with the injection plugin.

Render

You can find Render on Github here.

A nice React inspired library for creating UIKit user interfaces.


  •  
  •  
  •  
  •  
  •  

TempiBeatDetection – A Swift Library For Real-Time Song Beat Detection

  •  
  •  
  •  
  •  
  •  

TempiBeatDetection is an open source Swift library from John Scalo that allows for real-time and audio file beat detection.

TempiBeatDetection utilizes the Accelerate Framework and AVFoundation for audio processing, and in testing does a very good job of detecting song beats with good performance.

Here’s an image from the readme showing off the included example iPhone app:
TempiBeatDetection

You can find TempiBeatDetection on Github here.

A great library for any apps that utilize beat detection.


  •  
  •  
  •  
  •  
  •  

Sensitive – Swift Library That Dramatically Simplifies Implementing Common Gesture Support

  •  
  •  
  •  
  •  
  •  

Sensitive is an open source Swift library from Igor Matyushkin that provides a very simple syntax for handling the most common gestures.

With Sensitive you don’t need to worry about utilizing UIGestureRecognizer but rather simply add the Sensitive gesture handlers to a UIView, set your callback, and configure some variables.

This example shows how one would set up a simple double tap gesture recognizer that changes the view color.:

let view = UIView()

view.onTap({ (tapGestureRecognizer) -> Void in
    // Handle tap on view
view.backgroundColor = .greenColor()
}) { (tapGestureRecognizer) -> Void in
    // Configure gesture recognizer
    tapGestureRecognizer.numberOfTouchesRequired = 1
    tapGestureRecognizer.numberOfTapsRequired = 2
}

Within sensitive are gesture handlers for tap, swipe, pan, pinch, and rotation gestures.

You can find Sensitive on Github here.

A nice simple way to handle gestures with a clean Swift syntax.


  •  
  •  
  •  
  •  
  •  

CameraManager – Swift Library That Simplifies Managing The iOS Camera Configuration

  •  
  •  
  •  
  •  
  •  

Camera Manager is an open source Swift library from Imaginary Cloud that makes setting up the iOS camera for use with a custom camera view dead simple.

With Camera Manager configuring the camera is as simple as changing variable values, and there are also helpers to quickly check the current state of various camera options.

This snippet shows how one could switch the camera flash mode:

cameraManager.flashMode = .Off
cameraManager.flashMode = .On
cameraManager.flashMode = .Auto

You can find CameraManager on Github here.

A great library for managing the iOS camera.


  •  
  •  
  •  
  •  
  •