Objective C @autoreleasepool directive

Posted by Cemre on Stack Overflow See other posts from Stack Overflow or by Cemre
Published on 2012-09-16T15:22:58Z Indexed on 2012/09/16 15:37 UTC
Read the original article Hit count: 158

I am reading a book which says (if I am not getting it wrong) wrapping some code with @autoreleasepool statement enables the ARC. First of all is this the case ?

My second concern is when I am doing some iOS example programs, although I enable ARC when creating a new project, I never see this directive being used anywhere (in the automatically generated code). Does this mean that ARC is not being used ? Any ideas/pointers is appreciated.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about automatic-ref-counting