CoreUIKit
provides functional and easy to use extensions on top of UIKit
. Same concepts but less code!
CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. Learn More!
pod 'CoreUIKit', '0.3.5'
The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies. Learn More!
dependencies: [
.package(url: "https://github.com/swiftkits/CoreUIKit.git", .upToNextMajor(from: "0.3.5"))
]
A simple, decentralized dependency manager for Cocoa. Learn More!
github "CoreUIKit" ~> 0.3.5
subView
on a parentView
which has leading
trailing
top
and bottom
anchors matching with it's parentView
self.subView
.add(to: self.parentView)
.allAnchorsSame(on: self.prarentView)
subView
to a parentView
with matching only leading
anchorself.subView
.add(to: self.parentView)
.leading(of: self.parentView.leadingAnchor)
subView
to a parentView
on top
and leading
with margin/space of 10 units and width
and height
of 120 respectively.self.subView
.add(to: self.parentView)
.top(of: self.parentView.topAnchor)
.leading(of: self.parentView.leadingAnchor)
.with(width: 120, height: 120)
Following are the useful links for learning about autolayout.
Written By Manish Pandey.
link |
Stars: 0 |
Last commit: 40 weeks ago |
Full Changelog: https://github.com/swiftkits/CoreUIKit/compare/0.3.4...0.3.5
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics