I know you can't use GC in iPhone applications cause iPhone does not have enough resources to enable that - it would kill the performence.
What about iPad. I know they run iPhone 开发者_StackOverflowOS too, does that mean that CG can't be enabled on the iPad as well?
There is no Garbage Collected variant of Objective-C in the iPhoneOS. Not even iPad, nor 4.0. Probably Apple doesn't find it important to support it.
With the incoming Xcode 4.2 (still in beta) + iOS 5 you have something almost similar called ARC..
精彩评论