The Swift Pocket Bible is a collection of brief explanations and examples of various important aspects of Swift β¨
In the OverviewInfo
folder there are a handful of markdown files briefly explaining various important aspects of Swift, eg:
- βοΈ Properties in Swift
- πΎ Swift Memory management
- π¬ Swift Dispatching
- π Dependency Injection in Swift
- π Thread Safety in Swift
- π Swift Meta Types
- π Attributes in Swift
- βοΈ How to comment in Swift files
- π Access control in Swift
- π Annotations in Swift
- π¦ Encoding and decoding in Swift 4
- π Auto layout in UITableView
- β»οΈ Mutability of Value types
In the Extensions
folder there are a handful of useful Extensions, e.g.:
- Date extensions
- Double extensions
- Color+Hex
- UIImage+Color
- UIImage+Cropping
- UIImageView+AsyncLoading
- UIScrollView+Center
- UIView+Image
- UIView+Nib
- UIView+ResponderChain
- UITextView extensions
- UITableView extensions
- NSLayoutConstraint extensions
- Collection extensions
- Optional extensions
- URL extensions
- Equatable extensions
- UIViewController extensions
In the Examples
folder there are a handful of examples, e.g.:
There are a lot of other things that will be added to this Swift Pocket Bible, they are listed in Things to be added