Re: Scenarios I don't know how to use Bindings in
Re: Scenarios I don't know how to use Bindings in
- Subject: Re: Scenarios I don't know how to use Bindings in
- From: "I. Savant" <email@hidden>
- Date: Sat, 10 Feb 2007 01:19:58 -0500
On Feb 10, 2007, at 1:05 AM, Seth Willits wrote:
I'm going to guess that something like this is what I want? I'm not
entirely sure how that works.
Well, again, I'm not entirely sure I understand your current
approach, but if there's special stuff FileTypesManager does, then
why not add it to an NSArrayController subclass and move your "file
types preferences" mechanism to a pure bindings solution? You can
override -addObject: to do your file-types-specific magic, then call
super.
You said your FileTypesManager "manages an array (and some other
structures) of FileType objects" ... without a more thorough
description of what FileTypesManager does, exactly, it's not really
possible to give a solid answer as to how approach this problem with
Cocoa Bindings.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden