码迷,mamicode.com
首页 >  
搜索关键字:let    ( 14348个结果
Swift swith语句
let charA:Character = "a" switch charA { case "A": print("The letter a") break case "b": print("The ...
分类:编程语言   时间:2016-01-02 00:50:19    阅读次数:202
转:WeChat 6.3 Wipe deleted Chat messages well as LINE 关于微信6.3以上聊天记录不能恢复的说明!
Let me show you the WeChat version first. It is 6.3.What will happen to WeChat deleted chat messages? Take a look at "Blocks containing deleted data" ...
分类:微信   时间:2016-01-01 11:05:04    阅读次数:408
Let it crash philosophy for distributed systems
This past weekend I readJoe Armstrong’s paper on the history of Erlang. Now,HOPLpapers in general are like candy for me, and this one did not disappoi...
分类:其他好文   时间:2015-12-30 19:16:35    阅读次数:189
Let it crash philosophy part II
Designing fault tolerant systems is extremely difficult. You can try to anticipate and reason about all of the things that can go wrong with your soft...
分类:其他好文   时间:2015-12-30 19:13:41    阅读次数:183
Swift 02.Array
数组可以存放任意类型,初始化时候的类型 决定了数组后面可以添加什么类型的元素let 不可变数组let arrayC = [1,2,3,4,5,6,7]var 可变数组var arrayM = [1,2,3,4,5,6,7]数组元素个数print(arrayC.count)通过下标访问数组元素prin...
分类:编程语言   时间:2015-12-29 14:28:22    阅读次数:193
关于iOS 9.0一些需要注意的地方-网络安全
import UIKitclass ViewController: UIViewController { @IBOutlet weak var wc: UIWebView! override func viewDidLoad() { super.viewDidLoad() let url = NSU...
分类:移动开发   时间:2015-12-29 12:27:27    阅读次数:154
《从零开始学Swift》学习笔记(Day 53)——do-try-catch错误处理模式
??原创文章,欢迎转载。转载请注明:关东升的博客  Swift 1.x的错误处理模式存在很多弊端,例如:为了在编程时候省事,给error参数传递一个nil,或者方法调用完成后不去判断error是否为nil,不进行错误处理。let contents = NSString(contentsOfFile: filePath, Êencoding: NSUTF8StringEncodi...
分类:编程语言   时间:2015-12-28 10:34:49    阅读次数:208
《从零开始学Swift》学习笔记(Day 53)——do-try-catch错误处理模式
原创文章,欢迎转载。转载请注明:关东升的博客Swift 1.x的错误处理模式存在很多弊端,例如:为了在编程时候省事,给error参数传递一个nil,或者方法调用完成后不去判断error是否为nil,不进行错误处理。let contents = NSString(contentsOfFile: fil...
分类:编程语言   时间:2015-12-28 10:21:38    阅读次数:216
我的Python成长之路---第一天---Python基础(1)---2015年12月26日(雾霾)
2015年12月26日是个特别的日子,我的Python成之路迈出第一步。见到了心目中的Python大神(Alex),也认识到了新的志向相投的伙伴,非常开心。 尽管之前看过一些Python的视频、书,算是有一点基础。但在这里我要保持空杯心态,一切从头开始。好了不多说,Let's Python!!...
分类:编程语言   时间:2015-12-27 13:24:02    阅读次数:222
vim-airline的theme
在git:https://github.com/bling/vim-airline/tree/master/autoload/airline/themes上看了下,一共有内置的这些主题,可以直接使用,方法是在.vimrc中写:let g:airline_theme="badwolf",或者在vi.....
分类:系统相关   时间:2015-12-27 12:04:32    阅读次数:788
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!