• 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
NSPrefrencePane with Garbage Collection won't work in System Preferences?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSPrefrencePane with Garbage Collection won't work in System Preferences?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: gui development without using xcode or interface builder
  • Next by Date: NSFileManager reads from invalid memory
  • Previous by thread: Re: enabling Edit menu items in a modal window?
  • Next by thread: Re: NSPrefrencePane with Garbage Collection won't work in System Preferences?
  • Index(es):
    • Date
    • Thread