Skip to content

Comment on First Glance at Objective-C and the iPhone SDK (by a Java and C Developer)

Comments

Exactly when and where did Apple suggest not to use NSAutoReleasePool?

webbOP

I know this is a broad statement on my part. Apples says the following in the hello world tutorial, "In general, however, you should try to avoid using autorelease wherever possible since it means memory may be reclaimed later than it would be if you used release."

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.