NSPrefrencePane with Garbage Collection won't work in System Preferences?
NSPrefrencePane with Garbage Collection won't work in System Preferences?
- Subject: NSPrefrencePane with Garbage Collection won't work in System Preferences?
- From: Tobias Zimmerman <email@hidden>
- Date: Fri, 27 Feb 2009 13:52:58 -0500
- Thread-topic: NSPrefrencePane with Garbage Collection won't work in System Preferences?
Can someone confirm that the System Preferences application cannot load a
preference pane that is compiled with garbage collection? Even linking to a
framework compiled with GC ³supported² causes System Prefs to reject my
preference pane (Give an error saying it cannot be loaded). Turn off GC and
the pane loads fine.
I am sharing code between the PrefPane (which is fine using retain counts)
and a GC app (I just cannot make it work without GC, having been spoiled by
GC), and want to use a framework for the common pieces, but it seems like
the entire project has to be GC-free.
I have googled this and am surprised I haven¹t seen references to the issue.
Am I doing something wrong (other than not writing dual-mode code), or is
there a known incompatibility between GC and the System Preferences?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden