开发者

iPhone Leak on UITextfield text

开发者 https://www.devze.com 2023-04-06 09:42 出处:网络
Instruments tools says this is a leak but I can\'t figure out why, a开发者_JS百科ny ideas? Make sure you are releasing self.variables property in your dealloc (or somewhere).Also, ensure that your Va

Instruments tools says this is a leak but I can't figure out why, a开发者_JS百科ny ideas?

iPhone Leak on UITextfield text


Make sure you are releasing self.variables property in your dealloc (or somewhere). Also, ensure that your Variable class is releasing variableValues property in the Variable class's dealloc.


That's not a proper way to assign @"" to a NSMutableString. You should use setString: instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消