Which iPhone OS memory management rules and how-to's do you know?

后端 未结 4 1198
臣服心动
臣服心动 2021-02-09 23:03

Currently I am jumping into the ice cold water called \"memory management in iPhone OS\".

Here\'s one rule i\'ve learned:

Every time I see an alloc in my method,

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-09 23:43

    Memory management can seem daunting when you're seeing segfaults spring from every seeming innocent line of code, but it's actually pretty easy once you get the hang of it. Spend a little time reading this page and then Apple's documentation, and you should be writing bug-free code in no time.

提交回复
热议问题