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

Re: Shadows


  • Subject: Re: Shadows
  • From: Finlay Dobbie <email@hidden>
  • Date: Sat, 24 Nov 2001 19:33:05 +0000

On Saturday, November 24, 2001, at 06:18 pm, Russ White wrote:

I've spent all Thanksgiving week learning Cocoa and I've made tremendous progress. I have the basics down finally and I'm ready to do some application stuff. One of the things I'd like to do is be able to draw shadows around a NSView (or any rectangle container). Seems like only NSWindows can have shadows.

Does anybody know if there is a built-in shadow method?

There is, but it's private and the API will change in a future release. For an example of how to do it, poke around in the source code to ASM (Application Switcher Menu, http://asm.vercruesse.de).

I don't know if Apple plans on exposing this API in a future release. If not, why not?

-- Finlay


  • Follow-Ups:
    • Re: Shadows
      • From: Gideon King <email@hidden>
References: 
 >Shadows (From: Russ White <email@hidden>)

  • Prev by Date: EO- classes in ObjC, (was Java Question - getting access to protected methods...)
  • Next by Date: Re: EO- classes in ObjC, (was Java Question - getting access to protected methods...)
  • Previous by thread: Shadows
  • Next by thread: Re: Shadows
  • Index(es):
    • Date
    • Thread