Re: Non-standard attributes - avoid warning from data model compiler?
Re: Non-standard attributes - avoid warning from data model compiler?
- Subject: Re: Non-standard attributes - avoid warning from data model compiler?
- From: Chris Hanson <email@hidden>
- Date: Wed, 1 Jun 2005 10:40:10 -0700
On Jun 1, 2005, at 10:08 AM, Dan Messing wrote:
Unless I'm missing something, we're actually saying the same thing,
right? I guess my question is this: does adding a transient
attribute for a non-standard (say, an NSRect) attribute provide any
functionality beyond automatic undo/redo support?
Oh, I read your statement as the transient attribute breaking undo/
redo, not *removing* the transient breaking undo/redo. It makes more
sense the second way.
Transient attributes get undo/redo support, and they also get
validation support. Those, I think, are pretty big advantages. (By
the way, you can't have an NSRect as a transient attribute since it's
a struct, not a scalar or an object.)
-- Chris
_______________________________________________
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