[iOS] 데이터 전달
2020. 5. 23. 13:17ㆍiOS
1. 데이터 전달
1) Main.Storyboard
각 방식에(Unwind, Delegate) 따라 데이터 전달을 위한 화면(UnwindController, DelegateController) 연결하고 각 버튼 Segue Identifier는 unwindSegue, delegateSegue로, Present Modally(Full Screen)으로 설정한다.
2) UnwindController
UnwindController 화면의 버튼은 ViewController에 구현한 unwindFromUVC 메소드와 연결한다.
3) DelegateController
4) ViewController
5) 구현 화면
728x90
'iOS' 카테고리의 다른 글
[iOS] 메모장 앱 (1) (0) | 2020.05.23 |
---|---|
[iOS] TableView (0) | 2020.05.23 |
[iOS] 생명주기 (0) | 2020.05.23 |
[iOS] AutoLayout, UI 제작의 차이 (0) | 2020.05.23 |