Examples covering a variety of iOS topics and concepts, in Swift and Objective-C
Basic closure patterns for executing code on background queues to free up the main queue, as well as callbacks from long running operations. A quick peek at declaring closures for running blocks within functions is also included.
Demonstration of using delegates as one of the several ways for controllers to communicate with each other.
Introduces a couple of different patterns for adding on to the functionality of classes, including extensions and wrapping. Also demonstrates how one might store structures in Associated Objects.
Shows basic use of a UITableView, and also shows how you can work with custom cells that are in external nibs, working with classes derived from UITableViewCell, as well as cells not associated to such classes. It also highlights a potential use of extensions and Associated Objects with UITableView.
For instructional purposes only. It is not advised to take the risk using this technique in production code, unless there is "no alternative".
Basic introduction to how one might swizzle a method as well as possible, an explanation of what is occurring, in both Swift and Objective-C.
A broader example that showcases some basic examples for:
- Using REST API on internet using AlamoFire
- Moving form when keyboard goes up and down
- UITableView use
- UIScrollView use
- Toast
- Progress Bar
Coming soon.
Coming soon.
Coming soon.
Coming soon.
Coming soon.
Coming soon.
Coming soon.
Coming soon.
Coming soon.
How to approach some of the challenges assigned in class.
- NSNotifications and Delegates
Please let me know what other special topics would be useful to cover