摘要:
//swift 可以自动推断类型//定义常量和变量(可以用任意你喜欢的字符做常量和变量名字)//常量 let(常量必须申明值)let name = "sundy"println(name)//变量 var(变量可以不包含值,但是不能访问;访问时必须复制)var newName:intnewName ... 阅读全文
fgcs2015
新浪博客网址: http://weibo.com/fgcs2012 GitHub网址:https://github.com/fgcs2015/fgcscsdn.github.io |
|
|