Year 1 Issue 19

FlagKit

A delightful collection of flags to use in your apps, or anywhere else. The flags can be selected through a convenient UImage extension:

let countryCode = NSLocale.autoupdatingCurrentLocale().objectForKey(NSLocaleCountryCode) as! String
UIImage(flagImageWithCountryCode: countryCode)

FlagKit Australian Flag

Spectre

A BDD, behaviour driven development, testing framework written in Swift. You can use Spectre to write and run tests without depending on XCTest.

describe("a person") {
  let person = Person(name: "Kyle")

  $0.it("has a name") {
      try equal(person.name, "Kyle")

  }

  $0.it("returns the name as description") {
      try equal(person.description, "Kyle")

  }

}

Spectre is currently only supported by the Conche build system. Simply add a test_spec to your Conche podspec depending on Spectre and it will run your tests with conche test.

LevelsOfPressure

iOS app for iOS 8 and up, showing pressure sensitivity of touches for pre-6S hardware. There is no magic going on here, as the author says: “Yes, it’s really the major radius of the contact area of the touch, but close enough for you to play around with it.”.

LevelsOfPressure Screenshot

Note: this is not a library but a simple app, you’ll have to dig the relevant code out yourself… which is always fun 😄

Spring

A library to simplify iOS animations, in Swift. I provides a nice API to describe the animations a view or layer should go through, and comes with Interface Builder support:

Sprind IB support screenshot

Siesta

Siesta is an “iOS REST Client Framework”. It takes a different approach to networking shifting the focus from the network requests to the resources that the app is interested in. With Siesta your view controllers register themselves as observer on REST resources, and get notified when these change.

As the authors say: “Siesta puts the “ST” back in “REST”, embracing the notion of state transfer as an architectural principle, and decoupling the act of observing state from the act of transferring it.”

I appreciate the honest comparison between Siesta and the other major frameworks available for iOS, which shows how the author are not trying to sell you Siesta as the one size fits all solution, but just encourage you to try it out. And I encourage you to do the same.

SwiftRandom

A generator of random values. It supports the usual suspects like Int, Bool, String, but also more advanced entities like names, gender, and the roll of dices.

Note: the project doesn’t support CocoaPods nor Carthage yet. What a good occasion to open a PR and contribute!

PickerView

A custom replacement for UIPickerView aiming to provide a lot of customization options.

PickerView Demo

Dip

Dip is a dependency injection container framework for Swift. The README does a good job at explaining the advantages of dependency injection, an it is worth reading just for that.

ProvisioningProfileManager

Mac app for managing local Xcode provisioning profiles and, in particular, deleting them.

UIViewXXYBoom

Maybe this is not the most useful library you’ve ever seen, but it definitely is a cheerful one 😃

UIViewXXYBoom Demo