KASeparatorLine icon indicating copy to clipboard operation
KASeparatorLine copied to clipboard

NSView subclass for drawing a separator line

KASeparatorLine

NSView subclass for drawing a separator line.

KASeparatorLine does one thing and one thing only: draw a horizontal separator line.

The separator line is combined with a dark line and a light one, with gradient effect.

Screenshot

Installation

KASeparatorLine is available through CocoaPods, to install it simply add the following line to your Podfile:

pod "KASeparatorLine"

Usage

  • Drag a Custom View to your interface
  • Set the view's class to KASeparatorLine
  • Set the view's height to 2

License

KASeparatorLine is available under the MIT license. See the LICENSE file for more info.