Quick Chat – A Swift Based Real-Time iOS Chat App Using Firebase

Quick Chat for iOS is a Swift source code example showing how to create a real-time chat app using Google’s Firebase form Haik Aslanyan.

Firebase is great for these types of apps because of its real-time database, and generous free tiers. Quick Chat features logins, real-time text messages, photos, and locations.

This animation from the readme shows Quick Chat in action:

Quick-Chat

You can find Quick Chat on Github here.

A nice example of an iOS chat app using Firebase.

Original article: Quick Chat – A Swift Based Real-Time iOS Chat App Using Firebase

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Files – An Open Source Swift Library For Working With Files And Folders

Files is an open source Swift library from John Sundell for working with files ion iOS, macOS and tvOS.

Files provides a straightforward object-oriented API for moving, deleting, reading, and writing files and folders.

This snippet from the readme shows an example of file and folder deletion and creation:

let folder = try Folder(path: "/users/john/folder")
let file = try folder.createFile(named: "file.json")
try file.write(data: wrap(object))
try file.delete()
try folder.delete()

You can find files on Github here.

A great Swift library for working with files.

Original article: Files – An Open Source Swift Library For Working With Files And Folders

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

SwiftRichString – A Swift Library That Simplifies Styling Attributed Strings

SwiftRichString is an open source library submitted by Daniele Margutti that simplifies working with attributed strings.

With SwiftRichString you can style attributed strings using a clear type-safe syntax, combine attributed and non-attributed strings, and more.

This snippet from the readme shows how one could create styles, and apply them to an attributed string with SwiftRichString:

// Define your own used styles
let bold = Style("bold", {
  $0.font = FontAttribute(.CourierNewPS_BoldItalicMT, size: 30) // font + size
  $0.color = UIColor.red // text color
  $0.align = .center // align on center
})

let italic = Style("italic", {
  $0.font = FontAttribute(.CourierNewPS_ItalicMT, size: 25)
  $0.color = UIColor.green
})

let attributedString = ("Hello " + userName).set(style: bold) + "\nwelcome here".set(style: italic)

You can find SwiftRichString on Github here.

A great library for working with attributed strings.

Original article: SwiftRichString – A Swift Library That Simplifies Styling Attributed Strings

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

GLTableCollectionView – A Swift Component Scrolling/Sliding Content Like In The App Store

GLTableCollectionView is an open source Swift based user interface component from Giulio for creating sliding views similar to those seen in Netflix, Airbnb and the App Store.

GLTableCollectionView utilizes both UITableView and UICollectionView features cell recycling, headers for each table view and collection view row, storyboard compatibility and more. The table view, and each cell are fully customizable.

This animation from the readme shows GLTableViewCollection in action:
GLTableCollectionView

You can find GLTableCollectionView on Github here.

A nice component for displaying large amounts of categorized content.

Original article: GLTableCollectionView – A Swift Component Scrolling/Sliding Content Like In The App Store

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

SwiftyCam – A Swift Library That Simplifies Photo And Video Capture With Some Great Extra Features

SwiftyCam is an open source Swift library from Andrew Walz providing an inspired iOS camera framework with an extensive feature set inspired by Snapchat.

SwiftyCam dramatically simplifies setting up an app for photo and video caprure.

Some of the features of SwiftyCam include:

– Video and image capturing
– Front and rear flash
– Retina flash
– Manual zoom using gestures
– Manual focus on a tapped point
– A low light booster
– Manual image quality settings

You can find SwiftyCam on Github here.

A great library for camera apps.

Original article: SwiftyCam – A Swift Library That Simplifies Photo And Video Capture With Some Great Extra Features

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

RhythmBox – A Swift Library That Simplifies Creating Music Rhythm Patterns

RhythmBox is an open source Swift library submitted by Manuel Escrig that simplifies the creation of rhythm patterns.

To use RhythmBox you simply need to assign a beat, and an optional sub beat and time signature and RhythmBox will execute your code at the correct time intervals. There are also further subdivisions for different note durations.

This example from the readme shows how one could create a RhythmBox at 90 bpm with a 3/4 time signature further subdividing into eigth notes:

let rhythmBox = RhythmBox(bpm: 90, timeSignature: (3,4), subdivision: "011")
rhythmBox.perform {CurrentBeat, CurrentSubBeat, CurrentNote in

<pre><code>print("CurrentBeat", CurrentBeat)
return .resume
</code></pre>

}

You can find RhythmBox on Github here.

A useful library for music apps.

Original article: RhythmBox – A Swift Library That Simplifies Creating Music Rhythm Patterns

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

ODUIThreadGuard – A Swift Library For Automatically Guarding Against UI Changes In The Main Thread

ODUIThreadGuard is an open source library from old donkey that helps you to make sure that your UI is not blocking the main thread.

ODUIThreadGuard implements automatically when added into your project, and can be configured to run only in debug mode if desired.
The features stated in the readme include:

– Passive implementation
– Throw an assertion if setNeedsDisplay, setNeedsLayout, or setNeedsDisplayInRect: is called for instantion of any UIView
– Get the thread stack to help you locate where you make the mistake

You can find ODUIThreadGuard on Github here.

A nice library for making sure UI changes don’t occur in the main thread.

Original article: ODUIThreadGuard – A Swift Library For Automatically Guarding Against UI Changes In The Main Thread

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Sharaku – A Swift Based UI Component Providing Instagram Inspired Image Viewing And Filtering

Sharaku is an open source Swift based user interface component from Makoto Mori for adding Instagram like filtering to an iOS app.

Sharaku can be implemented within interface builder, and utilizes core image to perform the filtering. A demo app is included showing how easy it is to implement Sharaku.

This animation from the readme shows Sharaku in action:
Sharaku

You can find Sharaku on Github here.

A great component for those working on image filtering apps.

Original article: Sharaku – A Swift Based UI Component Providing Instagram Inspired Image Viewing And Filtering

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.