Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通常会粘贴我的代码,但我认为在这种情况下,展示我的代码的外观很重要。
根据此处的建议解决泄漏问题,我进行了一些更改。但是,我的-init方法不再被调用。谁能指出问题?
-init
的断点-init从未遇到过。
你在打电话[super init];这将调用init超类的实现。
[super init]
init