使用JASidePanels时不调用Dealloc

时间:2016-01-12 09:48:26

标签: ios memory-management

我正在使用JAsidepanels(https://github.com/gotosleep/JASidePanels)在我的应用中实现侧面菜单选项,最近我开始搜索App的内存管理。

我开始知道当我们关闭视图控制器时应该调用dealloc方法。

当我不使用JASidepanel时,调用Dealloc方法,

<table cellpadding="0"; cellspacing="0">
        <tr>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td width="60"><input type="text" /></td>
        <td width="60"><input type="text" /></td>
        </tr>
        <tr>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
        </tr>
        <tr>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
        </tr>
        <tr>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
            <td><input type="text" /></td>
        </tr>
    </table>

这就是我们引用“JASidePanelController”

的方式

我应该怎样做才能获得dealloc? 请帮我.. 谢谢

1 个答案:

答案 0 :(得分:0)

它似乎是一个死库,我建议使用另一个,那里有一些建议:

https://github.com/devindoty/DDMenuController

https://github.com/mystcolor/JTRevealSidebarDemo

https://github.com/edgecase/ECSlidingViewController

https://github.com/Inferis/ViewDeck

https://github.com/pkluz/ZUUIRevealController

https://github.com/gresrun/GHSidebarNav

检查提交日期和使用它的人。

我个人在项目中使用ECSlidingViewController和MMDrawerController。