Re: Objective-C Garbage Collection problems
Re: Objective-C Garbage Collection problems
- Subject: Re: Objective-C Garbage Collection problems
- From: Josh de Lioncourt <email@hidden>
- Date: Tue, 9 Mar 2010 11:08:22 -0800
OK, here is the part that I'm still sticking on. First, you wrote:
On Mar 8, 2010, at 6:25 PM, Quincey Morris wrote:
> On Mar 8, 2010, at 16:01, Josh de Lioncourt wrote:
>
> Therefore, if the framework isn't coded for GC compatibility, it's likely going to be unusable at runtime in a GC app, no matter how you set the build settings.
>
> Was the framework written with code for both GC and non-GC environments?
>
From Apple's docs, it seems that setting the build setting to "Supported" rather than "Required", should allow the framework to either manage its own objects, or have them collected. What do you mean by "coded" for GC? If there are specific things that need to be changed to use even the "supported" setting, I cannot find specific information on what these would be, or what to look for to try to eliminate the problems in the source. I've already recompiled the framework with GC supported, but there's obviously more than must be done to truly make this work, and the docs have not been helpful.
The only thing I can think of, as of now, is perhaps, once the framework is compiled with GC supported, the GC, at run time, is not finding any "strong" references to the objects created by the framework, and destroying them as fast as they are created. If that is the case, I have no idea how to rectify that in the framework's source.
Thanks for any help on this.
_______________________________________________
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