402_introduction_to_swift
00 分钟
WWDC Year
2014
Topic
Swift
Watched
1
Tags
MOV
MOV
MOV Date
PDF
PDF
PDF Date
Transcript
Transcript
Transcript Date
Github
Finish
Nov 25, 2023
Status
Week
Note

Introduction to Swift

What You Will Learn

  • Safe
  • Modern
  • Power
 

Variables

  • Unicode Names
 
  • String and Character
 
  • String Interpolation
  • Typed Collections-Array and Dictionary
 
  • Loops
while loop/for loop
 
For-In
  • For-In: Strings and Characters
  • For-In: Ranges
  • For-In: Arrays
  • For-In: Dictionaries
 
 
 
  • Switch
Matching Value Ranges
 
 
  • Tuple
Decomposing a Tuple
 
Tuple Decomposition for Enumeration
 
Named Values in a Tuple
 
 
  • Class and Structure
💡
Where there are two primary differences between classes and structures. The first difference is that structures cannot inherit from other structures. The second difference is how values are passed around. structures are passed by value. That means the values are copied when they're passed around
 
 
Constants and Variables: Value Types
notion image
notion image
 
Mutating a Structure
 

Resource

notion image