NSTextFinder is a new Cocoa class added in OS X 10.7. It is basically a container for a find bar to be used with a NSScrollView and lets the user search (and optionally replace) text inside the NSScrollView associated with it. NSTextFinder is more or less identical to the search and find interface used by Safari or TextEdit, including incremental search, window dimming, results highlighting, pattern search and so on. It seems that it was contained as a private class already in earlier OS X versions.
Trying to use a custom NSClipView in a NSScrollView. Noticed that it is not enough just to have this:
If you’ve ever wondered how to use Apple’s Publication Subscription Framework in a sandboxed application environment, just read this post written by Sasmito Adibowo from Basil Salad Software.
Apple’s Publication Subscription (“PubSub”) Framework is not among the best-documented frameworks. There is a small programming guide as well as a framework reference, but all in all the documentation is scarce. Among the lesser known features of this framework is the possibility to let the framework auto-discover RSS/Atom feeds for any web page you throw at it.
The following is the docset data model, found in Xocde’s Lion docset bundle. The SQLite database and a Search Kit index file are also contained in the docset bundle: