摘要: Oracle 创建分区表-- Create table 创建表create table TestTable( ID INTEGER not null,Name nvarchar2(100) not null,InsertedTime date not null)--同时创建分区表partition ... 阅读全文
posted @ 2015-04-13 10:11 斐济的夜光 阅读(259) 评论(0) 推荐(0)
摘要: 真机要加locale NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]; [fmt setLocale:locale]; 阅读全文
posted @ 2015-03-07 13:58 斐济的夜光 阅读(135) 评论(0) 推荐(0)
摘要: code4appgithubcoreplot框架,用来画K线 阅读全文
posted @ 2014-12-28 20:13 斐济的夜光 阅读(103) 评论(0) 推荐(0)
摘要: 关键是要调整navBarTransitionView 的frame。调整此view的frame后,view controller的view的frame会随其自动调整高度。float newHeight = 49;self.navigationController.navigationBar.fram... 阅读全文
posted @ 2014-12-17 15:03 斐济的夜光 阅读(1584) 评论(0) 推荐(0)
摘要: NSDate *nowDate = [NSDate date]; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"]... 阅读全文
posted @ 2014-12-07 12:42 斐济的夜光 阅读(115) 评论(0) 推荐(0)
摘要: 共同点利用通知和代理都能完成对象之间的通信(比如A对象告诉D对象发生了什么事情,A对象传递数据给D对象)不同点代理:一对一关系(1个对象只能告诉另1个对象发生了什么事情)通知:多对多关系(1个对象能告诉N个对象发生了什么事情,1个对象能得知N个对象发生了什么事情) 阅读全文
posted @ 2014-12-06 22:44 斐济的夜光 阅读(185) 评论(0) 推荐(0)
摘要: 1.新建一个继承自UITableViewCell的类2.重写initWithStyle:reuseIdentifier:方法Ø添加所有需要显示的子控件(不需要设置子控件的数据和frame, 子控件要添加到contentView中)Ø进行子控件一次性的属性设置(有些属性只需要设置一次, 比如字体\固定... 阅读全文
posted @ 2014-11-28 17:16 斐济的夜光 阅读(161) 评论(0) 推荐(0)
摘要: initWithStyle里添加子控件自定义cell要加载在contentView里 阅读全文
posted @ 2014-11-28 12:34 斐济的夜光 阅读(154) 评论(0) 推荐(0)
摘要: pageControl自带有个功能,点击页码的点时会变把pageControl的enable去掉就行,或者把 user interface enable去掉 阅读全文
posted @ 2014-11-23 15:19 斐济的夜光 阅读(122) 评论(0) 推荐(0)
摘要: 1[self.groups valueForKeyPath:@"name"]指groups 是一组group对象的数据,group对象里name的属性那么上面的意思就是返回每个group对象里name属性的值[group valueForKey:@"name"] 指是返回这个group对象里的nam... 阅读全文
posted @ 2014-11-23 12:33 斐济的夜光 阅读(384) 评论(0) 推荐(0)