会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Master HaKu
不积跬步,无以至千里;技术积累从点滴做起。
首页
新随笔
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
54
下一页
2016年3月30日
iOS中重用UITableView单元格时,千万别忘了这个
摘要: 不多说,看截图
阅读全文
posted @ 2016-03-30 17:17 Master HaKu
阅读(174)
评论(0)
推荐(0)
2016年3月28日
Swift 2 语言精要 - Initialization and Deinitialization
摘要: init相当于构造函数 deinit相当于析构函数 调用的例子: 运行结果: I've been created!I was called with the convenience initializer
阅读全文
posted @ 2016-03-28 11:08 Master HaKu
阅读(226)
评论(0)
推荐(0)
2016年3月22日
Objective-C中NSString与int和float的相互转换
摘要: NSString *tempA = @"123"; NSString *tempB = @"456"; 1,字符串拼接 NSString *newString = [NSString stringWithFormat:@"%@%@",tempA,tempB]; 2,字符转int int intStr
阅读全文
posted @ 2016-03-22 09:57 Master HaKu
阅读(21859)
评论(0)
推荐(0)
2016年3月8日
Android Studio常用快捷键
摘要: 新增: Ctrl + Alt + T(windows) Command + Option + T(Mac) 给语句加上包围语句(eg: try/catch/finally, for, do while...) Ctrl+G / Ctrl+Alt+Shift+G:查询变量或者函数或者类在哪里被使用或被
阅读全文
posted @ 2016-03-08 14:58 Master HaKu
阅读(2096)
评论(0)
推荐(0)
2016年2月14日
Python网络编程 - 一个简单的客户端Get请求程序
摘要: 运行结果: b'HTTP/1.1 200 OK\r\nDate: Sun, 14 Feb 2016 03:34:20 GMT\r\nContent-Type: text/html\r\nContent-Length: 14613\r\nLast-Modified: Wed, 03 Sep 2014
阅读全文
posted @ 2016-02-14 11:38 Master HaKu
阅读(1104)
评论(0)
推荐(1)
2016年2月1日
Xcode7 使用NSURLSession发送HTTP请求的问题
摘要: 报错信息: Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured
阅读全文
posted @ 2016-02-01 15:19 Master HaKu
阅读(263)
评论(0)
推荐(0)
2015年12月18日
STL - Unorderedset - 自定义哈希函数
摘要: 1. hash工具类hashval.hpp#ifndef _Core_HashVal_H_#define _Core_HashVal_H_#include // from boost (functional/hash):// see http://www.boost.org/doc/libs/1_3...
阅读全文
posted @ 2015-12-18 11:42 Master HaKu
阅读(1927)
评论(0)
推荐(0)
表格视图 - 填充数据
摘要: 1. 实现UITableViewDataSource协议2. 实现协议规定的重要方法// 通知表格视图要装载的区段数(可选)numberOfSectionsInTableView:// 告诉表格视图控制器每个区段应该装载多少单元格或者行数(强制)tableView:numberOfRowsInSec...
阅读全文
posted @ 2015-12-18 10:37 Master HaKu
阅读(334)
评论(0)
推荐(0)
2015年12月17日
表格视图 - 使用代码自定义行高度
摘要: 1. 实现UITableViewDelegate协议@interface ViewController () 2. 将表格视图的代理属性指向其父容器视图self.myTableView.delegate = self;3. 实现协议对应的方法tableView:heightForRowAtIndex...
阅读全文
posted @ 2015-12-17 11:20 Master HaKu
阅读(222)
评论(0)
推荐(0)
2015年11月26日
STL - 容器 - UnorderedSet(一)
摘要: 一些简单操作UnorderedSetTest.cpp#include #include #include "../../Core/print.hpp"#include "UnorderedSetTest.h"using namespace std;void UnorderedSetTest::sim...
阅读全文
posted @ 2015-11-26 16:14 Master HaKu
阅读(2381)
评论(1)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
54
下一页
公告