jrturton/UIView-Autolayout
소개
Category on UIView to simplify the creation of common layout constraints
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalUIView-Autolayout
Do you really need this?
If you're making a new app targeting iOS9 or higher, I'd recommend using the new layout anchor functionality and stack views to achieve the layout you require. The layout anchor gives you concise creation of constraints in code, and stack views probably give you 90% of the layouts you were making yourself using constraints anyway.
Category on UIView to simplify the creation of common layout constraints. The code is described and introduced in this blog post.
Here's the API documentation on Cocoadocs.
The demo project is most of the way towards drawing a robot made of views arranged using all the category methods:

Installation
Using Cocoapods:
pod 'UIView-Autolayout', '~> 0.2.0'
Manually:
Download the source code and drag the files in the Source/ directory into your project.
Deprecated Methods
As of version 1.0.0, all deprecated methods will be removed from this category. All deprecated methods are marked with a compiler flag providing instructions on alternative methods to use but for more information check out the API documentation on the Cocoadocs website listed above.
If you are using Cocoapods and do not wish to upgrade to version 1.0.0 then you can specify the following in your Podfile:
pod 'UIView-Autolayout', '~> 0.2.0'
This will prevent Cocoapods installing any 1.0.0 updates.
관련 프로젝트 살펴보기
불러오는 중…