• 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: Hard Objc-Runtime question: objc_getClassList lies to me...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hard Objc-Runtime question: objc_getClassList lies to me...


  • Subject: Re: Hard Objc-Runtime question: objc_getClassList lies to me...
  • From: Martin Häcker <email@hidden>
  • Date: Mon, 28 Jul 2003 23:34:35 +0200

Hi,

first of all, thanks for the detailed response!

If you need objc_getClassList() to return all of your classes, you can
* explicitly use them early on in your code
* link your program with -single_module
* turn off ZeroLink in your project

Isn't there some call into ZeroLink that I can do that will force it to load all ObjC-Classes?

I mean it somehow defeats the purpose of objc_getClassList when it doesn't give me all Classes (although somehow it doesn't lie because it really doesn't know of those classes. :)

So is there some way at runtime to load all images, or force the runtime to at least load all objc classes it can find? (obviously objc_lookUpClass can do it).

Thanks again for the response,
cu Martin
--
dont.wanna.tell
[ot]coder - hehe
_______________________________________________
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: Hard Objc-Runtime question: objc_getClassList lies to me...
      • From: Greg Parker <email@hidden>
References: 
 >Re: Hard Objc-Runtime question: objc_getClassList lies to me... (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: Memory Management
  • Next by Date: Re: Memory Management
  • Previous by thread: Re: Hard Objc-Runtime question: objc_getClassList lies to me...
  • Next by thread: Re: Hard Objc-Runtime question: objc_getClassList lies to me...
  • Index(es):
    • Date
    • Thread