摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSArray *arr=@[@{@"name":@"Tim Cook",@"age":@"24",@"sex":@"female",@"score":@... 阅读全文
posted @ 2016-01-11 16:44 哎呦喂i 阅读(342) 评论(0) 推荐(0) 编辑
摘要: //// main.m// Text3.2//// Created by 123 on 16/1/9.// Copyright (c) 2016年 com.swl. All rights reserved.//#import int main(int argc, const char * argv[... 阅读全文
posted @ 2016-01-11 13:43 哎呦喂i 阅读(708) 评论(0) 推荐(0) 编辑
摘要: //// main.m// Text3.1//// Created by 123 on 16/1/9.// Copyright (c) 2016年 com.swl. All rights reserved.//#import #define NSLog(FORMAT, ...) printf("%s... 阅读全文
posted @ 2016-01-11 13:30 哎呦喂i 阅读(258) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { //查找名字里面包含“王”的姓 NSArray *array = [[NSArray alloc]initWithObjects:@"小王",@"王... 阅读全文
posted @ 2016-01-11 13:21 哎呦喂i 阅读(268) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { //查询单词里面包含“ang”的字符串 NSArray *array = [[NSArray alloc]initWithObjects:@"bei... 阅读全文
posted @ 2016-01-11 13:20 哎呦喂i 阅读(216) 评论(0) 推荐(0) 编辑
摘要: #import #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])int main(int argc, const char * argv[... 阅读全文
posted @ 2016-01-11 13:18 哎呦喂i 阅读(331) 评论(0) 推荐(0) 编辑
摘要: #import #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])int main(int argc, const char * argv[... 阅读全文
posted @ 2016-01-11 13:18 哎呦喂i 阅读(255) 评论(0) 推荐(0) 编辑
摘要: #import #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])static NSString * const kName = @"nam... 阅读全文
posted @ 2016-01-11 13:17 哎呦喂i 阅读(268) 评论(0) 推荐(0) 编辑
摘要: #import #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])int main(int argc, const char * argv[... 阅读全文
posted @ 2016-01-11 13:15 哎呦喂i 阅读(121) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool {//1.对字符串“2015-09-01 08:19:10”操作,输出"08:19:10"。要求使用两种截取方式。 NSString *str1=@"2015... 阅读全文
posted @ 2016-01-11 13:14 哎呦喂i 阅读(169) 评论(0) 推荐(0) 编辑
摘要: //// main.m// 考核题//// Created by 中嘉博众集团 on 15/11/16.// Copyright (c) 2015年 com.sisp. All rights reserved.//#import #define NSLog(FORMAT, ...) printf("... 阅读全文
posted @ 2016-01-11 13:13 哎呦喂i 阅读(185) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSNumber *op1=@10; NSNumber *op2=@12.34; NSNumber *op3=@'A'; NS... 阅读全文
posted @ 2016-01-11 13:12 哎呦喂i 阅读(304) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSString *name=@"王重阳"; NSInteger age=56; NSString *work=@"道长"; ... 阅读全文
posted @ 2016-01-11 13:10 哎呦喂i 阅读(461) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool {NSDictionary *dic1=@{@"name":@"小阳", @"class":@"IOS6", @... 阅读全文
posted @ 2016-01-11 13:07 哎呦喂i 阅读(347) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSDictionary *dic=@{@"1-1":@"02", @"1-2":@"11", @"1... 阅读全文
posted @ 2016-01-11 13:04 哎呦喂i 阅读(121) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSMutableDictionary *mudic=[[NSMutableDictionary alloc]initWithObjectsAndKeys... 阅读全文
posted @ 2016-01-11 13:03 哎呦喂i 阅读(167) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSMutableDictionary *mudic=[[NSMutableDictionary alloc]initWithObjectsAndKeys... 阅读全文
posted @ 2016-01-11 12:59 哎呦喂i 阅读(2378) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSNumber *num=[NSNumber numberWithInt:100]; NSDictionary *dic=[NSDictionary... 阅读全文
posted @ 2016-01-11 12:58 哎呦喂i 阅读(473) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { //数组内元素排序NSArray *arr=@[@"MON",@"TUE",@"WED",@"THU",@"FRI",@"SAT",@"SUN"]; ... 阅读全文
posted @ 2016-01-11 12:49 哎呦喂i 阅读(303) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { //可变数组继承不可变数组 //1.创建 设定元素个数进行创建 NSMutableArray *mutArr=[NSMutableArray ... 阅读全文
posted @ 2016-01-11 12:45 哎呦喂i 阅读(135) 评论(0) 推荐(0) 编辑