CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Apr 2015 |
Maintained by Craig Siemens.
Simplifies the creation of a one pixel line on any device.
To run the example project, run pod try CESDividerView
.
Create a new instance and set the type to CESDividerViewTypeHorizontal
or CESDividerViewTypeVertical
. This can be done using -initWithType:
CESDividerView *dividerView = [[CESDividerView alloc] initWithType:CESDividerViewTypeVertical];
or by setting the type
property.
dividerView.type = CESDividerViewTypeHorizontal;
Add a UIView.
In the Identity Inspector (⌥⌘3), set the class to CESDividerView
.
To make layout easier, in the Size Inspector (⌥⌘5), set the intrinsic size to match the type of divider you want to create.
To make a vertical line, in the Identity Inspector (⌥⌘3), add a boolean runtime attribute called vertical
.
CESDividerView is available under the MIT license. See the LICENSE file for more info.