Swiftpack.co -  loverde-co/LCEssentials as Swift Package
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!
.package(url: "https://github.com/loverde-co/LCEssentials.git", from: "0.6.3")


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: 17 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

0.6.3
17 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API