- 博客(4)
- 收藏
- 关注
原创 6.26 iOS开发自定义tableView使用
1. #import #import "MyAttentionArticleModel.h" typedef void(^cancleAttentionButtonBlock)(NSIndexPath * indexPath); @interface ArticleAttentionTableView : UITableView @property(nonatomic,st
2017-06-26 11:49:04 266
原创 6.26 iOS开发Delegate使用
1.定义协议,定义方法,定义属性 #import #define kTitleViewH 50 @protocol MyOrderTopViewDelegate @optional -(void)didSelectedIndex:(NSInteger)tag; @end @interface MyOrderTitleView : UIView - (instancetype
2017-06-26 11:40:22 151
原创 06.25 如何判断数据类型
1.typeof console.log(typeof undefined)//'undefined' console.log(typeo fnull) // well-known bug console.log(typeo ftrue) //'boolean' console.log(typeof 123) //'number' console.log(typeof "abc")
2017-06-25 14:46:59 323
原创 js创建对象的方式
//创建对象的方式: //第一种: json的方式创建对象 // var o = { key: val }; // var arry = [ 1,2, 4, {}]; // var kong = {}; // var kong2 = new Object(); var o = { name: 'qingtao', age : 18, sayHi: function() {
2017-06-07 14:23:16 188
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人