Apple Developer Documentation
Hello world
- 'click' view controller embed in 'tab bar controller'
- ViewController 추가, UIViewController.swift추가 및 custom class연결
- tabbar → control drag, relation segue-view controller
- module → tabbar
LifeCycle
- 메인 탭, 그리고 처음 탭을 클릭시 최초로 viewDidLoad()가 딱 한번 불림
- 한 번 불렸던 탭들은 다시 선택될 때, 다음과 같이 컨트롤러가 동작한다.
- 나타날꺼야!!!!
- 사라질꺼야!!!!
- 사라졌다!
- 나타났다!
Custom
&ref
[공식문서] https://developer.apple.com/documentation/uikit/uitabbarcontroller
https://stackoverflow.com/questions/26850411/how-add-tabs-programmatically-in-uitabbarcontroller-with-swift
https://o-o-wl.tistory.com/42
[hello world - storyboard] https://bite-sized-learning.tistory.com/188
[hello world - programmatically] https://hururuek-chapchap.tistory.com/168
https://medium.com/sprinthub/creating-a-customized-tab-bar-in-ios-with-swift-41ed380f2a30