12 2015 档案
摘要:-(UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{ return UITableViewCellEdi...
阅读全文
摘要:---恢复内容开始---效果:实现原理,先画一个矩形,把这个矩形当作tableView的mask;代码://画一个圆角的矩形- (void)drawRect:(CGRect)rect { //获取当前上下文 CGContextRef context = UIGraphicsGetCurr...
阅读全文
摘要:---恢复内容开始---主要是通过两个代理方法:- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { if ([[self.selectArray...
阅读全文
摘要:本demo主要实现对表单元内容的复制(长按复制),为了方便用户对表视图的内容进行提取而设计。效果图如下:创建基于UITableViewCell类的CopyCell,.h,.m代码如下。#import @class copyCell;@protocol copyCellDelegate @requir...
阅读全文

浙公网安备 33010602011771号