Skip to content

donbytyqi/AnchorKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

AnchorKit

Hated how you need to add constraints one by one so this simple tool let's you add them by taking an array of the constraints you want to add, it's an old one and the code might be badly organized, PR's are welcomed.

Installation:

Just drop the "anchorkit" folder in your project.

Usage:

yourView.addAnchors(with: [.top(to: view.safeAreaLayoutGuide.topAnchor, constant: 0), .centerX(to: view.centerXAnchor, constant: 0), .size(.init(width: 50, height: 50))])

About

simple autolayout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages