Coder Social home page Coder Social logo

swift-studynotes's Introduction

Swift 学习笔记

简介:

Swift学习笔记

学习书籍:

目录:

  1. 欢迎使用 Swift

    • L1-S1. Swift 初见
      • 简单值
      • 控制流
      • 函数和闭包
      • 对象和类
      • 枚举和结构体
      • 泛型
  2. Swift 教程

    • L2-S1. 基础部分

      • 常量和变量
      • 注释
      • 分号
      • 整数
      • 浮点数
      • 类型安全和类型推测
      • 类型别名
      • 布尔值
      • 元祖
      • 可选
      • 断言
    • L2-S2. 基本运算符

      • 术语
      • 赋值运算符
      • 数值运算
      • 复合赋值
      • 比较运算
      • 三目条件运算
      • 区间运算符
      • 逻辑运算
    • L2-S3. 字符串和字符

      • 字符串字面量
      • 初始化空字符串
      • 字符串可变型
      • 字符串是值类型
      • 使用字符(Characters)
      • 计算字符数量
      • 连接字符串和字符
      • 字符串插值
      • 比较字符串
      • 大写和小写字符串
    • L2-S4. 集合类型

      • 数组
      • 字典
      • 集合的可变性
    • L2-S5. 控制流

      • for循环
      • while循环
      • 条件语句
      • 控制转移语句
    • L2-S6. 函数

      • 定义和调用函数
      • 函数的形参和返回值
      • 函数形参名
      • 函数类型
      • 嵌套函数

注释说明

注释语法 注释说明
//-- 功能点
//## 打印结果
//~~ 高级用法/新语法
//! 需要注意(低)
//!!! 需要注意(中)
//!!!!! 需要注意(高)

swift-studynotes's People

Contributors

aster0id avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.