• 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
find all subclasses?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

find all subclasses?


  • Subject: find all subclasses?
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 23 Sep 2004 04:22:43 +0200

Hi all,

I thought I've solved this ages ago, but seems I did not :)

Is there a decent way for a class code to find all its subclasses?

Unless I have overlooked something, I cannot use NSBundleDidLoadNotification (for even if I add observer in +load it is too late, it does not get "its own" notification), nor objc_getClassList helps (for it shows registered classes only, and--at least in my tests--that boils down to classes which already have received at least one message).

Thanks for any advice,
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc

_______________________________________________
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: find all subclasses?
      • From: Glenn Andreas <email@hidden>
  • Prev by Date: Re: Unit testing framework suggestions?
  • Next by Date: Safari-like View Change
  • Previous by thread: Re: menu & multiple windows
  • Next by thread: Re: find all subclasses?
  • Index(es):
    • Date
    • Thread