[Biococoa-dev] modernizing BioCocoa

Koen van der Drift koenvanderdrift at gmail.com
Sat Jun 4 12:34:47 EDT 2011

On Sat, May 28, 2011 at 10:47 PM, Charles Parnot
<charles.parnot at gmail.com> wrote:
> My 2 cents: there are still many GC-only bugs in Apple's frameworks, particularly those built on top of CoreFoundation, but it does not seem BioCocoa has too many dependencies on those. The main question for GC is that given the framework status of BioCocoa, this means that GC-only or non-GC restricts its use to applications that are built in either configuration. For a framework, there are actually good reasons to support both, since it allows its use for both types of apps, memory-managed or GC-based. To support both, you can basically write everything as if it was memory-managed and then it should be good for GC as well, except maybe in a few places (and except for potential performance tuning). The framework build settings can thus be set to support both, and should be tested under both environments. So basically, keep the good habits of the memory-managed style.

Ok, I tried this, I set GC to -fobjc-gc in both BC and my project, but
I get an error that there is a GC mismatch between the app and some
libraries. So I suspect that one of the libraries that BC uses
(SenTesting, Webkit and/or CoreServices) does not have GC enabled.
And that is I'm afraid outside of our reach.

- Koen.

More information about the Biococoa-dev mailing list