Re: Document Edit State, Undo and Cocoa Bindings
Re: Document Edit State, Undo and Cocoa Bindings
- Subject: Re: Document Edit State, Undo and Cocoa Bindings
- From: Joseph Jones <email@hidden>
- Date: Tue, 28 Sep 2004 22:00:25 -0700
And if the controllers are accessing the data directly and not going through
the document (as all examples seem to show) how is this to be accomplished?
Does every object in the data require a link back to the document in order
to set this state?
How are Adds/Removes that operate on the Cocoa collection types dealt with?
Do you have to subclass the collections themselves?
Sorry if this is too much, but it isn't quite clicking with me yet how this
all hangs together. Not sure yet if this all helps or hinders in developing
a rich application (i.e. Not the simple ones shown for demo purposes).
Thanx,
Joe
On 9/28/04 9:36 PM, "Scott Anguish" <email@hidden> wrote:
>
> On Sep 29, 2004, at 12:20 AM, Joseph Jones wrote:
>
>> OK I can't find anything on this in the docs or in the archives
>> (caveat: may
>> not have used the best search params).
>>
>> How in the world do you bind the documents edit state when using
>> bindings to
>> update your data? I'd assume this would be cooked in there, but I
>> can't find
>> anyway to get this to work.
>>
>> As an added bonus, how would I get Undo/Redo hooked in as well?
>>
>> Thanx,
>> Joe,
> Undo/Redo is best implemented in the accessors for the data. Aaron has
> some information on this in his latest book revision.
>
>
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden