ywangd
Sep 13, 2015 - 10:31
When creating objc objects, how I can tell if autorelease calls are necessary? Python objects are garbage collected. Can I rely on this for objc objects as well?
I looked at sample codes provided by @omz , but cannot find a pattern when to call autorelease.
Specifically, do I need to call autorelease when creating an object that subclass UITextView? And what about NSMutableAttributedString?