Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 349 Bytes

403 - Improving apps with swift.md

File metadata and controls

9 lines (7 loc) · 349 Bytes

Improving existing apps with Swift (403)

Getting rid of global utility functions

Encapsulate global utility function and turn them into struct methods CGRect: CGRectZero() CGRectMake() CGRectGetMaxY() .zeroRect init(x:…) .maxY

Availability

Gives compile time feedback on mismatch between deployment targets and APIs being used