为您找到相关结果55个

5. 18 Objective-C 常用数据类型(NSValue   NSNumber   ...

1. 思考:compare 方法 怎么比的,结果是什么 - (NSComparisonResult)compare:(NSNumber *)decimalNumber; // compare two NSDecimalNumbers typedef NS_...
www.lai18.com/content/18684...html 2015-5-20

nsnumber并不是一个简单的类 它是cocoa 中 类簇的实现参考资料

NSNumber来举个例子,我们都知道NSNumber可以存储多种类型的数字,如Int/Float/Double等等,一种方式是把NSNumber作为基类,然后分别去实现各自的子类,像这样...
www.lai18.com/content/3312...html 2014-1-9

NSFileManager介绍和用法 - Lai18.com IT技术文章收藏夹

集合对象的内存管理、copy概念 OC结构体、NSNumber、NSValue、NSDat iOS沙盒(sandbox)机制 NSFileManager介绍和用法 << >> u013136306的文件夹 << >> 文章推荐 ...
www.lai18.com/content/80894...html 2017-1-3

iOS 日历方法大全 - Lai18.com IT技术文章收藏夹

[NSNumber numberWithInteger:comps.month] forKey:@"month"]; [dict setObject:[NSNumber numberWithInteger:comps.day] forKey:@"day"]; [dict setObject:[...
www.lai18.com/content/66220...html 2016-12-4

《招聘一个靠谱的iOS》面试题参考答案 - Lai18.com IT技术文章...

@property NSNumber * age;@end使用实例:NSArray * whcArr ; (whcArr存都是WHC对象)NSnumber * agvWhc = [whcArr valueForKeyPath:@“@agv.age”];//获取...
www.lai18.com/content/75708...html 2016-12-6

xmpp解析 - Lai18.com IT技术文章收藏夹

[NSNumber numberWithBool:YES] forKey:(NSString *)kCFStreamSSLAllowsAnyRoot]; } if (allowSSLHostNameMismatch) { [settings setObject:[NSNull null] forKey...
www.lai18.com/content/22350...html 2016-11-7

IOS动画简介 - Lai18.com IT技术文章收藏夹

- (void)showHideDidStop:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context { [UIView beginAnimations:@"ShowHideView2" ...
www.lai18.com/content/15827...html 2016-12-1

ios音视频流 - Lai18.com IT技术文章收藏夹

[NSNumber numberWithInt:640], AVVideoHeightKey:[NSNumber numberWithInt:640]}; writerInput = [AVAssetWriterInput assetWriterInputWithMediaType:AVMediaType...
www.lai18.com/content/25701...html 2016-12-23

(转) iCloud Storage 详细的官方文档 - Lai18.com IT技术文章收藏夹

NSNumber* isIniCloud = nil; if ([filegetResourceValue:&isIniCloudforKey:NSURLIsUbiquitousItemKey error:nil]) { // If theitem is in ...
www.lai18.com/content/73281...html 2016-11-10

iOS开发屏幕适配,纯代码是如何实现的? - Lai18.com IT技术文章...

NSDictionary *metrics = @{@"width":[NSNumbernumberWithFloat:imgv.frame.size.width], @"height":[NSNumber numberWithFloat:imgv.frame.size.height], @"...
www.lai18.com/content/67958...html 2016-12-5