I have what I assume is a standard setup. A treeController managing an Outline View. A textView acts as a source for a regex Search. All works as expected. The resulting matches are displayed in the outline view.
As I select a row in the outline view, I highlight the matched text in the original source. Currently, I obtain the “selection” of the treeController by implementing and outlet to the controller, and using the “selectionIndexPaths” binding to update a local variable which holds the selected range information. From then, another function implements the highlight. It works, but it seems awfully klunky. Ideally, I would like to bind from IB the selection of the TreeController to the local variable, but I cannot find a way to do this. Is this possible? Thanks. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com