视频:
Controlling Complexity in Swift
文章:
An Observable Pattern Implementation in Swift: Swift的观察者模式实现
When to Use Swift Structs and Classes: Swift中何时使用Structs和Classes
Optional Computed Properties in Swift Protocols: 声明Optional Computed properties
Protocol Oriented Programming in the Real World: Swift Protocol Oriented Programming的使用例子。
Swift Functors, Applicatives, and Monads in Pictures:
学了点haskell
,在swift
中新加的很多语言特性都是从haskell
那里“抄”来的,比如强大的枚举、switch
等等。functor
、applicative
和monads
历来是haskell
学习中相对比较难理解的概念,这篇文章用swift
简明易懂的做了解释。
开源代码:
Blurable: Apply a Gaussian Blur to any UIView with Swift Protocol Extensions
Neon:A powerful Swift programmatic UI layout framework.Build dynamic and beautiful user interfaces like a boss, with Swift.
Async: Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch