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.

FaceCropper – A Library That Crops Out All Faces From A Given Image Using The iOS 11 Vision API

  • 8
  • 2
  •  
  •  
  •  

FaceCropper is an open source library that utilizes the new iOS 11 Vision API to automatically find images within a photo from Taejun Kim
.

FaceCropper will automatically create new images containing each face found within a given image.

This snippet shows basic usage of FaceCropper:

let image = UIImage(named: "image_contains_faces")
image.face.crop { result in
  switch result {
  case .success(let faces):
    // When the <code>Vision</code> successfully find faces, and <code>FaceCropper</code> cropped it.
    // <code>faces</code> argument is a collection of cropped images.
  case .notFound:
    // When the image doesn't contain any face, <code>result</code> will be <code>.notFound</code>.
  case .failure(let error):
    // When the any error occured, <code>result</code> will be <code>failure</code>.
  }
}

This image from the readme shows an image with faces extracted:

FaceCropper

You can find FaceCropper on Github here.

A nice example of using the new vision API.


  • 8
  • 2
  •  
  •  
  •  

Kuery – A Swift 4 Library For Better Core Data Queries Using Smart Keypaths

  • 15
  • 2
  •  
  •  
  •  

Kuery is an open source Swift library for Core Data from Kishikawa Katsumi that utilizes Swift 4’s Smart Keypaths.

With Kuery you have type safety, and code completion for your queries unlike when using NSPredicate directly.

These snippets from the readme show a couple of simple queries using NSPredicate:

NSPredicate(format: "name == %@", "Katsumi")
NSPredicate(format: "age > %@", 20)

These are the same queries with Kuery:

Query(Person.self).filter(\Person.name == "Katsumi")
Query(Person.self).filter(\Person.age > 20)

You can find Kuery on Github here.

A nice way to perform Core Data queries.


  • 15
  • 2
  •  
  •  
  •  

Umbrella – Swift Library That Simplifies Working With Several Popular Analytics Providers

  •  
  •  
  •  
  •  
  •  

Umbrella is an open source Swift library providing an abstraction layer that simplifies working with several different Analytics platforms from Jeon Suyeol.

Umbrella provides support For Firebase, Flurry, Mixpanel, and Answers analytics. You can also create custom providers if required.

This code snippet shows how easy it is to register analytics providers and log an event:

let analytics = Analytics<myappevent>()
analytics.register(provider: FirebaseProvider())
analytics.register(provider: FlurryProvider())
analytics.register(provider: MyCustomProvider())
analytics.log(.purchase(currency: "USD", price: 9.99, transactionID: "20170709123456"))

You can find Umbrella on Github here.

A nice straightforward library for working with analytics.


  •  
  •  
  •  
  •  
  •  

Bender – A Swift Based Machine Learning Framework That Utilizes Metal With TensorFlow Model Support

  •  
  •  
  •  
  •  
  •  

Bender is an open source Swift library from Xmartlabs providing a machine learning abstraction library that utilizes the Metal for maximum performance.

As the readme states:

Bender allows you to easily define and run neural networks using the most common layers like Convolution, Pooling, FullyConnected and some normalizations among others. It is also flexible in the way it receives the parameters for these layers.

Bender provides support for TensorFlow currently including a TensorFlow adapter translating TensorFlow models supporting a subset of TensorFlow’s operations with more support coming.

You can find Bender on Github here.

A nice library for those looking to use neural networks on iOS devices, especially if you’ve worked with TensorFlow.


  •  
  •  
  •  
  •  
  •  

SwiftIcons – Swift Library Providing An Extensive Number Of Icons And Helpers For Easily Using Them

  •  
  •  
  •  
  •  
  •  

SwiftIcons is an open source Swift library submitted by Saurub Rhane providing an extensive collection of icons with helper functions allowing you to easily use them within your text, buttons, image views, and more.

The icons included within Swifticon are:

  • Dripicons
  • Emoji
  • Font awesome
  • Icofont
  • Ionicons
  • Linear icons
  • Map icons
  • Material icons
  • Open iconic
  • State
  • Weather

Overall there are thousands of icons that should fulfill any icon needs.

You can find SwiftIcons on Github here.

A great collection, and library of icons for use in Swift.


  •  
  •  
  •  
  •  
  •