Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
loverde-co/LCEssentials

Loverde Co. Essentials Swift Scripts
This is a repository of essential scripts written in Swift for Loverde Co. used to save time on re-writing and keeping it on all other projects. So this Cocoapods will evolve with Swift and will improve with every release!
Features
- ☑ Many usefull scripts extensions
- ☑ Background Thread
- ☑ Custom change Root View Controller with animation
- ☑ Pop To View Controller with animation
- ☑ Stars Rating Designable
- ☑ Many others usefull Designables
- ☑ Create a XCode Proj example with principal features
Installation
CocoaPods
You can use CocoaPods to install LCEssentials
by adding it to your Podfile
:
platform :ios, '11.4'
use_frameworks!
# Swift 5.0
pod 'LCEssentials'
# Swift 5.0 for watchOS
pod 'LCEssentialsWatch'
# Swift 4.2
pod 'LCEssentials', '~> 0.4.6.3'
To get the full benefits import LCEssentials
wherever you import UIKit
import LCEssentials
Swift Package Manager (SPM)
dependencies: [
.package(url: "https://github.com/loverde-co/LCEssentials.git", .upToNextMajor(from: "0.5.8"))
]
You can also add it via XCode SPM editor with URL:
https://github.com/loverde-co/LCEssentials.git
Usage example
- Background Trhead
LCEssentials.backgroundThread(delay: 0.6, background: {
//Do something im background
}) {
//When finish, update UI
}
- NavigationController with Completion Handler
self.navigationController?.popViewControllerWithHandler(completion: {
//Do some stuff after pop
})
//or more simple
self.navigationController?.popViewControllerWithHandler {
//Do some stuff after pop
}
-
See the custom PickerViewController
-
See the custom DatePickerViewController
-
See the custom ImageZoomController
-
See the custom NotificationsController
-
See the custom HUDAlert
-
If you whant ONLY LCEssentials without this others controllers above, just add this to your podfile
platform :ios, '11.4'
use_frameworks!
pod 'LCEssentials/Classes'
And then import LCEssentials
wherever you import UIKit
import LCEssentials
Author of v1.0
Any question or doubts, please send thru email
Daniel Arantes Loverde - daniel@loverde.com.br
Github
link |
Stars: 1 |
Last commit: 2 weeks ago |