• 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: Mutable NSColor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mutable NSColor?


  • Subject: Re: Mutable NSColor?
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 24 Sep 2001 15:26:42 +0200

rsharp,

>>>>>> rsharp (r) wrote at Mon, 24 Sep 2001 08:04:47 -0500 (CDT):
r> There are disadvantages with this approach though...namely that you cant
r> pass such objects in place of NSColor. I'm not too keen on classes
r> posing as others, but I think that requires subclassing?

Posing does, but you don't need posing here -- message forwarding's what you
are after.

Subclassing would help only from the compiler's point of view -- it would
prevent warnings.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >Re: Mutable NSColor? (From: rsharp <email@hidden>)

  • Prev by Date: Re: Mutable NSColor?
  • Next by Date: Re: Mutable NSColor?
  • Previous by thread: Re: Mutable NSColor?
  • Next by thread: Re: Mutable NSColor?
  • Index(es):
    • Date
    • Thread