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

Re: Window Styles


  • Subject: Re: Window Styles
  • From: Rob Abernathy <email@hidden>
  • Date: Sat, 15 May 2004 11:20:15 +0100

Why should you usually avoid subclassing? Do you mean in Cocoa or AppKit? If so, why?

Apple has two sample apps, RoundTransparentWindow and FunkyOverlayWindow, that show how to do this stuff.

Rob

On May 15, 2004, at 10:28 AM, j o a r wrote:

On 2004-05-15, at 10.57, Jeremy Dronfield wrote:

defer:NO]) {

The defer flag should probably be YES per default, or do you have a
special reason to set it to NO?

Besides that minor point I like your suggestion - a very clever trick!
Even though you should usually avoid subclassing, in this particular
case it provides a solution that requires less code, and is probably
easier to maintain in the long run - and that is something I value a
lot.

Cheers,

j o a r

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Window Styles
      • From: j o a r <email@hidden>
References: 
 >Re: Window Styles (From: Mark Thomas <email@hidden>)
 >Re: Window Styles (From: Jeremy Dronfield <email@hidden>)
 >Re: Window Styles (From: j o a r <email@hidden>)

  • Prev by Date: Re: Window Styles
  • Next by Date: Re: Window Styles
  • Previous by thread: Re: Window Styles
  • Next by thread: Re: Window Styles
  • Index(es):
    • Date
    • Thread