Closed MSch closed 13 years ago
Yes, unless you use -all_load categories w/o classes are not loaded in static libs. There are workarounds though.
I have nothing against -all_load, but putting and empty class in categories would fix it too
From Nimbus (who copied it from three20)
/**
@implementation NI_FIX_CATEGORYBUG##name @end
But I guess you won't like it, as it's again macro magic ;)
you need to add all_load linker flag
sent from phone
Am 10.07.2011 um 11:12 schrieb MSchreply@reply.github.com:
Seems that linking against a static library doesn't load the Categories?
Can someone try the tests in master vs. the tests in framework-target?
Maybe there's another explanation.
Reply to this email directly or view it on GitHub: https://github.com/foundationkit/FoundationKit/issues/24
I'm all for the macro magic. Way better than forcing our users to change build settings.
Seems that linking against a static library doesn't load the Categories?
Can someone try the tests in master vs. the tests in framework-target?
Maybe there's another explanation.