High 20 iOS libraries written in Swift

[ad_1]

I gathered the very best open supply Swift frameworks on github that may make it easier to to hurry up cellular utility improvement in 2019.

iOS

Generally it is simply higher to make use of a Third-party framework as a substitute of reinventing the wheel, however there are some necessary questions that it’s best to ask first:

  • do I actually need a library?
  • what ought to I take advantage of?
  • is it going to be supported?
  • what if it is buggy? πŸ›

Including a dependency to your undertaking also can result in a technical debt. Do not be lazy, be taught the underlying expertise first (or at the least examine it or ask somebody who really is aware of about it) and when you’re positive that the framework is an effective selection, then give it an opportunity. On this checklist I’ve tried to gather future proof, trusted and well-known iOS libraries utilized by a lot of the developer group. ⭐️

Choice standards:

  • the framework needs to be written in Swift
  • the library shouldn’t be design particular (there may be cocoacontrols for that)
  • it must be a runtime framework not a toolkit (aka. import XY)
  • ought to have some package deal supervisor assist (Carthage, CocoaPods, SPM)
  • it has to assist the newest main model of Swift
  • should have at the least 1000 stars on github

🌎 Community associated libraries

Connecting to…

Alamofire

Alamofire is an HTTP networking library written in Swift.

Kingfisher

Kingfisher is a strong, pure-Swift library for downloading and caching photographs from the online. It offers you an opportunity to make use of a pure-Swift technique to work with distant photographs in your subsequent app.

Starscream

Starscream is a conforming WebSocket (RFC 6455) consumer library in Swift.


πŸ“¦ Server facet Swift

Listening…

Vapor

Vapor is a net framework for Swift. It offers a superbly expressive and simple to make use of basis in your subsequent web site, API, or cloud undertaking.

SwiftNIO

SwiftNIO is a cross-platform asynchronous event-driven community utility framework for speedy improvement of maintainable excessive efficiency protocol servers & shoppers.


πŸ”¨ Reactive Programming

Streams, observers, and so forth…

ReactiveCocoa

ReactiveSwift presents composable, declarative and versatile primitives which might be constructed across the grand idea of streams of values over time. These primitives can be utilized to uniformly characterize widespread Cocoa and generic programming patterns which might be basically an act of commentary.

RxSwift

Rx is a generic abstraction of computation expressed by way of Observable<Ingredient> interface. It is a Swift model of Rx.


πŸ¦‹ Animation

UIView.animated…

Hero

Hero is a library for constructing iOS view controller transitions. It offers a declarative layer on high of the UIKit’s cumbersome transition APIsβ€”making customized transitions a simple activity for builders.

Spring

A library to simplify iOS animations in Swift.


πŸ“ Auto format helpers

Anchors vs…

SnapKit

SnapKit is a DSL to make Auto Format simple on each iOS and OS X.

TinyConstraints

TinyConstraints is the syntactic sugar that makes Auto Format sweeter for human use.


❌ Testing

TDD FTW…

Fast

Fast is a behavior-driven improvement framework for Swift and Goal-C. Impressed by RSpec, Specta, and Ginkgo.

Nimble

Use Nimble to specific the anticipated outcomes of Swift or Goal-C expressions. Impressed by Cedar.


βš™οΈ Utilities

Did I miss one thing?

PromiseKit

PromiseKit is a considerate and full implementation of guarantees for any platform that has a swiftc.

CryptoSwift

CryptoSwift is a rising assortment of normal and safe cryptographic algorithms applied in Swift.

SwiftDate

SwiftDate is the definitive toolchain to control and show dates and time zones on all Apple platform and even on Linux and Swift Server Aspect frameworks like Vapor or Kitura.

SwiftyBeaver

Handy logging throughout improvement & launch in Swift 2, 3 & 4

Swinject

Swinject is a light-weight dependency injection framework for Swift.

SwiftyJSON

SwiftyJSON makes it simple to cope with JSON information in Swift.


In case you are in search of extra Swift libraries you may all the time discover the most favorited Swift repositories on github, and please bear in mind: all the time join your dependencies by way of a package deal supervisor. πŸ˜‰

[ad_2]

Leave a Reply