SwiftExtension
Simple Swift extensions for classes which are mostly used in iOS apps.
Requirements
Required Swift 4.2 or later
Installation
Install Manually
Download and drop Classes folder to your project
Install via CocoaPods
SwiftExtension is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DNNSwiftExtension"
Import DNNSwiftExtension
to your class
import UIKit
import DNNSwiftExtension