Swiftpack.co - Package - LenisDev/UIKitCore

Project Logo

License MIT CI Tests Carthage compatibility pod Plateform compatibility

Overview

Base MVVM, helper functions and extensions

Checkout example project

Usage


  // Step 1 - Import
  import UIKitCore
  
  // Step 2 - Use
  // constraints
  myLabel
    .add(to: parentView)
    .centerX(to: parentView.centerX)
    .centerY(to: parentView.centerY)
    .with(width: 200, height: 100)
    
  // extensions
  myView.layer.border(.gray, width: 1, edge: .all)
  
  // register cells
  myCollectionView.register(CustomCell.self)
  

checkout extensions for more


Installation Guide

Carthage

Step 1: Add following to your CartFile

github "LenisDev/UIKitCore" ~> 0.0.3

Step 2: run carthage update from current project directory.

That's all, you have it installed.


CocoaPods

Step 1: Add pod 'UIKitCore', '~> 0.0.3' to your Podfile:

target 'MyApp' do
  pod 'UIKitCore', '~> 0.0.3'
end

Step 2: run pod install from current project directory.

That's all, you have it installed.


Try it using following command

pod try UIKitCore

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/LenisDev/UIKitCore.git", .upToNextMajor(from: "0.0.3"))
]

Contribute

  • Play around and report bugs
  • Fix issues and create PR
  • Add documentations and new features

Github

link
Stars: 1

Dependencies

Used By

Total: 0

Releases

Added new helpers - 2020-09-24 13:46:38

Release Date: 24-Sep-2020

Bug Fixes

  • [X] Fixed access modifiers for extensions

New Features

  • [X] Added helpers for radius and rotate
  • [X] Added helper for string separators
  • [X] Added border helper for views

Updated min support to iOS 11 - 2020-09-08 08:18:19

Release date: 8-Sep-2020

Bug Fixs:

  • [X] Safe area layout guide issue (due to min iOS 10 support)

Initial Release - 2020-09-07 06:39:50

Release Date: 07-Sep-2020

New Features:

  • [X] MVVM base classes
  • [X] Extensions for mostly used objects and functionalities
  • [X] Component base design helpers