码迷,mamicode.com
首页 >  
搜索关键字:uitableviewcell 定制选中颜色    ( 739个结果
42.小项目:微博 V部分
---------- CZStatuesCell.h ----------#import @class CZStatuesFrame;@interface CZStatuesCell : UITableViewCell@property (nonatomic, strong) CZStatuesFr...
分类:其他好文   时间:2015-08-11 06:52:32    阅读次数:88
iOS 一个ViewController上显示2个tableView的方法
1.在StoryBoard上创建2个tableView,并用autolayout约束。 2.在ViewController上拖进来。 @property (weak, nonatomic) IBOutlet UITableView *leftTableView; @property (weak, nonatomic) IBOutlet UITableView *rightTableView...
分类:移动开发   时间:2015-08-08 13:37:59    阅读次数:164
UITableView 表视图
1.表视图通常?用来管理?一组具有相同数据结构的数据。2.UITableView继承?自UIScrollView,所以可以滚动3.表视图的每?一条数据都是显?示在UITableViewCell对象中4.表视图可以分区显?示数据,每个分区称为?一个section,每?一?行称为 row,编号都是从0开始表视图的创建重要属性1.style样式一共分为两种:plain和group 2.分割线样式:sep...
分类:其他好文   时间:2015-08-07 22:28:17    阅读次数:117
IOS TableView详解(一)
先考虑tableView中的cell,是变高还是等高,这个很重要,先考虑等高的情况:    一.cell等高   1.   新建一个类,使其继承UITableViewCell类,然后记得创建一个绑定的Xib文件   如果cell等高的话,那说明cell中的宽度已确定,高度也确定,那么最好先将xib中的cell的设计图扩大到实际的大小,这 样才能看到真正的情况,这...
分类:移动开发   时间:2015-08-07 11:14:38    阅读次数:317
UITableViewCell
1.Push跳转- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *cellKey=@"cellKey...
分类:其他好文   时间:2015-08-06 21:47:22    阅读次数:99
custom UITableViewCell selected Color
定制UITableView中UITableViewCell点击颜色:self.selectionStyle=UITableViewCellSelectionStyleDefault;UIView*selectedBackgroundView=[[UIViewalloc]init];selectedBackgroundView.backgroundColor=[UIColorcolorWithHexString:@"#efefef"];self.selectedBackgroundView=se..
分类:其他好文   时间:2015-08-06 18:47:05    阅读次数:133
Tableview RefreashControl 下拉之后马上返回
Tableview RefreashControl 下拉之后马上返回原因很简单: 我把[self.tableView setContentInset:UIEdgeInsetsMake(0, 0, 0, 0)]; 错误的写在了 - (UITableViewCell *) tableVie...
分类:其他好文   时间:2015-08-06 12:52:05    阅读次数:91
Assertion failure in -[UITableViewCell layoutSublayersOfLayer:]
近日做ios的autolayout时候在兼容ios6的时候遇到以下Assert,但在ios7和ios8上就运行良好Assertionfailurein-[UITableViewCelllayoutSublayersOfLayer:],/SourceCache/UIKit/UIKit-2380.17/UIView.m:5776 requiredafterexecuting-layoutSubviews.CategoryCell‘simplementationo..
分类:其他好文   时间:2015-08-05 13:13:39    阅读次数:175
iOS 在一个TableView内使用不同的Cell
通过Identifier标记不同的Cell,实现不同Cell的重用:- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ if (index...
分类:移动开发   时间:2015-08-05 12:44:22    阅读次数:170
怎么解决UIScrollView把uitableviewcell的点击事件屏蔽了
[self.contentView addSubview:self.scrollView]; self.scrollView.userInteractionEnabled = NO; [self.contentView addGestureRecognizer:self.scro...
分类:其他好文   时间:2015-08-03 22:17:50    阅读次数:112
739条   上一页 1 ... 34 35 36 37 38 ... 74 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!