yllan/funtextfield
FunTextField is provided as an example of NSTextInput protocol. However, it's boring to just re-implement a simpler version of NSTextView. So I add extra code to make this example fun–––editing text along bezier path. I borrow the NSBezierPath(geometry) category from Graham Cox's GCDrawKit.
Objective-C