smileyborg / UIView-AutoLayout

Deprecated in favor of PureLayout, which includes OS X support:
https://github.com/PureLayout/PureLayout
Other
1.45k stars 199 forks source link

memory leaks #20

Closed LewisLauYang closed 10 years ago

LewisLauYang commented 10 years ago

viewcontroller use UIView-AutoLayout,when pop from Navigationcontroller,viewcontroller never call dealloc. is UIView-AutoLayout's bug?

smileyborg commented 10 years ago

First of all, UIView+AutoLayout has been deprecated. It is no longer being updated or supported, you should switch to using PureLayout.

As far as memory leaks, I have not observed any, and the library is used by many other developers who have not reported any issues. What has led you to believe that the issue is UIView+AutoLayout?

ghost commented 10 years ago

Tyler is right. It's very unlikely that there are memory leaks caused by UIView+AutoLayout.

I would recommend that you review your UITableViewDelegate and UITableViewDataSource implementations. You are probably forcing a cell dequeue and not using/returning them. So the system can't access them in order to manage memory properly.

I can provide you more details if you need. I had similar issues before, but they were all about my implementation.

2014-09-26 10:25 GMT-03:00 Tyler Fox notifications@github.com:

First of all, UIView+AutoLayout has been deprecated. It is no longer being updated or supported, you should switch to using PureLayout https://github.com/smileyborg/PureLayout.

As far as memory leaks, I have not observed any, and the library is used by many other developers who have not reported any issues. What has led you to believe that the issue is UIView+AutoLayout?

— Reply to this email directly or view it on GitHub https://github.com/smileyborg/UIView-AutoLayout/issues/20#issuecomment-56960675 .