Sherlock Holmes received a note with some strange strings: "Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm". It took him only a minute to figure out that those strange strings are a...
分类:
其他好文 时间:
2015-03-07 14:10:19
阅读次数:
103
想当初在学校主攻的是.NET,来到公司后,立马变成java开发,之后又跳到iOS开发,IT人这样真的好么~~ 天有不测风云,云还有变幻莫测哎,废话Over,let's go~ 新学iOS开发不久,一直在想一个问题,IB可以图形化设计界面,为毛不直接拿设计好的界面直接复用呢? 百度了很多,发现大部分....
分类:
移动开发 时间:
2015-03-07 13:56:12
阅读次数:
2937
DescriptionAstronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level...
分类:
编程语言 时间:
2015-03-07 11:22:42
阅读次数:
150
1924. Four Imps
Time limit: 1.0 second
Memory limit: 64 MB
The world is in danger. One famous swindler passed away recently (by the way, nobody knows his real name, so let's call him Osta...
分类:
其他好文 时间:
2015-03-06 19:09:08
阅读次数:
178
转: How to use GitHub with Android StudioThis article will explain how to use GitHub with Android Studio.Firstly, let’s login togithub.comand create a....
分类:
移动开发 时间:
2015-03-06 15:46:12
阅读次数:
250
Array DiversityTime Limit:404MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescriptionHere we go!Let's define the diversity of a list of numbers to b...
分类:
编程语言 时间:
2015-03-06 00:59:46
阅读次数:
316
DescriptionSeveral currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and perfo...
分类:
其他好文 时间:
2015-03-05 20:46:07
阅读次数:
218
在 Xcode 6.0 之前实现异步功能的单元测试很困难现在通过expectation可以很容易实现异步功能的单元测试// 1. 定义一个"期望" -> 描述异步的需求,只是一个标记而已
let expectation = expectationWithDescription("xxxTask")// 2. 在异步任务完成后,通过一下方式标记"期望达成"
//expectation.fulfill(...
分类:
其他好文 时间:
2015-03-04 11:10:26
阅读次数:
132
Swift适用于ios和osx,建立在oc和c之上,没有c的兼容性限制。Swift采用安全的编程模式,而且以Cocoa和Cocoa Touch框架为支撑。
Swift支持playgrounds,而且可以在Xcode中使用代码预览功能,即时看到代码运行结果。
Swift不需要main函数,不需要结尾分号。
使用let声明常量,使用var声明变量。如:let sex = 0 var age...
分类:
编程语言 时间:
2015-03-04 09:56:18
阅读次数:
120