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

    like above enumerating using tuple

    Range

    it's new Array's …

    Tagged as : swift
  2. Optional of swift

    Intro

    This is a category of study&&notes of swift, program and so on during the study of [Developing iOS8 Apps with Swift] on the iTunes U.
    此系列为学习stanford课程:Developing iOS8 Apps with Swift过程中,对语言,程序设计,编程能力等部分的学习和记录。

    Optional

    The simple way to declare a optional value:

    var testString: String?
    

    It means …

    Tagged as : swift

Page 1 / 1