| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…enterRight, .bottomLeft, .bottomCenter, .bottomRight allowing user easier access and modify rectangle's geometry
There was a problem hiding this comment.
Nice, just 1 little comment.
Sorry, something went wrong.
| } | ||
|
|
||
| func testCenterSet() { | ||
| var rect = CGRect(x: 10, y: 20, width: 30, height: 40) |
There was a problem hiding this comment.
No need to keep recreating this, create a constant and reuse it.
Sorry, something went wrong.
|
@ihar-shalouski this is so close to being mergeable. Do you want to finish this? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Added a setter for CGRect.center.
Added CGRect corners and edges getters/setters. topLeft, topCenter, topRight, centerLeft, centerRight, bottomLeft, bottomCenter, bottomRight.
Checklist