Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethercrow/uiview-position
UIView geometry helpers
https://github.com/ethercrow/uiview-position
Last synced: 3 months ago
JSON representation
UIView geometry helpers
- Host: GitHub
- URL: https://github.com/ethercrow/uiview-position
- Owner: ethercrow
- Created: 2011-03-17T16:09:03.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-03-23T14:17:32.000Z (almost 14 years ago)
- Last Synced: 2023-03-11T21:07:13.661Z (almost 2 years ago)
- Language: Objective-C
- Homepage:
- Size: 80.1 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
UIView+position
===============This is UIView category that adds properties that make frame geometry-related stuff less tedious.
For example, you can write::
someView.rx += 100;
instead of::
someView.frame = CGRectMake(someView.frame.origin.x+100, someView.frame.origin.y,
someView.frame.size.width, someView.frame.size.height);This category is based on (Apache licensed) code from http://bynomial.com/blog/?p=24.
Properties changed to even more concise (e.g. frameOrigin -> origin, frameX -> rx)