{"id":25804,"date":"2024-10-27T05:48:56","date_gmt":"2024-10-27T05:48:56","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=25804"},"modified":"2024-11-26T07:56:18","modified_gmt":"2024-11-26T07:56:18","slug":"%ec%8a%a4%ec%9c%84%ed%94%84%ed%8a%b8%eb%a1%9c-swiftui-%eb%b0%a9%ec%8b%9d-%ec%95%84%ec%9d%b4%ed%8f%b0%ec%95%b1-%ea%b0%9c%eb%b0%9c-16-%ec%bd%94%ec%96%b4-%ea%b7%b8%eb%9e%98%ed%94%bd%ec%8a%a4%eb%a1%9c","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/25804\/","title":{"rendered":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30"},"content":{"rendered":"<p><body><\/p>\n<div class=\"container\">\n<p>\uc2a4\uc704\ud504\ud2b8(Swift)\ub294 \uc560\ud50c\uc758 \uac15\ub825\ud558\uace0 \uc9c1\uad00\uc801\uc778 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uac1c\ubc1c\uc790\ub4e4\uc740 \uc27d\uac8c \uc544\uc774\ud3f0 \uc571\uc744 \ub9cc\ub4e4 \uc218 \uc788\uc73c\uba70, \ud2b9\ud788 SwiftUI\ub294 \uc560\ud50c\uc758 \ucd5c\uc2e0 UI \ud234\ud0b7\uc73c\ub85c, \uc120\uc5b8\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ubc29\uc2dd\uc73c\ub85c UI\ub97c \uad6c\ucd95\ud558\ub294 \ub370 \ub9ce\uc740 \uc774\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 SwiftUI\ub97c \uc0ac\uc6a9\ud55c \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c \ubc0f 16\ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub97c \ud65c\uc6a9\ud55c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uac8c \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. SwiftUI\uc758 \uc18c\uac1c \ubc0f \ud2b9\uc9d5<\/h2>\n<p>SwiftUI\ub294 \uc120\uc5b8\uc801 \uad6c\ubb38\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\uc131\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc8fc\ub294 \ud234\ud0b7\uc785\ub2c8\ub2e4. \uc774\ub294 \uac1c\ubc1c\uc790\uac00 UI \uad6c\uc131 \uc694\uc18c\uc758 \uc0c1\ud0dc\ub97c \uc27d\uac8c \uad00\ub9ac\ud558\uace0, \ucf54\ub4dc\uc758 \uac00\ub3c5\uc131\uc744 \ub192\uc774\uba70, \ub354 \uc801\uc740 \ucf54\ub4dc\ub85c \ub354 \ub9ce\uc740 \uc791\uc5c5\uc744 \uc218\ud589\ud560 \uc218 \uc788\uac8c \ub3c4\uc640\uc90d\ub2c8\ub2e4. SwiftUI\uc758 \uc8fc\uc694 \ud2b9\uc9d5\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\uc120\uc5b8\uc801 \ubc29\uc2dd:<\/strong> SwiftUI\ub294 \ubdf0\uac00 \uc5b4\ub5a4 \ub370\uc774\ud130\uc5d0 \uc5b4\ub5bb\uac8c \ubc18\uc751\ud574\uc57c \ud558\ub294\uc9c0\ub97c \uc120\uc5b8\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc2e4\uc2dc\uac04 \ubbf8\ub9ac\ubcf4\uae30:<\/strong> Xcode\uc5d0\uc11c \uc2e4\uc2dc\uac04\uc73c\ub85c UI\ub97c \ubbf8\ub9ac \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubcc0\uacbd \uc0ac\ud56d\uc774 \uc989\uc2dc \ubc18\uc601\ub418\uc5b4 \ube60\ub978 \uac1c\ubc1c\uc774 \uac00\ub2a5\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ubaa8\ub4e0 \uc560\ud50c \ud50c\ub7ab\ud3fc \uc9c0\uc6d0:<\/strong> SwiftUI\ub294 iOS, macOS, watchOS, tvOS \ub4f1 \ubaa8\ub4e0 \uc560\ud50c \ud50c\ub7ab\ud3fc\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc26c\uc6b4 \uc560\ub2c8\uba54\uc774\uc158 \uc0dd\uc131:<\/strong> \uc560\ub2c8\uba54\uc774\uc158\uc744 \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\ub294 \ubc29\ubc95\uc73c\ub85c \ub2e4\uc591\ud55c \ud6a8\uacfc\ub97c \uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. 16\ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4 \uc774\ud574\ud558\uae30<\/h2>\n<p>\uc544\uc774\ud3f0\uc758 \ucd5c\uc2e0 \ubaa8\ub378\ub4e4\uc740 \uac15\ub825\ud55c \uadf8\ub798\ud53d \uc131\ub2a5\uc744 \uc81c\uacf5\ud558\ub294 A \uc2dc\ub9ac\uc988 \uce69\uc14b\uc744 \ud0d1\uc7ac\ud558\uace0 \uc788\uc73c\uba70, \uc774\ub294 16\ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4 \ucc98\ub9ac \ub2a5\ub825\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc131\ub2a5\uc740 \uadf8\ub798\ud53d \uae30\ubc18\uc758 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \ub54c \ud544\uc218\uc801\uc774\uba70, \uac8c\uc784 \uac1c\ubc1c\uc774\ub098 \ubcf5\uc7a1\ud55c \uc2dc\uac01\uc801 \ud6a8\uacfc\ub97c \ucc98\ub9ac\ud558\ub294 \ub370 \ud070 \uc7a5\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<p>16\ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub294 \ub2e4\uc591\ud55c \uc791\uc5c5\uc744 \ubcd1\ub82c\ub85c \ucc98\ub9ac\ud560 \uc218 \uc788\ub294 \ub2a5\ub825\uc744 \uac00\uc9c0\uace0 \uc788\uc5b4, \uace0\ud574\uc0c1\ub3c4 \ube44\ub514\uc624 \ucc98\ub9ac, \uc2e4\uc2dc\uac04 \ub80c\ub354\ub9c1, \ubcf5\uc7a1\ud55c \uc7a5\uba74 \ucc98\ub9ac \ub4f1\uc5d0\uc11c \ub9e4\uc6b0 \uc720\ub9ac\ud569\ub2c8\ub2e4. \ub530\ub77c\uc11c, SwiftUI\uc758 \uac15\ub825\ud55c UI \uad6c\uc131 \ub2a5\ub825\uacfc \uacb0\ud569\ud558\uba74 \ub354\uc6b1 \ud48d\ubd80\ud558\uace0 \ucf8c\uc801\ud55c \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.1 Metal\uc744 \ud1b5\ud55c \uace0\uae09 \uadf8\ub798\ud53d\uc2a4<\/h3>\n<p>SwiftUI\ub85c UI\ub97c \ub514\uc790\uc778\ud558\uba74\uc11c, Metal \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac15\ub825\ud55c \uadf8\ub798\ud53d\uc2a4\ub97c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Metal\uc740 \uc560\ud50c\uc758 \uc800\uc218\uc900 \uadf8\ub798\ud53d\uc2a4 API\ub85c, GPU\uc758 \uc131\ub2a5\uc744 \ucd5c\ub300\ub85c \ud65c\uc6a9\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \ub610\ud55c Metal\uc740 \uac8c\uc784 \ubc0f \uace0\uc0ac\uc591 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uadf8\ub798\ud53d\uc744 \ucc98\ub9ac\ud558\ub294 \ub370 \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<h2>3. SwiftUI\ub85c \uadf8\ub798\ud53d\uc2a4 \uadf8\ub9ac\uae30 \uad6c\ud604\ud558\uae30<\/h2>\n<p>\uc774\uc81c \uc2e4\uc81c\ub85c SwiftUI\uc640 Metal\uc744 \uc0ac\uc6a9\ud558\uc5ec iOS \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uadf8\ub798\ud53d\uc744 \uadf8\ub9ac\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h3>\n<pre><code>\/\/ Xcode\uc5d0\uc11c \uc0c8 \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131\n\/\/ \ud15c\ud50c\ub9bf\uc73c\ub85c \"App\"\ub97c \uc120\ud0dd\ud558\uc138\uc694.\n\/\/ SwiftUI\ub97c \uc120\ud0dd\ud558\uace0 \uc774\ub984\uc744 \uc785\ub825\ud558\uc138\uc694.\n<\/code><\/pre>\n<h3>3.2 SwiftUI \ubdf0 \ub9cc\ub4e4\uae30<\/h3>\n<p>\ub2e4\uc74c\uc73c\ub85c \uae30\ubcf8 SwiftUI \ubdf0\ub97c \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>import SwiftUI\n\nstruct ContentView: View {\n    var body: some View {\n        VStack {\n            Text(\"SwiftUI\uc640 Metal\ub85c \uadf8\ub9ac\uae30\")\n                .font(.largeTitle)\n                .padding()\n            DrawingView()\n                .frame(width: 300, height: 300)\n        }\n    }\n}\n\nstruct ContentView_Previews: PreviewProvider {\n    static var previews: some View {\n        ContentView()\n    }\n}\n<\/code><\/pre>\n<h3>3.3 Metal \ubdf0 \ub9cc\ub4e4\uae30<\/h3>\n<p>\uc774\uc81c Metal \ubdf0\ub97c \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. SwiftUI\uc5d0\uc11c Metal\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d UIViewRepresentable\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>import MetalKit\n\nstruct DrawingView: UIViewRepresentable {\n    func makeUIView(context: Context) -&gt; MTKView {\n        let view = MTKView()\n        view.device = MTLCreateSystemDefaultDevice()\n        view.delegate = context.coordinator\n        return view\n    }\n\n    func updateUIView(_ uiView: MTKView, context: Context) {}\n    \n    func makeCoordinator() -&gt; Coordinator {\n        return Coordinator(self)\n    }\n    \n    class Coordinator: NSObject, MTKViewDelegate {\n        var parent: DrawingView\n        \n        init(_ parent: DrawingView) {\n            self.parent = parent\n        }\n        \n        func mtkView(_ view: MTKView, drawableSizeWillChange size: CGSize) {}\n\n        func draw(in view: MTKView) {\n            \/\/ \uadf8\ub798\ud53d\uc2a4 \uadf8\ub9ac\uae30 \ub85c\uc9c1\uc744 \uc774\uacf3\uc5d0 \uad6c\ud604\ud569\ub2c8\ub2e4.\n        }\n    }\n}\n<\/code><\/pre>\n<h3>3.4 \uadf8\ub798\ud53d\uc2a4 \uadf8\ub9ac\uae30<\/h3>\n<p>\uc774\uc81c \uadf8\ub798\ud53d\uc2a4\ub97c \uadf8\ub9ac\ub294 \ub85c\uc9c1\uc744 \uc791\uc131\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc5ec\uae30\uc11c 16\ucf54\uc5b4 GPU\ub97c \ud65c\uc6a9\ud558\uc5ec \ubcf5\uc7a1\ud55c \uc774\ubbf8\uc9c0\ub97c \ub80c\ub354\ub9c1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>func draw(in view: MTKView) {\n    guard let drawable = view.currentDrawable else { return }\n    \n    let commandQueue = device.makeCommandQueue()\n    let commandBuffer = commandQueue?.makeCommandBuffer()\n    let renderPassDescriptor = view.currentRenderPassDescriptor\n    \n    guard let renderEncoder = commandBuffer?.makeRenderCommandEncoder(descriptor: renderPassDescriptor!) else { return }\n    \n    \/\/ \ubc30\uacbd \uc0c9\uc0c1 \uc124\uc815\n    renderEncoder.setClearColor(MTKColor(red: 0.1, green: 0.1, blue: 0.1, alpha: 1.0))\n    \n    \/\/ \uc5ec\uae30\uc5d0\uc11c \ub2e4\uc591\ud55c \uadf8\ub9ac\uae30 \uba85\ub839\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4.\n    \n    renderEncoder.endEncoding()\n    commandBuffer?.present(drawable)\n    commandBuffer?.commit()\n}\n<\/code><\/pre>\n<p>\uc774\uc640 \uac19\uc774 SwiftUI\uc640 Metal\uc744 \uc0ac\uc6a9\ud558\uc5ec \uadf8\ub798\ud53d\uc2a4\ub97c \uadf8\ub9ac\ub294 \uae30\ubcf8\uc801\uc778 \uad6c\uc870\uac00 \uc900\ube44\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774\uc81c \uc774 \uba54\ucee4\ub2c8\uc998\uc744 \ud655\uc7a5\ud558\uc5ec \ub2e4\uc591\ud55c \ube44\uc8fc\uc5bc \ud6a8\uacfc \ubc0f \uc0ac\uc6a9\uc790 \uc0c1\ud638\uc791\uc6a9\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>4. \uc131\ub2a5 \ucd5c\uc801\ud654<\/h2>\n<p>16\ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \uc131\ub2a5 \ucd5c\uc801\ud654\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uba87 \uac00\uc9c0 \ud301\uc785\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\ud504\ub808\uc784 \uc218 \ucd5c\uc801\ud654:<\/strong> \uadf8\ub798\ud53d\uc774 \ub9e4\ub044\ub7fd\uac8c \ub80c\ub354\ub9c1\ub418\ub3c4\ub85d FPS\ub97c \uc720\uc9c0\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uba54\ubaa8\ub9ac \uad00\ub9ac:<\/strong> GPU \uba54\ubaa8\ub9ac\ub97c \ud6a8\uc728\uc801\uc73c\ub85c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \uace0\ub824\ud574\uc57c \ud569\ub2c8\ub2e4. \ud544\uc694 \uc5c6\ub294 \uac1d\uccb4\ub294 \uc989\uc2dc \ud574\uc81c\ud558\uc5ec \uba54\ubaa8\ub9ac \ub204\uc218\ub97c \ubc29\uc9c0\ud558\uc138\uc694.<\/li>\n<li><strong>\ubc30\uce58 \ub80c\ub354\ub9c1:<\/strong> \uac00\ub2a5\ud55c \ud55c \ub9ce\uc740 \ub4dc\ub85c\uc6b0 \ucf5c\uc744 \ubc30\uce58\ud558\uc5ec GPU \ub9ac\uc18c\uc2a4\ub97c \ucd5c\uc801\ud654\ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc131\ub2a5\uc774 \ud06c\uac8c \ud5a5\uc0c1\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. \uacb0\ub860 \ubc0f \ub2e4\uc74c \ub2e8\uacc4<\/h2>\n<p>SwiftUI\ub97c \uc0ac\uc6a9\ud55c \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c \ubc0f 16\ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub97c \ud65c\uc6a9\ud558\uc5ec \ud654\uba74\uc5d0 \uadf8\ub9bc\uc744 \uadf8\ub9ac\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. SwiftUI\ub294 \ube60\ub974\uace0 \ud6a8\uc728\uc801\uc778 UI \uac1c\ubc1c\uc744 \uac00\ub2a5\ud558\uac8c \ud558\uba70, Metal\uc744 \ud1b5\ud574 \uac15\ub825\ud55c \uadf8\ub798\ud53d\uc2a4\ub97c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uae30\uc220\uc744 \ud65c\uc6a9\ud558\uc5ec \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\uc73c\uba70, \uc55e\uc73c\ub85c\ub294 \uc774\ub7ec\ud55c \uae30\uc220\uc744 \ub354\uc6b1 \uae4a\uac8c \ud0d0\uad6c\ud558\ub294 \uac83\ub3c4 \uc88b\uc740 \ubc29\ud5a5\uc77c \uac83\uc785\ub2c8\ub2e4.<\/p>\n<p>\ub2e4\uc74c \ub2e8\uacc4\ub85c\ub294 \uc560\ub2c8\uba54\uc774\uc158, \uc0ac\uc6a9\uc790 \uc785\ub825 \ucc98\ub9ac, \ub370\uc774\ud130 \uc5f0\ub3d9 \ub4f1\uc744 \ud1b5\ud574 \ub354\uc6b1 \ud48d\ubd80\ud55c \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \uc81c\uacf5\ud558\ub294 \ubc29\ubc95\uc744 \uacf5\ubd80\ud574\ubcf4\uc138\uc694. SwiftUI\uc640 Metal\uc758 \uc138\uacc4\ub294 \ub9e4\uc6b0 \ub113\uace0 \ub2e4\uc591\ud55c \uac00\ub2a5\uc131\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc5ec\ub7ec\ubd84\uc758 \ucc3d\uc758\ub825\uacfc \uae30\uc220\uc744 \ud65c\uc6a9\ud558\uc5ec \uba4b\uc9c4 \uc571\uc744 \uac1c\ubc1c\ud558\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4!<\/p>\n<p class=\"note\"><strong>\ucc38\uace0\uc790\ub8cc:<\/strong> SwiftUI Documentation, Metal Documentation, Apple Developer.<\/p>\n<\/div>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc2a4\uc704\ud504\ud2b8(Swift)\ub294 \uc560\ud50c\uc758 \uac15\ub825\ud558\uace0 \uc9c1\uad00\uc801\uc778 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uac1c\ubc1c\uc790\ub4e4\uc740 \uc27d\uac8c \uc544\uc774\ud3f0 \uc571\uc744 \ub9cc\ub4e4 \uc218 \uc788\uc73c\uba70, \ud2b9\ud788 SwiftUI\ub294 \uc560\ud50c\uc758 \ucd5c\uc2e0 UI \ud234\ud0b7\uc73c\ub85c, \uc120\uc5b8\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ubc29\uc2dd\uc73c\ub85c UI\ub97c \uad6c\ucd95\ud558\ub294 \ub370 \ub9ce\uc740 \uc774\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 SwiftUI\ub97c \uc0ac\uc6a9\ud55c \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c \ubc0f 16\ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub97c \ud65c\uc6a9\ud55c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uac8c \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. SwiftUI\uc758 \uc18c\uac1c \ubc0f \ud2b9\uc9d5 SwiftUI\ub294 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/25804\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19],"tags":[],"class_list":["post-25804","post","type-post","status-publish","format-standard","hentry","category----swiftui"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/25804\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc2a4\uc704\ud504\ud2b8(Swift)\ub294 \uc560\ud50c\uc758 \uac15\ub825\ud558\uace0 \uc9c1\uad00\uc801\uc778 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uac1c\ubc1c\uc790\ub4e4\uc740 \uc27d\uac8c \uc544\uc774\ud3f0 \uc571\uc744 \ub9cc\ub4e4 \uc218 \uc788\uc73c\uba70, \ud2b9\ud788 SwiftUI\ub294 \uc560\ud50c\uc758 \ucd5c\uc2e0 UI \ud234\ud0b7\uc73c\ub85c, \uc120\uc5b8\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ubc29\uc2dd\uc73c\ub85c UI\ub97c \uad6c\ucd95\ud558\ub294 \ub370 \ub9ce\uc740 \uc774\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 SwiftUI\ub97c \uc0ac\uc6a9\ud55c \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c \ubc0f 16\ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub97c \ud65c\uc6a9\ud55c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uac8c \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. SwiftUI\uc758 \uc18c\uac1c \ubc0f \ud2b9\uc9d5 SwiftUI\ub294 &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/25804\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T05:48:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:56:18+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/25804\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25804\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30\",\"datePublished\":\"2024-10-27T05:48:56+00:00\",\"dateModified\":\"2024-11-26T07:56:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25804\/\"},\"wordCount\":58,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc2a4\uc704\ud504\ud2b8 \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c (SwiftUI)\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/25804\/\",\"url\":\"https:\/\/atmokpo.com\/w\/25804\/\",\"name\":\"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T05:48:56+00:00\",\"dateModified\":\"2024-11-26T07:56:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25804\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/25804\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/25804\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/25804\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc2a4\uc704\ud504\ud2b8(Swift)\ub294 \uc560\ud50c\uc758 \uac15\ub825\ud558\uace0 \uc9c1\uad00\uc801\uc778 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uac1c\ubc1c\uc790\ub4e4\uc740 \uc27d\uac8c \uc544\uc774\ud3f0 \uc571\uc744 \ub9cc\ub4e4 \uc218 \uc788\uc73c\uba70, \ud2b9\ud788 SwiftUI\ub294 \uc560\ud50c\uc758 \ucd5c\uc2e0 UI \ud234\ud0b7\uc73c\ub85c, \uc120\uc5b8\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ubc29\uc2dd\uc73c\ub85c UI\ub97c \uad6c\ucd95\ud558\ub294 \ub370 \ub9ce\uc740 \uc774\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 SwiftUI\ub97c \uc0ac\uc6a9\ud55c \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c \ubc0f 16\ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub97c \ud65c\uc6a9\ud55c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uac8c \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. SwiftUI\uc758 \uc18c\uac1c \ubc0f \ud2b9\uc9d5 SwiftUI\ub294 &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/25804\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T05:48:56+00:00","article_modified_time":"2024-11-26T07:56:18+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/25804\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/25804\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30","datePublished":"2024-10-27T05:48:56+00:00","dateModified":"2024-11-26T07:56:18+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/25804\/"},"wordCount":58,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc2a4\uc704\ud504\ud2b8 \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c (SwiftUI)"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/25804\/","url":"https:\/\/atmokpo.com\/w\/25804\/","name":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T05:48:56+00:00","dateModified":"2024-11-26T07:56:18+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/25804\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/25804\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/25804\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, 16 \ucf54\uc5b4 \uadf8\ub798\ud53d\uc2a4\ub85c \ud654\uba74\uc5d0 \uadf8\ub9bc \uadf8\ub9ac\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=25804"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25804\/revisions"}],"predecessor-version":[{"id":25805,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25804\/revisions\/25805"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=25804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=25804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=25804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}