FrameAccessor
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/AlexDenisov/FrameAccessor
软件介绍
Easy way to access view's frame in iOS and OS X.
Use:
view.x = 15;
view.width = 167;
instead of
CGRect newFrame = view.frame;
newFrame.origin.x = 15;
newFrame.size.width = 167;
view.frame = newFrame;
You can access x, y, width, height, origin or size like properties.
