latest Awesome Swift

A collaborative list of awesome Swift resources,inspired by awesome-python and listed onawesome-awesomeness.

Feel free to contribute!

    - [Testing](#testing)
    - [UI](#ui)
    - [Utility](#utility)
    - [Video](#video)
    - [Webserver](#webserver)
- [Misc](#misc)
- [Tools](#tools)
    - [Documentation](#documentation)

Demo Apps

Some interesting demo/poc apps written in swift.

iOS

A list of iOS swift demo apps

  • 2048 – 2048 demo game in swift.
  • Alarm – an alarm app in swift.
  • Chat – chat like app implementation in swift.
  • CloudKit-To-Do-List – a cloudkit based to do list.
  • DeckRocket – deckrocket porting in swift.
  • Edhita – text edit app.
  • Eidolon – The Artsy auction kiosk app.
  • firefox-ios – firefox for iOS being developed by Mozilla.
  • Federal Open Data – Get federal Open Data using the Federal Data SDK
  • FlappySwift – flappy bird clone in swift.
  • Gulps – OS app for iOS and apple watch to monitor water consumption.
  • HackerNews – hackernews reader app written in swift.
  • HausClock – chess stile clock app in swift.
  • HomeKitDemo – homekit demo app;
  • iContactU – delivered on Apple Store: reminds you to contact people you ought to.
  • KeychainDemo – keychain sharing between an App and it’s share extension
  • LayerPlayer – explores CALayer and subclasses; written in Swift; also on App Store
  • MyAwesomeChecklist – checklist app in swift.
  • Pocket Forecast – typhoon weather example
  • ReactiveSwiftFlickrSearch – an MVVM & ReactiveCocoa Flickr search app in swift.
  • Round & Split – a tip calculator in swift
  • SwiftDemo – a collection of demo for swift.
  • SwiftFlickrApp – flickr app written in swift.
  • SwiftHN – hacker news app in swift.
  • SwiftWeather – a nice weather app written in swift.
  • TextEthan – a clone of TextEthan, a messaging app that allows anyone to message you
  • Task – a task app written in Swift that is published in the app store.
  • The Oakland Post – a full-fledged, 100%-Swift (minus dependencies) news reader.
  • Valio – event time table app in swift.
  • Walk Tracker – GPS Walk Tracking app with Core Data

OS X

A list of OSX swift demo apps

  • clock-saver – a clock screen saver for osx written in swift.
  • dshb – OS X system monitor in Swift
  • Helium – floating web browser

Dependency Managers

Dependency manager software for swift.

  • carthage – a new dependency manager for swift.
  • cocoapods – the most used dependency manager for Objective-C (swift is still in porting).

Guides

An awesome list of swift related guides.

Style Guides

  • GitHub – Style guide & coding conventions for Swift projects.
  • Raywenderlich – Raywenderlich swift guide, a must read.
  • SlideShare (LinkedIn) – Style guides that SlideShare (LinkedIn) uses for their Swift iOS app.

Editor Support

Support for your favorite editors.

Vim

  • swift-vim – play swift with vim editor.
  • vim-swift – adds swift support to vim. It covers syntax, indenting, and more.
  • vim-polyglot – language pack for vim that includes vim-swift.

Libs

Here you can find a list of snippets and libs for your swift projects.

Audio

Libs to work with audio

  • MusicKit – A framework for composing and transforming music in Swift

API

Quick libs to get access to third party API services

Colors

Interesting snippets related to color management and utility.

  • HexColor – define UIColors as hex integers.
  • PrettyColors – Styles and colors text in the Terminal with ANSI escape codes. Conforms to ECMA Standard 48
  • RandomColorSwift – An attractive color generator for Swift. Ported from randomColor.js.
  • UIColor-Hex-Swift – an hex to uicolor converter.
  • UIColorWDUtils – extension for hex RGB(A).

Cryptography

Deal with cryptography method easily in swift

Data Management

Core Data

No more pain with Core Data, here listed some interesting lib to handle data management.

  • AERecord – super awesome Core Data wrapper library for iOS written in Swift.
  • AlecrimCoreData – a simple CoreData wrapper library written in Swift.
  • JSQCoreDataKit – A swifter Core Data stack.
  • SugarRecord – an easy with to work with coredata and realm.
  • SuperRecord – A small set of utilities to make working with CoreData and Swift a bit easier.
  • QueryKit – an easy way to play with coredata filtering within your swift projects.

JSON

Struggling using json data? Here you are some interesting way to handle it.

  • Argo – Json parsing library
  • json-swift – A basic library for working with JSON in swift.
  • JSONHelper – lightning fast JSON deserialization and value conversion library for iOS & OS X written in swift.
  • ObjectMapper – JSON object mapper.
  • Pistachio – Generic model framework for Swift.
  • SwiftyJSON – A lib for JSON in swift with error handling.
  • SwiftMapper – JSON Mapper.
  • SwiftJSONParser – JSON parser.

SQLite

Are you interested in storing your app data using SQLite? Here some interesting resources.

  • SQLite.swift – A pure Swift framework wrapping SQLite3. Small. Simple. Safe.
  • SQLiteDB – sqlite wrapper for swift.
  • SwiftData – simple and Effective SQLite Handling in Swift.

XML

If you prefer to manage XML data formatted entries, here some helpful libs

Date

Handle data formatting easily.

Events

Alternatives to NSNotificationCenter, Key-Value-Observation, or delegation.

  • Bond – a Swift binding framework.
  • EmitterKit – an implementation of event emitters and listeners in swift.
  • Signals – replaces delegates and notifications.
  • SwiftEventBus – A publish/subscribe event bus optimized for iOS.

Fonts

A collection of font related snippets.

Gesture

iBeacon

Interested in using iBeacon in your swift project? Here some interesting resources.

  • iBeacon – iBeacon implementation in swift.

Images

An interesting list of image related libs..

  • CYFastImage – display images from web.
  • gifu – highly performant animated GIF support for iOS in Swift.
  • ImageLoader – A lightweight and fast image loader for iOS written in Swift.
  • ImageScout – a Swift implementation of fastimage – supports PNG, GIF, and JPEG.
  • Kingfisher – a lib for image download and caching.
  • MapleBacon – Swift image download and caching library.
  • PASImageView – async remote download your image and round them. automatically.
  • SwiftColorArt – font schema generator according image colours.
  • SwiftGif – A small UIImage extension with gif support
  • Toucan – Image processing api
  • UIImageView-BetterFace-Swift – autoresize images and if any face discovered refine the position of the image.

Keyboard

Do you want to create your own customized keyboard? Here some interesting resources

Layout

Libs to help you with layout.

  • ManualLayout – Easy to use and flexible AutoLayout alternative for iOS 8+. Supports AsyncDisplayKit.
  • SwiftBox – Flexbox in Swift, using Facebook’s css-layout.

Auto Layout

Bored of using storyboard? Give a try to declarative auto layout libs.

  • Cartography – declarative auto layout lib for your project.
  • PureLayout – The ultimate API for iOS & OS X Auto Layout.
  • Restraint – Minimal Auto Layout in Swift.
  • Snappy – a light-weight layout framework which wraps AutoLayout with nicer syntax.
  • SwiftAutoLayout – a small DSL for autolayout.
  • Tails – declarative autolayout for ios app written in swift.
  • VFLToolbox – fancy Swift implementation of the Visual Format Language

Math

  • Easy-Cal-Swift – Overload +-*/ operator for Swift, make it easier to use (and not so strict).
  • Surge – Accelerate framework for swift.
  • swix – A general matrix language.

Network

A list of libs that allow you to decrease the amount of time spent to deal with http requests.

  • agent – http request agent.
  • Alamofire – elegant networking in swift.
  • APIKit – a library for building type-safe web API client.
  • GRequest – http request handler.
  • IJReachability – check for network connection availability.
  • ModestProposal – an HTTP toolbox.
  • Moya – network abstraction layer.
  • Net – an httprequest wrapper.
  • OAuth2 – oauth2 auth lib.
  • OAuthSwift – Swift based OAuth library for iOS.
  • PeerKit – An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps.
  • RSNetworking – Network library written purely in Swift.
  • Socket.IO – Socket.IO client for iOS/OS X.
  • Stargate – A communication channel from your Mac to your watch.
  • Starscream – websockets implementation in swift.
  • SwiftHTTP – NSURLSession wrapper.
  • SwiftSocket – simple TCP socket library.
  • Transporter – A tiny library makes uploading and downloading easier.
  • YYHRequest-Swift – http request in async.

Security

  • KeychainAccess – Simple Swift wrapper for Keychain that works on iOS and OS X.
  • KeyClip – Keychain framework for iOS written in Swift.
  • SwiftKeychainWrapper – a simple static wrapper for the iOS Keychain to allow you to use it in a similar fashion to user defaults.

Sensors

Manage your device sensors in a faster and easier way

System

  • SMCKit – Apple SMC library in Swift
  • SystemKit – OS X system library in Swift

Testing

A collection of testing frameworks.

  • Mockingjay – An elegant library for stubbing HTTP requests with ease in Swift.
  • Quick – Quick is a behavior-driven development framework for Swift and Objective-C.
  • Sleipnir – BDD-style framework for Swift.
  • Swiftest – experimental BDD-style framework.

UI

A collection of pre-packaged transitions & cool ui stuffs.

Utility

Some interesting utilities that help you in your projects

  • __ – Underscore.js power in your swift projects.
  • AAWindow – UIWindow subclass to enable behavior like adaptive round-corners & detecting when Control Center is opened.
  • Async – Syntactic swift sugar for Grand Central Dispatch
  • Async.legacy – Syntactic swift sugar for Grand Central Dispatch (iOS 7 and OS X 10.9 Mavericks compatible fork)
  • AwesomeCache – manage cache easy in your swift project.
  • BrightFutures – promise and future lib for swift.
  • Chronos– Grand Central Dispatch Utilities.
  • CLIKit – a way to create cli with swift.
  • Collection Each – add each func to collections.
  • CommandLine – A pure Swift library for creating command-line interfaces
  • DBPathRecognizer – Gesture recognizer tool.
  • Dispatcher – Queues, timers, and task groups in Swift
  • Dollar – a lib similar to Lo-Dash or Underscore in Javascript.
  • ExSwift – a set of swift extensions for standard types and classes.
  • Lambdatron – Clojure(ish) interpreter in Swift.
  • LlamaKit – Collection of must-have functional Swift tools.
  • Mendel – Swift miliframework for implementing evolutionary/genetic algorithms.
  • PromiseKit – async promise programming lib.
  • Prototope – Swift library of lightweight interfaces for prototyping, bridged to JS.
  • PureFutures – Futures and Promises library
  • Pythonic.swift – Pythonic tool-belt for Swift: a Swift implementation of selected parts of Python standard library.
  • ReactKit – Swift Reactive Programming.
  • Result – Swift type modelling the success/failure of arbitrary operations.
  • Runes – Functional operators for Swift – flatMap, map, apply, pure
  • SpecificationPattern – chainable rules useful for form validation.
  • SpriteKit+Spring – SpriteKit API reproducing UIView’s spring animations with SKAction.
  • SwiftBitmaskBitmask<T> type intended as a replacement for RawOptionSet.
  • SwiftColors – HEX color handling as an extension for UIColor.
  • SwiftForms – form are now easy as 1.2.3!
  • SwiftMemCache – Swift Memory Cache with namespace & TTL support.
  • SwiftyUserDefaults — a cleaner, nicer syntax for NSUserDefaults
  • Swiftz – a lib for functional programming.
  • Swift Sugar – objsugar ported to swift.
  • undefined – Nano framework which defines Haskell’s undefined in Swift.
  • Versions – Helping you find inner peace when comparing version numbers in Swift.
  • Wyrd – Asynchronous programming in Swift made easy. Wyrd is inspired by Promises/A+.
  • XCGLogger – a lib that help you handling better debug logging.
  • Swell – a logging utility for Swift.

Video

  • Player – iOS video player in Swift, simple drop in component for playing and streaming media.

Webserver

Do you wanna host a webserver in your device? Here you can find some tricks to do it.

  • NetworkObjects – REST HTTP Server written in Swift. Builds REST API from Core Data.
  • swifter – Http server written in Swift with routing handler.

Misc

Miscellaneous Swift related projects

  • swift-compiler-crashes – A collection of test cases crashing the Swift compiler
  • swiftier – Quick-and-dirty Objective-C to Swift translator.
  • SwiftInFlux — List of things that are “in flux” in Swift + changelog of the language

Tools

Tools for Swift development

Documentation

Generate documentation for Swift code

  • jazzy – Soulful docs for Swift & Objective-C
  • swiftdoc-parser – Header parsing and HTML generating utilities for SwiftDoc.org
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s