Swift is currently the most popular programming language on Github and really has one of the most active communities that contribute to open source projects.
Open-source libraries help a lot with rapid development and can make life dramatically easier for your iOS apps development. It’s Hand-picked for efficiency and iOS animation libraries for this month.
When you want to abstract away and simplify networking in your app, Alamofire is the way to go. Alamofire is an HTTP networking library, built on top of NSURLSession and the Foundation URL Loading System. It nicely wraps networking mechanisms in an elegant and simple Swift interface.
Repo – https://github.com/Alamofire/A lamofire
If you’ve ever written an app that downloads information via an API, you’ve probably spent a lot of time writing code to map the response to your objects. ObjectMapper helps you convert a JSON response into your model object, and vice versa. In other words, it helps you map JSON to objects, and objects back to JSON. Nested objects are supported as well
It’s also worth to mention AlamofireObjectMapper, an Alamofire extension which converts JSON response data into Swift objects when using ObjectMapper.
Repo – https://github.com/Hearst-DD/O bjectMapper
Material Motion is a reactive animation library based on Core Animation, that lets you create composable animations.
It is API that allows you to easily chain and compose gestures and animations together to create beautiful interactions. It’s got a bunch of ready-to-use interaction types and a lot of examples in the repository.
Repo – https://github.com/material-mo tion/material-motion-swift
4. Bouncy Layout
Did you ever find yourself playing with the bouncy scroll in the Messages app? That’s the kind of small detail that makes your app fun to use, and it delights your users.
BouncyLayout is a UICollectionViewLayout that brings that bounciness to any collection view, whether it’s a chat app, a grid or a horizontal list! It’s really simple to use, just instantiate a BouncyLayout object, and give the object to a collection view. The collection view will handle the rest.
Repo – https://github.com/roberthein/ BouncyLayout
Animations — our favorite things to hate! Remember those lovely headaches from the last implementation of a badass animation?
Fortunately, the web is full of animation libraries that can provide some nice prebuilt animations. The only problem is that we don’t always want the exact same animation, and combining your custom animations with prebuilt library animations can be a real pain.
Repo – https://github.com/ willowtreeapps/spruce- ios
Let us know how you use this in your own apps. Read our
blog and be sure to keep in touch on Twitter and Facebook for updates, including announcements when we release additional educational resources.