ComputerScience(113)
-
[ํ์คํ] ์ปดํจํฐ ๋คํธ์ํฌ ๊ฐ์
์ปดํจํฐ๋? A computer is a device that can be instructed to carry out sequences of arithmetic or logical operations automatically via computer programming. Modern computers have the ability to follow generalized sets of operations, called programs. These programs enable computers to perform an extremely wide range of tasks. ๋ค์ํ ์ข ๋ฅ์ ์ปดํจํฐ๋ค์ด ์๋ค. (๋ฐ์คํฌํ, ์๋ฒ ์ปดํจํฐ, ํ๋ธ๋ฆฟ, ์ค๋งํธํฐ, ์จ์ด๋ฌ๋ธ ์ฅ์น, IoT, ๋ก๋ด, ๋๋ก ๋ฑ๋ฑ) ๋คํธ์ํฌ ๊ท๋ชจ์..
2023.03.23 -
[๋์์ธ ํจํด] ์ฑ๊ธํค ํจํด์ด๋? (iOS - Singleton Design Pattern) + ์์กด์ฑ ์ฃผ์ (DI)
โ ์ฑ๊ธํค ํจํด (Singleton Pattern) ํ๋์ ํด๋์ค์ ํ๋์ ์ธ์คํด์ค๋ง ๊ฐ์ง๋ ํจํด ๋ฐ์ดํฐ๋ฒ ์ด์ค ์ฐ๊ฒฐ ๋ชจ๋์ ๋ง์ด ์ฌ์ฉ๋จ iOS ์์๋ ๋ง์ด ์ ์ฉ๋๋ ์ค์ํ ๋์์ธ ํจํด ์ค ํ๋ ์ฌ๋ฌ ํ์ผ์์ ๋์ผํ ๊ฐ์ฒด๋ฅผ ํ์ฉํด์ผ ํ๋ ๊ฒฝ์ฐ, ์ฑ๊ธํค ํจํด์ ๋ ์ฌ๋ฆฌ์ ์ฑ๊ธํค ํจํด -> ๊ฐ์ฒด๊ฐ ์์ฑ๋๋ฉด ์์๋ก ๋ฉ๋ชจ๋ฆฌ์์ ํด์ ํ์ง ์๋ ์ด์ ํ๋ก๊ทธ๋จ์ด ๋๋ ๋๊น์ง ๋ฉ๋ชจ๋ฆฌ์ ์ ์ง๋จ ํ๋ก์ ํธ ๋ด์์ ๊ฐ์ฒด๋ฅผ ํ๋๋ง ์์ฑํ์ฌ ๊ณต์ฉ์ผ๋ก ์ฌ์ฉํ๋ ๊ฒฝ์ฐ ํ์ฉ // Shared URL Session let sharedURLSession = URLSession.shared // Default File Manager let defaultFileManager = FileManager.default // Standard User ..
2022.12.24 -
2022. 11. 04 : Architecture Kick - off
Architecture (11/4 ๊ฐ์ฆ์) View controller View ๋ผ๋ ์ค๋ ๋๊ฐ ํ์์ด ๋๋คOS์์๋ Process์์ ์๋ง์ thread๊ฐ ๋๋ค ์ํคํ ์ณ๋?ํ๋์ view๋ง ๋ณธ๋ค๋ฉด ์ฌ๋ฌ ์ปดํฌ๋ํธ์ ๋ชจ์์ด์ง๋ง,๋์ ์ธ (๋ฐํ์) ์ธก๋ฉด์์๋ Process, App ํ๋๋ฅผ ์๋ฏธ๋ฉ๋ชจ๋ฆฌ์์ ์ฃฝ์ง ์๋ ์์ญ ๋์ ์ด๊ณ ์ ์ ์ธ ์ธก๋ฉด์ ๋ค ๋ณด์์ผ ํ๋ค.MVC: Logical architecture Runtime architectureProcess, Thread ์ค์ ๋ก ๋ฐํ์์์ ๋ฐ๋ผ๋ณด๋ ๊ตฌ์กฐ (OS๊ฐ ์ธ์ํ๋ ๊ตฌ์กฐ)๋ ๊ฐ์ ์ฑ์ด ๋ฐ์ดํฐ๋ฅผ ๊ณต์ ํด์ผ ํ๋ค๋ฉด?ํ๋ก์ธ์ค: ๋ฐ์ดํฐ๋ฅผ ์ ์ํ์ง ์๋๋ค.๊ทธ๋ผ? ์ธ์ ๋ฉ์ธ์ง ํต์ ๋ฑ๋ฑ์ ๋ฐฉ๋ฒ์ด ์๋ค. Conceptual architecture ์ฐ์์์ ๋ง๊ฒ ๋ถ์ธ ์ด๋ฆ๋ค์ด..
2022.11.07