Skip to content

This repo includes easy autolayout implementation with extension of UIView with using Swift Language

License

Notifications You must be signed in to change notification settings

yildirimatcioglu/swift-easy-autolayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Swift Easy Autolayout

This repo includes easy autolayout implementation with extension of UIView with using Swift Language

Usage:

   self.completeButton
       .constrainTop(to: self.view)
       .constrainLeading(to: self.view, constant: Constants.contentMargin)
       .constrainTrailing(to: self.view, by: .trailing, constant: -Constants.contentMargin)
       .constrainCenterY(to: self.contentView)
       .constrain(width: Constants.buttonSize)
       .constrain(height: Constants.buttonSize) 

About

This repo includes easy autolayout implementation with extension of UIView with using Swift Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages