A custom protocol in Swift that lets you encode an object to JSON, convert it to dictionary, archive it, save to file, load, initialise, decode and more in an amazingly simple, fast and natural way!
GTSpinner is a custom, configurable activity indicator that can be used in iOS projects. It consists of an endless spinner which can have a bullet spinning along a circular path, as well as color trails that follow the bullet. Written in Swift 4.
A really simple demonstration on how to use the UIPageControl along with a scroll view in iOS. The project is written in Swift.
In iOS 8, Apple provided a new framework named LocalAuthentication which lets us use the TouchID biometric authentication mechanism to our applications. Here I have created a “plug and play” class written in Swift, which you can add to your projects and integrate the TouchID authentication to your applications without performing any custom implementation at all.
The GTAlertView class for iOS, provides a way for using the UIAlertView with a completion handler block, instead of delegate methods. With it, initialiazing and showing the alert view, as well as handling the tapped buttons are implemented all together in one place.
The GTActionSheet is an iOS class implementing the UIActionSheet and provides a way to use it with a completion handler block, instead of using the usual way with the delegate methods.