• 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: Fri, 25 Jul 2003 08:35:08 +0200

My claims of the functionality of objc_lookUpClass is based on reading the source code for it available as part of the objc4 package from Darwin. It doesn't change the list of registered classes. Perhaps the behavior has changed? I only examined the code for 10.2.6.

No, you are correct, this behaviour didn't change.

Are you using Xcode with ZeroLink? If so, that could very well be the cause.

Yes, that was what I was overlooking. :( Zerolink got me into this mess.

Thanks very much for the help though!

Notice that the printf is not in this output.

That is very odd. The only explanation I could see is that stdout is printing to another stream than NSLog. Maybe try switching the printf to an NSLog?

I still don't get this at all, first I verified, that the behaviour is still as I told you here, then I switched to nslog (it then worked) then I switched back (it then worked too)...

Well...

Anyway, I know now why I failed, so it works now. :)

Thank you very much for your help!

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.

References: 
 >How to get a list of all classes known to the runtime (From: Martin Häcker <email@hidden>)
 >Hard Objc-Runtime question: objc_getClassList lies to me... (From: Martin Häcker <email@hidden>)
 >Re: Hard Objc-Runtime question: objc_getClassList lies to me... (From: Dylan Adams <email@hidden>)
 >Re: Hard Objc-Runtime question: objc_getClassList lies to me... (From: Martin Häcker <email@hidden>)
 >Re: Hard Objc-Runtime question: objc_getClassList lies to me... (From: Dylan Adams <email@hidden>)

  • Prev by Date: Re: Hard Objc-Runtime question: objc_getClassList lies to me...
  • Next by Date: plist Problem
  • 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