码迷,mamicode.com
首页 >  
搜索关键字:uitableview delete按钮    ( 2136个结果
iOS_13_tableView的编辑模式_红楼梦
最终效果图: Girl.h // // Girl.h // 12_tableView的增删改 // // Created by beyond on 14-7-27. // Copyright (c) 2014年 com.beyond. All rights reserved. // #import @interface Girl : NSObject // UI控...
分类:移动开发   时间:2014-07-28 15:43:43    阅读次数:358
UITableView 索引的设置
if (_indexCollation ==nil) { _indexCollation= [UILocalizedIndexedCollationcurrentCollation]; } NSArray *localTracks = [NSArrayarray]; //...
分类:其他好文   时间:2014-07-28 15:34:33    阅读次数:208
IOS开发复习笔记(4)-TableView
总结几个TableView常用的代码 初始化方面 static string CellIndetifier="cellIndetifier";-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{ return 1;//表中...
分类:移动开发   时间:2014-07-28 11:22:30    阅读次数:222
【iOS知识学习】_iOS动态改变TableView Cell高度
在做tableView的时候,我们有时候需要根据cell的高度动态来调整,最近在网上看到一段代码不错,跟大家Share一下。 在 -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ 类中获取cell的高度: CGSize bo...
分类:移动开发   时间:2014-07-27 23:42:29    阅读次数:421
UITabBarController详解(介绍和设置)
UITabBarController详解(介绍和设置)...
分类:其他好文   时间:2014-07-26 02:56:16    阅读次数:210
UITableView:可展开的 UITableView
针对 TableView,有些时候需要在点击 cell 时,展开这行 cell,显现出更多的选项或者全部内容等。比较容易想到的处理方案就是利用 section,在未选择之前,每一行都是一个 section,待展开的内容都在这个 section 的 row 里面。在点击事件里,reload 当前选中的...
分类:其他好文   时间:2014-07-25 10:03:14    阅读次数:222
uitableview多行选择
1 interface ViewController () 2 3 @property (weak, nonatomic) IBOutlet UITableView *tableView; 4 5 @end 6 7 @implementation ViewController 8 9 ...
分类:其他好文   时间:2014-07-25 02:24:44    阅读次数:248
UISegmentedControl的详细使用
当用户输入不仅仅是布尔值时,可使用分段控件(UISegmentedControl)。分段控件提供一栏按钮(有时称为按钮栏),但只能激活其中一个按钮。分段控件会导致用户在屏幕上看到的内容发生变化。它们常用于在不同类别的信息之间选择,或在不同的应用屏幕之间切换。下面介绍基本属性和基本方法的使用。...
分类:其他好文   时间:2014-07-24 23:25:43    阅读次数:211
UIStepper
@在IOS5中增加了一个UIStepper的新控件,UIStepper可以连续增加或减少一个数值。控件的外观是两个水平并排的按钮构成,一个显示为“+”,一个显示为“-”。...
分类:其他好文   时间:2014-07-24 23:24:53    阅读次数:197
UISegmentedControl(分页控制器) AND UISlider(滑块控制器)
- (void)viewDidLoad   {       [super viewDidLoad];              UIImageView * animatedImageView = [[UIImageView alloc]initWithFrame:CGRectMake(60, 80, 200, 300)];       animatedImageView.backgrou...
分类:其他好文   时间:2014-07-24 23:24:34    阅读次数:356
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!