Swiftpack.co - Package - loverde-co/LCEssentials

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

loverde-co/LCEssentials

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!


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
}
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

Alt text Alt text Alt text Alt text Alt text

Github

link
Stars: 1
Last commit: 2 weeks ago

Releases

0.6.3 - 2021-02-17T17:55:09