摘要:
iOS界面跳转方式 阅读全文
摘要:
// 官方地址https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-S... 阅读全文
摘要:
在Swift中,继承是区分【类】与其他类型的一个基本特征。不继承于其它类的类,称之为基类(base calss)。子类生成(Subclassing)指的是在一个已有类的基础上创建一个新的类。子类继承超类的特性,并且可以优化或改变它。你还可以为子类添加新的特性。子类可以为继承来的实例方法(instan... 阅读全文
摘要:
/*** 打印用print()**/print("Hello, World!")/*** 声明变量用var** 声明常量用let*/var myVariable = 42myVariable = 50let myConstant = 42//Swift可以类型推断let implicitInt... 阅读全文