Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.23 KB

README.md

File metadata and controls

18 lines (12 loc) · 1.23 KB

Handle View

Swift Twitter Donate via PayPal

This project includes IBDesignables to play around with corner radii of the resize handles in 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, though I'm sure this might be useful for other projects.