2016年1月12日

ios购物车的实现

摘要: #import static NSString * const keyProductId = @"productId";//商品IDstatic NSString * const keyProductPrice = @"productPrice";//商品价格static NSString * c... 阅读全文

posted @ 2016-01-12 10:59 涨姿势大叔 阅读(2947) 评论(0) 推荐(0)

ios去时间戳

摘要: #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]) 阅读全文

posted @ 2016-01-12 09:05 涨姿势大叔 阅读(109) 评论(0) 推荐(0)

2016年1月11日

数组排序

摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSArray *arr=@[@{@"name":@"Tim Cook",@"age":@"24",@"sex":@"female",@... 阅读全文

posted @ 2016-01-11 16:20 涨姿势大叔 阅读(279) 评论(0) 推荐(0)

ios数组字典混合运用

摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { //数组 NSArray *arr=@[@"1",@"2",@"3",@"4"]; //数组中有数组 ... 阅读全文

posted @ 2016-01-11 10:26 涨姿势大叔 阅读(1089) 评论(0) 推荐(0)

2016年1月10日

中文数组排序

摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { /* 第1题 请将如下数据存储成字典,并将字典内容以字符串形式输出,输出:"XXX,年龄XXX岁,科目XXX,分数XXX"(将XXX替换为相... 阅读全文

posted @ 2016-01-10 15:24 涨姿势大叔 阅读(157) 评论(0) 推荐(0)

ios数组面试题

摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { /* 第1题 字符串中的world替换为i bookan wisdom */ NSString *str1=@"hello wo... 阅读全文

posted @ 2016-01-10 14:08 涨姿势大叔 阅读(191) 评论(0) 推荐(0)

object-c所有知识点集合

摘要: //// main.m// OC所有知识点集合//// Created by apple on 15/11/24.// Copyright © 2015年 apple. All rights reserved.//#import int main(int argc, const char * arg... 阅读全文

posted @ 2016-01-10 11:09 涨姿势大叔 阅读(254) 评论(0) 推荐(0)

2016年1月9日

ios字符串截取/数据存入数组

摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool {//1.对字符串“2015-09-01 08:19:10”操作,输出"08:19:10"。要求使用两种截取方式。 //第一个 ... 阅读全文

posted @ 2016-01-09 13:24 涨姿势大叔 阅读(863) 评论(0) 推荐(0)

ios字典用字符串输出

摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { /** * 第1题 请将如下数据存储成字典,并将字典内容以字符串形式输出,输出:"XXX,年龄XXX岁,职业XXX"(将XX... 阅读全文

posted @ 2016-01-09 12:33 涨姿势大叔 阅读(325) 评论(0) 推荐(0)

ios身份证key字典排序

摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { //1.以下是身份证号,输出身份证人的性别,年龄 NSString *idCard=@"210423198809040... 阅读全文

posted @ 2016-01-09 12:05 涨姿势大叔 阅读(389) 评论(0) 推荐(0)

导航

< 2025年6月 >
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12
点击右上角即可分享
微信分享提示