码迷,mamicode.com
首页 >  
搜索关键字:nsinteger    ( 574个结果
iOS:提示框(警告框)控件UIActionSheet的详解
提示框(警告框)控件2:UIActionSheet功能:当点击按钮或标签等时,弹出一个提示框,显示必要的提示,然后通过添加的按钮完成需要的功能。它与导航栏类似,它继承自UIView。风格类型:typedef NS_ENUM(NSInteger, UIActionSheetStyle) { UIAc....
分类:移动开发   时间:2015-09-30 20:55:18    阅读次数:355
iOS:风火轮活动刷新视图控件UIActivityIndicatorView的详细使用
动态风火轮视图控件:UIActivityIndicatorView介绍:它是一种类似于风火轮旋转的视图控件,可用作刷新数据时显示加载过程所用,继承自UIView。类型:typedefNS_ENUM(NSInteger, UIActivityIndicatorViewStyle) { UIActivi...
分类:移动开发   时间:2015-09-30 17:51:03    阅读次数:170
UISegment属性
1.segmentedControlStyle设置segment的显示样式。 1 typedef NS_ENUM(NSInteger, UISegmentedControlStyle) 2 { 3 UISegmentedControlStylePlain, // large plain 系...
分类:其他好文   时间:2015-09-29 14:26:41    阅读次数:251
声明类型
//选择器传参a@property(nonatomic,assign) id taget;@property(nonatomic,assign) SEL action;@property(nonatomic,assign) NSInteger tag;//选择器传参b@property(nonato...
分类:其他好文   时间:2015-09-29 12:46:49    阅读次数:164
iOS:提示框(警告框)控件UIAlertView的详解
提示框(警告框)控件:UIAlertView功能:当点击按钮或标签等时,弹出一个提示框,显示必要的提示,然后通过添加的按钮完成需要的功能。类型:typedefNS_ENUM(NSInteger, UIAlertViewStyle) { UIAlertViewStyleDefault =0, ...
分类:移动开发   时间:2015-09-28 23:56:28    阅读次数:959
搜索栏8.0以后的
/* UITableView的搜索功能1.设置索引索引方法,要求索引元素的个数与分区的个数一致 (NSArray *)sectionIndexTitlesForTableView哪个索引不能点击,-(NSInteger)tableview: sectionForSectionIndexTitle2....
分类:其他好文   时间:2015-09-28 21:00:36    阅读次数:177
self、super、id的用法
一、self的用法oc中的self有点想C++中的this指针,它指向的是调用该方法的对象或者类,看一下例子:@implementation Book- (instancetype)initWithTile:(NSString *)title withPageNum:(NSInteger)pageN...
分类:其他好文   时间:2015-09-28 20:43:46    阅读次数:147
iOS开发UI篇—UITableview控件使用小结
iOS开发UI篇—UITableview控件使用小结一、UITableview的使用步骤UITableview的使用就只有简单的三个步骤:1.告诉一共有多少组数据方法:- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView;...
分类:移动开发   时间:2015-09-28 17:31:33    阅读次数:153
UI拓展练习1----打地鼠
//打地鼠核心代码: 1 #import "ViewController.h" 2 #define Krandom arc4random()%(115-100+1)+100 3 @interface ViewController () 4 { 5 NSInteger _n; /...
分类:其他好文   时间:2015-09-27 16:12:40    阅读次数:201
4 关于tableViewCell 显示不是空白行 使线宽和屏幕一样
单间介绍一下用最简单的语言表示 1 - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { 2 3 // Return the number of sections. 4 return 1; 5 } 6...
分类:其他好文   时间:2015-09-26 00:17:24    阅读次数:169
574条   上一页 1 ... 22 23 24 25 26 ... 58 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!