Re: Garbage Collection Errors when Creating System Prefs Pane
Re: Garbage Collection Errors when Creating System Prefs Pane
- Subject: Re: Garbage Collection Errors when Creating System Prefs Pane
- From: Jens Alfke <email@hidden>
- Date: Mon, 03 Oct 2016 10:14:28 -0700
On Oct 2, 2016, at 4:47 PM, Robert Monaghan < email@hidden> wrote:
However, Apple didn’t mention anything about C++ in an NSPreferencePane object. After some experimenting, I discovered that if I created a new wrapper class for my C++ code, I could compile a plugin. It appears that changing your NSPreferencePane subclass from a Obj-C object to an Obj-C++ object will break Xcode.
That’s pretty bizarre; switching to Obj-C++ shouldn’t make a difference. What exactly are the link errors you got when using a .mm file?
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden