1. Note: More Swift and Foundation Frameworks

    Intro

    Note of More Swift and Foundation Frameworks, not detail described.
    Lesson4的要点记录,有些没有展开,侧重于“点”。看完后觉得需要注意的地方:基本数据类型如Optional/Array/Dictionary等的特点;class与struct的异同;class中的属性和方法;常见数据类型的常用方法(Array/String有很多新增的方法,功能比对应的ObjC强大)

    Optional

    an optional is an enum enum Optional

    ! 相当于一个switch 简单的说,就是语法糖

    Array

    declare immutable
    enumerating

    Dictionary ...

    Tagged as : swift iOS
  2. swift学习之struct ——前三课总结

    Intro

    During the course, a lot of swift details are touched from Lesson 1 to 3 and the classical MVC is practised in Lesson 3.
    本篇侧重swift的强类型特性以及struct的特点。

    Strong type language

    Swift is smart enough to know the type and you can ommit the type in decalaring, function parameters and son on ...

    Tagged as : swift iOS

Page 1 / 3