• 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: Solved: widgets don't work properly in a bordrless window?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solved: widgets don't work properly in a bordrless window?!?


  • Subject: Re: Solved: widgets don't work properly in a bordrless window?!?
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 20 Nov 2002 23:03:36 +0100

On Wednesday, Nov 20, 2002, at 22:55 Europe/Prague, Sheehan Olver wrote:

What if the class definition is split into multiple categories, which is used in a lot of cocoa class definition (ex. NSString is divided into categories NSStringPathExtensions, NSArrayPathExtensions, etc)? How can you ensure your implementation and not cocoa's is used?

Very simply: you subclass (and, if need be, poseAsClass:), instead of using a category ;)

Also, you can put your category into a late-loaded bundle, but it's kinda hack which depends on the current runtime implementation; although I would bet something it won't change in this respect (just since it is damn convenient just to place all those methods into tables when a category is loaded, overriding anything which might have been there before), I would not bet much!

(Matter of fact, I even haven't checked whether it still applies in the current release ;)))
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
References: 
 >Re: Solved: widgets don't work properly in a bordrless window?!? (From: Sheehan Olver <email@hidden>)

  • Prev by Date: Re: Exclusive File Access
  • Next by Date: Re: compositeToPoint ignores DPI?
  • Previous by thread: Re: Solved: widgets don't work properly in a bordrless window?!?
  • Next by thread: placing windows behind finder icons
  • Index(es):
    • Date
    • Thread