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
Switch branches/tags
Nothing to show
Latest commit f16420d Apr 22, 2009 @yllan modify gitignore
Permalink
Failed to load latest commit information.
Artwork
English.lproj
FunTextField.xcodeproj
Readme.pages
.gitignore
FunTextField_Prefix.pch
Info.plist
NSBezierPath+Utility.h
NSBezierPath+Utility.m
README.markdown
YLBezierLayoutManager.h
YLBezierLayoutManager.m
YLFunController.h
YLFunController.m
YLFunTextView.h
YLFunTextView.m
YLTextStorage.h
YLTextStorage.m
main.m