iPhone Memory Management

后端 未结 3 484
渐次进展
渐次进展 2021-01-20 06:14

I\'m working on an app and I\'d like to make sure that I\'m managing memory properly and releasing everything that I should. In my viewDidLoad method I allocate some variab

3条回答
  •  隐瞒了意图╮
    2021-01-20 06:49

    short answer : when you create an object using constructors that dont have the word init then you are not responsible for releasing it

    see this for more explanation

    also the memory management guide is an excellent resource to know more about memory management in objective c

提交回复
热议问题