码迷,mamicode.com
首页 >  
搜索关键字:NSArray    ( 1675个结果)
UIView总结
UIView1.常见属性@property(nonatomic,readonly) UIView *superview;获得自己的父控件对象@property(nonatomic,readonly,copy) NSArray *subviews;获得自己的所有子控件对象@property(nonat...
分类:其他好文   时间:2015-08-25 23:10:27    阅读次数:97
草稿-九宫格
#import "AppDelegate.h"@interface AppDelegate ()@property(nonatomic,strong)NSArray*app;@end@implementation AppDelegate-(NSArray *)app{ if (_app == ni....
分类:其他好文   时间:2015-08-25 21:26:34    阅读次数:165
沙盒路径
沙盒的路径--妖妖1.找沙盒的一个偷懒的方法:将下面的这段代码随便复制到一个工程中,运行,控制台输出NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);NSL...
分类:其他好文   时间:2015-08-25 18:34:08    阅读次数:136
UITabBar的定制
在定制UITabBar时要继承与UITabBarController- (void)viewWillAppear:(BOOL)animated{ [super viewWillAppear:animated]; //1.获取subView NSArray *subView = self.tab...
分类:其他好文   时间:2015-08-25 13:40:31    阅读次数:109
OC中NSMutableArray 和NSMutableDictionary 中打印乱码问题
1,新建一个乱码文件的category分类文件 2.然后堆descriptionWithLocale函数进行重写。 例如: [objc] view plaincopy      @interface NSArray (chinese)     //local是你定义的数组同下 - (NSString *)descriptionWi...
分类:其他好文   时间:2015-08-21 23:27:43    阅读次数:156
oc字符串操作
#import @interface LYBNsstring : NSObject//1.+(NSString *) reveseWordsOfString:(NSString *)string;//2.+(NSArray *)symmetryArray:(NSArray *)arr;//3.+(N...
分类:其他好文   时间:2015-08-21 15:18:32    阅读次数:223
iOS 类库列表
1.LinqToObjectiveC#import"NSArray+LinqExtensions.h"它为NSArray添加了许多方法,能让你用流式API来转换、排序、分组和过滤其中的数据。
分类:移动开发   时间:2015-08-21 11:04:13    阅读次数:140
iOS .plist文件的常用配置
1、添加自定义字体 Fonts provided by application 敲回车自动变为NSArray类型 在Value列可以添加ttf文件的名称 (item0、1等不用改) 2、使用模拟器发送网络请求 NSAppTransportSecurity 设为Dictionary 然后加N...
分类:移动开发   时间:2015-08-20 19:19:13    阅读次数:401
【笔记】杂
NSArray 的初始化有 两种方法:(1)NSArray*array = [[NSArrayalloc]initWithObjects:@"red",@"white",@"blue",nil]; // 不要忘记 最后补填 nil(2)NSArray*array =@[@"red",@"white"...
分类:其他好文   时间:2015-08-20 15:14:39    阅读次数:108
UITableViewCellEditStyle多功能的实现
实现代码: -?(NSArray?*)tableView:(UITableView?*)tableView?editActionsForRowAtIndexPath:(NSIndexPath?*)indexPath { ????UITableViewRowAction?*editAction?=?[UITableViewRowAction?rowActi...
分类:其他好文   时间:2015-08-20 13:25:11    阅读次数:103
共1675条   上一页 1 ... 79 80 81 82 83 ... 168 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!