A Library for Drawing a Separator Line, NO Kidding!

Last week I read a post: Objective-C libraries and Unix philosophy.

It was such an inspiring reading that I was encouraged to extract an NSView subclass from my disk dust, and release it as a library via CocoaPods: KASeparatorLine.

I believe this is the smallest open source project I’ve ever put on GitHub. Just one Objective-C file for {h,m}; all other files are either from CocoaPods template or the example project.


So it just draws separator line and nothing else. It doesn’t even draw vertical line - at least for now.

I can imagine usages of requiring expsoing properties to set line colors, remove gradiant, and of course draw a vertical line. That doesn’t matter. Small is beautiful.