码迷,mamicode.com
首页 >  
搜索关键字:cell    ( 5130个结果
Stem Cell 华人科学家
Jianping Fu密歇根大学机械工程系生物医学工程专业PhD, Massachusetts Institute of Technology, 2007MS, University of California, Los Angeles, 2002BE, University of Science ...
分类:其他好文   时间:2014-06-28 13:02:36    阅读次数:153
UITableView添加波浪动画效果
给UITableView添加波浪动画效果,即每个cell按顺序从左到右动画进入
分类:其他好文   时间:2014-06-28 12:06:48    阅读次数:200
[LeetCode] Word Search [37]
题目Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adja...
分类:其他好文   时间:2014-06-27 17:25:52    阅读次数:225
TabelViewCell自适应高度
1.首先,设置 cell 中显示文本的容器(这里假设是 Label)的一些属性,如下: [_Label setNumberOfLines:0]; //这个是设置 label 内文本的行数,0 代表自适应 [_Label setLineBreakMode:NSLineBreakByWordWrapping]; //断行模式 [_Label setFont:[UIFon...
分类:其他好文   时间:2014-06-27 09:13:12    阅读次数:201
pio设置单元格式
第一种:日期格式 cell.setCellValue(new Date(2008,5,5)); //set date format HSSFCellStyle cellStyle = demoWorkBook.createCellStyle(); HSSFDataFo...
分类:其他好文   时间:2014-06-26 18:15:38    阅读次数:192
UITableViewCell滑动删除及移动
实现Cell的滑动删除, 需要实现UITableView的代理UITableViewDelegate中如下方法://先要设Cell可编辑- (BOOL)tableView:(UITableView*)tableView canEditRowAtIndexPath:(NSIndexPath*)inde...
分类:移动开发   时间:2014-06-26 17:53:38    阅读次数:148
IOS Table中Cell的重用reuse机制分析
创建UITableViewController子类的实例后,IDE生成的代码中有例如以下段落:[cpp]view plaincopy-(UITableViewCell*)tableView:(UITableView*)tableViewcellForRowAtIndexPath:(NSIndexPa...
分类:移动开发   时间:2014-06-25 15:35:10    阅读次数:247
2014-06-24 UITableView
1.针对cell上按钮(UIButton)的不响应SEL 这个问题一般是由xib导致的,当从xib中load cell的时候,cell会自动在xib上加一层contentView,所以xib中的按钮等控件都被contentView挡住了,可以将contentView的backgroundColor....
分类:其他好文   时间:2014-06-25 11:50:53    阅读次数:189
改变cell的背景颜色
#defineDARK_BACKGROUND[UIColorcolorWithRed:151.0/255.0green:152.0/255.0blue:155.0/255.0alpha:1.0];-(void)tableView:(UITableView*)tableViewwillDisplayCell:(UITableViewCell*)cellforRowAtIndexPath:(NSIndexPath*)indexPath{cell.backgroundColor=DARK_BACKGROUND;}
分类:其他好文   时间:2014-06-25 10:48:56    阅读次数:264
iOS开发 日常错误积累
1、ios7 tableviewcell上面添加一个view,view上面有button,点击button不执行button的点击事件 解决办法: self.view.userInteractionEnabled = YES; [cell.contentView addSubview:self.view] 主要问题是cell的高度没有view本事的高度高,造成view没有完全在ce...
分类:移动开发   时间:2014-06-25 07:12:58    阅读次数:263
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!