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.

SwiftCheck – A Swift Library For Generating Testing Data

  • 11
  • 1
  •  
  • 1
  •  

QuickCheck is an open source Swift library from TypeLift inspired by the QuickCheck Haskell library that automatically generates random data for testing program properties.

QuickCheck has a very concise syntax, and what makes QuickCheck different is that it can shrink test cases to find exactly what is causing a test to fail.

As the readme states:

What makes QuickCheck unique is the notion of shrinking test cases. When fuzz testing with arbitrary data, rather than simply halt on a failing test, SwiftCheck will begin whittling the data that causes the test to fail down to a minimal counterexample.

You can find SwiftCheck on Github here.

A great library for testing.

 


  • 11
  • 1
  •  
  • 1
  •  

Kakapo – Open Source Swift Library For Dynamically Mocking Server Responses

  • 7
  • 1
  •  
  • 1
  •  

Kakapo is an open source Swift based library allowing you to mock server behaviors and responses from Devlucky.

Kakapo allows for dynamic mocking library with an extensive feature set for replicating backend apis and logic. Kakapo gives complete control and does not rely on recorded requests. JSONAPI is fully supported.

This code snippet shows how one could create a set of dynamic responses using a database with Kakapo:

let db = KakapoDB()
db.create(User.self, number: 20)

router.get("/users") { request in
  return db.findAll(User.self)
}

You can find Kakapo on Github here.

A great library for mocking server responses.


  • 7
  • 1
  •  
  • 1
  •  

React Game – React Native And ReactJS Library For Game Creation

  • 10
  • 2
  •  
  •  
  •  

React Game Kit is an open source library providing a number of functions that simplify game creation with React Native.

With React Game Kit you can easily manage the game loop, draw sprites, create animations, and add physics. There is also support for tilemaps defined with a simple array syntax.

You can find React Game Kit on Github here.

You can find a demo with further explanation on the Surge site.

A nice library for those looking to create games with React Native.


  • 10
  • 2
  •  
  •  
  •  

Postal – A Swift Library For Working With Common Email Providers

  •  
  •  
  •  
  •  
  •  

Postal is an open source Swift library from Snips for accessing common e-mail providers.

With Postal you can easily connect to, search through, and fetch e-mails from an e-mail account.

This snippet from the readme shows how to use Postal to connect to an e-mail account:

let postal = Postal(configuration: .icloud(login: "[email protected]", password: "mypassword"))
postal.connect { result in
        switch result {
        case .Success:
            print("success")
        case .Failure(let error):
            print("error: (error)")
        }
}

You can find Postal on Github here.

A nice library for easily working with e-mail in Swift.


  •  
  •  
  •  
  •  
  •  

TPPDF – A Swift Library With An Extensive Feature Set For Generating PDF Files

  •  
  •  
  •  
  •  
  •  

TPPDF is an open source Swift based library by Philip Nidertscheider providing an extensive feature set for creating PDF files.

TPPDF supports images, attributed strings, tables, different page sizes, dynamic layouts, tables, headers and footers and more.

This example from the readme shows how simple it is to create a PDF file from some text with an A4 page size:

let pdf = PDFGenerator(format: .A4)
pdf.addText(.FooterCenter, text: "Created using TPPDF for iOS.")

You can find TPPDF on Github here.

A great library for those looking to create PDF files on iOS.


  •  
  •  
  •  
  •  
  •