# JGExpandTableDemo **Repository Path**: JJet/JGExpandTableDemo ## Basic Information - **Project Name**: JGExpandTableDemo - **Description**: cell的展开菜单的简单实现! - **Primary Language**: Objective-C - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-09-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #JGExpandTableDemo 效果实现如下:
效果一: ![](http://git.oschina.net/JJet/JGExpandTableDemo/raw/master/JGExpandTableDemo2/JGExpandTableDemo2/ScreenShot/record3.gif?) 效果二: ![](http://git.oschina.net/JJet/JGExpandTableDemo/raw/master/JGExpandTableDemo2/JGExpandTableDemo2/ScreenShot/record5.gif?)
相关方法介绍:
此展开菜单效果实现了两种功能: 一个是实现关闭当前的cell,打开点击对应的cell过程; 一个只是点开展开对应的cell,点击其他cell时不会自动关闭; 在JGDrupTableHandler.m类中有两个方法: - (void)closeCurrentCellWithIndexPath:(NSIndexPath *)indexPath andTableView:(UITableView *)tableView; 和: [self seletedIndexPath:indexPath inTableView:tableView];方法。 打来相应的方法实现不同的效果! ## 宝贵意见 如果有任何问题,请到Git@OSC中发消息给我,写上你不明白的地方,我会在Git@OSC给予帮助。[这个是我的GitHub地址](https://github.com/JJetGu)