2025-07-29 13:47:32 -03:00
2025-06-23 09:48:57 -03:00
2025-03-23 00:27:49 -03:00
2025-03-23 00:27:49 -03:00
2025-03-23 00:27:49 -03:00
2025-07-29 11:59:11 -03:00
2025-07-29 13:46:38 -03:00
2025-03-23 00:29:50 -03:00


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!

Requirements

  • iOS 15.* or newer, Swift 5.* or newer.

Features

  • Many usefull scripts extensions

Installation

Swift Package Manager (SPM)

dependencies: [
    .package(url: "http://git.loverde.com.br:3000/git/LCEssentials.git", .upToNextMajor(from: "1.0.0"))
]

You can also add it via XCode SPM editor with URL:

http://git.loverde.com.br:3000/git/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
}

Another components

LCESnackBarView - great way to send feedback to user

And then import LCEssentials wherever you import UIKit or SwiftUI

import LCEssentials

Author:

Any question or doubts, please send thru email

Daniel Arantes Loverde - daniel@loverde.com.br

Alt text Alt text

Description
No description provided
Readme 273 KiB
v1.0.0 Latest
2025-08-25 17:34:55 +00:00
Languages
Swift 100%