๐Ÿ“ฑ App Development Study/iOS๐ŸŽ

[Udemy iOS & Swift Bootcamp] Navigation Controller Stack

ibelieveinme 2023. 6. 17. 14:19
728x90

ํ™”๋ฉด์„ ๋„˜๊ธธ ๋•Œ๋งˆ๋‹ค ์œ„๋กœ ์Œ“๋˜, Back ๋ฒ„ํŠผ์„ ๋งŒ๋“ค์–ด์„œ ๊ด€๋ฆฌํ•ด์ฃผ์ž.

 

1. Ctrl ํ‚ค๋กœ ํ™”๋ฉด๊ณผ ํ™”๋ฉด์‚ฌ์ด๋ฅผ ์—ฐ๊ฒฐํ•ด์ค€๋‹ค.

 

2. Root ๋…ธ๋“œ์˜ View Controller ๋ฒ„ํŠผ์„ ํด๋ฆญํ•œ ํ›„, Editor > Embed In > Navigation Controller ํด๋ฆญ ํ•œ๋‹ค.

๊ทธ๋Ÿผ ์œ„์™€ ๊ฐ™์ด Root ํ™”๋ฉด์„ ๊ธฐ์ค€์œผ๋กœ ๋‹ค๋ฅธ ํ™”๋ฉด์— Back ๋ฒ„ํŠผ์ด ์ƒ๊ธด๋‹ค.

์ด๊ฒŒ ๋ฐ”๋กœ Navigation Controller Stack.

 

3. Chat ํ™”๋ฉด์—์„œ Register/Login ํ™”๋ฉด์œผ๋กœ ๋Œ์•„๊ฐˆ ๋•Œ๋Š” ํ—ท๊ฐˆ๋‹ˆ๊นŒ RegisterToChat, LoginToChat์œผ๋กœ ์ด๋ฆ„ ์ •์˜ํ•ด์ฃผ๊ธฐ.

 

4. ์‹คํ–‰ํ•ด์„œ ๊ฒฐ๊ณผ๋ฌผ ํ™•์ธ

728x90