views:

125

answers:

1

Hi

I would like to know whether objects returned by NSUserDefault is in autorelease pool or am is suppose to release them, and how should i know that any given object is in autorelease pool.

Thanks Rakesh.P

+2  A: 

Items returned by NSUserDefaults are autoreleased.

Everything in the Cocoa framework adheres to the Cocoa Memory Management Rules. Learn those, and you'll be set.

iKenndac