• 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: ZeroLink and dynamic discovered Classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ZeroLink and dynamic discovered Classes


  • Subject: Re: ZeroLink and dynamic discovered Classes
  • From: Martin Häcker <email@hidden>
  • Date: Tue, 25 Nov 2003 21:15:21 +0100

This is a case where ZeroLink falls down. Objective-C classes are
installed into the runtime when the image binary is loaded. ZeroLink
tries very hard *not* to load image binaries. When you examine the
list of classes known by the runtime, some of them will be missing
becase ZeroLink has not loaded their image binaries yet.

The only solution is to turn off ZeroLink for this project.

This would be very unfortunate. Am I right that the only way to control ZeroLink is to somehow let my framework know the names of the testClasses?

There must be another way to let my Framework know the names of the Test-Classes without actually specifying them in code.

An odd thought: It should be possible to have some sort of script run in the build process that gets all filenames in the project. It should be trivial to filter the testclasses out and pass them in to the app as an argument if ZeroLink is activated.

Now comes the problem, I've never done something like this, but this should be possible, right?

Or is there a more simple aproach?

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: 
 >Re: ZeroLink and dynamic discovered Classes (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: Localized alert function?
  • Next by Date: Re: Cocoa Target Remains NULL
  • Previous by thread: Re: ZeroLink and dynamic discovered Classes
  • Next by thread: Re: ZeroLink and dynamic discovered Classes
  • Index(es):
    • Date
    • Thread