My notes on TableView in iOS for Interface builder
- Hock up your
TableView
to aNavigationController
via:Editor -> Embed in -> Navigation Controller
- If you don’t want a list but a scroller view with items, similar to a prefs view. Then set the content prop to static. 🔑
- ctrl-drag from UI items in InterfaceBuilder to create connections to the code
Resources:
Hocking up cell items to actions: https://stackoverflow.com/questions/41658868/how-to-properly-implement-a-static-cell-with-swift-3
Dynamic row height: https://www.youtube.com/watch?v=ELBK3FFBZhY