Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 773 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 773 Bytes

UIView-FrameUtils

UIView category that provides convenience methods for setting and getting frame properties.

I know you've always wanted setters for frame properties such as height and width, and now they're available right from any UIView or UIView subclass! There are also helpful setters for view centers, as well as getters to avoid having ugly CGRectGetMaxYBlahBlahBlah in your code

Installation

Just drag and drop the UIView+FrameUtils.{h,m} files into your project.

Usage

Call any of the various getter and setter methods from any UIView instance or subclass.

License

Public Domain - there are no restrictions on the use of this code. It may be used without attribution in any commercial or non commercial application.