01 2015 档案

iOS UITableViewCell UITableVIewController 纯代码开发
摘要:iOS UITableViewCell UITableVIewController 纯代码开发 1.纯代码 自定义UITableViewCell 直接上代码//////#import @interface CodeTableViewCell : UITableViewCell@property... 阅读全文

posted @ 2015-01-26 14:39 ACM_Someone like you 阅读(1196) 评论(0) 推荐(0) 编辑

iOS 8以后 定位手动授权问题
摘要:ios8以后 都是手动授权定位权限 不过不处理这块 在ios8以后的系统就会默认永不授权 即关闭了定位权限处理办法如下1.导入框架头文件 #import 2.声明实例变量 CLLocationManager *locationManager3.初始化第一步关键:if(!locationManage... 阅读全文

posted @ 2015-01-22 14:15 ACM_Someone like you 阅读(497) 评论(0) 推荐(0) 编辑

IOS int NSInteger NSNumber区分
摘要:1.NSNumber 是一个类继承于NSValue 即一个基本数据类型的集合 包括chara signed or unsigned char, short int, int, long int, long long int, float, or double or as a BOOLNSNumber... 阅读全文

posted @ 2015-01-19 17:57 ACM_Someone like you 阅读(836) 评论(0) 推荐(0) 编辑

iOS define 宏定义 和 const定义常量区别
摘要:const const是c++中的修饰符。c++中常用来定义常量,修饰左值。#define 宏定义语句, 在预处理阶段直接做文本替换,不做类型检查。它们之间的最大区别:1. 对于const变量,系统只给了一个相应的内存地址,而#define则是给出了一个立即数。因为const变量是存放在内存的静态... 阅读全文

posted @ 2015-01-19 09:47 ACM_Someone like you 阅读(1400) 评论(0) 推荐(0) 编辑

iOS 关于NSNotificationCenter
摘要:通常我们在iOS中发生什么事件时该做什么是由Delegate实现的, Apple 还为我们提供了另一种通知响应方式,那就是NSNotification.NSNotificationCenter较之于Delegate可以实现更大的跨度的通信机制,可以为两个无引用关系的两个对象进行通信。NSNotifi... 阅读全文

posted @ 2015-01-13 20:03 ACM_Someone like you 阅读(336) 评论(0) 推荐(0) 编辑

IOS UITableView reload 刷新某一个cell 或 section
摘要:通常刷新整个列表 我们都使用[self.tableView reloadData];有的时候,有变化更新的只是某一行 row 或者是某个section 所以只更新这一行就好了//一个section刷新int section_index=10;//更新第11个sectioin[self.tableVi... 阅读全文

posted @ 2015-01-05 11:41 ACM_Someone like you 阅读(1994) 评论(0) 推荐(0) 编辑

iOS NSDate 判断当前日期是否合法
只有注册用户登录后才能阅读该文。

posted @ 2015-01-04 19:40 ACM_Someone like you 阅读(3) 评论(0) 推荐(0) 编辑

iOS NSDate 农历 节气
只有注册用户登录后才能阅读该文。

posted @ 2015-01-04 19:38 ACM_Someone like you 阅读(6) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 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 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示