Skip to content

UIBaseView help me easy build fast a project for my client.

License

Notifications You must be signed in to change notification settings

bionelabs/UIBaseView

Repository files navigation

UIBaseView

UIBaseView help me easy build fast a project for my client. This lirbary is updating...

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'UIHoneycombView'

Use

import UIBaseView

View Layout

view.visual.anchor(...)
view.visual.size(...)
view.visual.format(...)
view.visual.center(...)
view.visual.equal(...)
view.visual.stack(...)
...

Button

let button = UIButton()
button.touch(.touchUpInside) {
    // todo
}

BaseView

// BaseView
// BaseCollectionViewCell
// BaseTableViewCell

view.addSubviews(...)

protocol BaseViewProtocol {
    
    func setupViews()
    
    func setupComponents()
    
    func setupConstraints()
    
}

View animation

// Animation
view.shake()
view.pop()
view.fadeTo(...)
view.fadeIn()
view.fadeOut()

// Rotate
view.startRotating()
view.stopRotating()

Contact