I've heard it wasn't, yet others seem to swear by it.
One guy told me GC would prematurely mark and collect on class variables without warning. I haven't been able to confirm or deny it. He was referring to this type of allocation:
[NSString stringWithFormat
"%@", @"This is a test"];
versus
[[NSString alloc] initWithFormat: @"%@", @"This is a test"];
He told me the first example could be prematurely collected, as in before it even gets used, whereas the GC would handle the second example properly.
I'm considering switching to a GC environment for development, but not if it's buggy.
Comments anyone?
One guy told me GC would prematurely mark and collect on class variables without warning. I haven't been able to confirm or deny it. He was referring to this type of allocation:
[NSString stringWithFormat
versus
[[NSString alloc] initWithFormat: @"%@", @"This is a test"];
He told me the first example could be prematurely collected, as in before it even gets used, whereas the GC would handle the second example properly.
I'm considering switching to a GC environment for development, but not if it's buggy.
Comments anyone?