• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Non-standard attributes - avoid warning from data model compiler?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Non-standard attributes - avoid warning from data model compiler? (From: Dan Messing <email@hidden>)

  • Prev by Date: Re: Non-standard attributes - avoid warning from data model compiler?
  • Next by Date: Re: expected primary-expression before '*' token ?
  • Previous by thread: Re: Non-standard attributes - avoid warning from data model compiler?
  • Next by thread: how do you change the highlight color for rows in an NSOutlineView?
  • Index(es):
    • Date
    • Thread