• 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: Model / View best practice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Model / View best practice


  • Subject: Re: Model / View best practice
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 3 Jul 2006 18:27:10 -0700

On Jul 3, 2006, at 5:44 PM, Kam Dahlin wrote:

I will give your approach a shot. Anyway this can be done via bindings alone?

You might define an NSValueTransformer that takes your model object directly and "transforms" it to an NSAttributedString with the correct font, color, icon, etc. attributes.


  -- 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


  • Follow-Ups:
    • RE: Model / View best practice
      • From: "Kamrin Dahlin" <email@hidden>
References: 
 >Model / View best practice (From: "Kamrin Dahlin" <email@hidden>)
 >Re: Model / View best practice (From: Uli Kusterer <email@hidden>)
 >Re: Model / View best practice (From: Kam Dahlin <email@hidden>)

  • Prev by Date: Re: Model / View best practice
  • Next by Date: Re: NSWindow's setBackgroundColor: method problem
  • Previous by thread: Re: Model / View best practice
  • Next by thread: RE: Model / View best practice
  • Index(es):
    • Date
    • Thread