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