https://github.com/louisdh/panelkit-handle-view
IBDesignables to play around with corner radii of the resize handles in PanelKit.
https://github.com/louisdh/panelkit-handle-view
core-graphics ibdesignable ios panelkit uikit uiview
Last synced: 9 months ago
JSON representation
IBDesignables to play around with corner radii of the resize handles in PanelKit.
- Host: GitHub
- URL: https://github.com/louisdh/panelkit-handle-view
- Owner: louisdh
- Created: 2017-10-08T14:08:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T11:34:12.000Z (over 8 years ago)
- Last Synced: 2025-04-18T10:24:01.481Z (about 1 year ago)
- Topics: core-graphics, ibdesignable, ios, panelkit, uikit, uiview
- Language: Swift
- Size: 29.3 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Handle View
This project includes IBDesignables to play around with corner radii of the resize handles in [PanelKit](https://github.com/louisdh/panelkit).
The objective was to find a corner radius for the handle that visually matches the rounded rect (panel) at a certain distance.
`Main.storyboard` has a `CornerHandleView` and a `RoundedView` that provides the following outcome:

The draw properties are IBInspectables, so they can be edited from the storyboard to try out different results. The color of the IBDesignables is the view's tint color.
This is a quick test project made specifically for [PanelKit's resize feature](https://twitter.com/LouisDhauwe/status/915658275122745344), though I'm sure this might be useful for other projects.