MNkSupportUtilities
What is MNkSupportUtilities?
MNkSupportUtilities contains different kinds of custom UI elements, subclasses, methods, and extensions to maintain a more organized, clear, and reusable codebase in your Swift project.
v3.0.0
onward, MNkAlertView, AppSymbol, UIKitChain and, the CustomLayout are moved to separate libraries and will not be a part of the MNkSupportUtilites.
v3.0.0
upwards. And the older versions below v2.0.4
will not be support to use along with the separate libraries.
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate MNkSupportUtilities into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
use_frameworks!
target '<Your Target Name>' do
pod 'MNkSupportUtilities'
end
Then, run the following command:
$ pod install
Swift Package Manager
Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
Xcode 11+ is required to build MNkSupportUtilities using Swift Package Manager.
dependencies: [
.package(url: "https://github.com/MnkGitBox/MNkSupportUtilities.git", .upToNextMajor(from: "2.0.4"))
]
Manually
If you prefer not to use either of the aforementioned dependency managers, you can integrate MNkSupportUtilities into your project manually.
Components
- MNkViewController
- MNkTableViewController
- MNKCollectionViewController
- MNkAlertView (up to v2.0.4)
- AppSymbol (up to v2.0.4)
- UIKitChain (up to v2.0.4)
- CustomLayout (up to v2.0.4)
Separate Libraries
Credits
- Malith Nadeeshan (malithnadeeshan)
License
MNkSupportUtilities is released under the MIT license. See LICENSE for details.