{"id":25860,"date":"2024-10-27T05:49:12","date_gmt":"2024-10-27T05:49:12","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=25860"},"modified":"2024-11-26T07:53:56","modified_gmt":"2024-11-26T07:53:56","slug":"%ec%8a%a4%ec%9c%84%ed%94%84%ed%8a%b8%eb%a1%9c-swiftui-%eb%b0%a9%ec%8b%9d%ec%9d%98-%ec%95%84%ec%9d%b4%ed%8f%b0-%ec%95%b1-%ea%b0%9c%eb%b0%9c","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/25860\/","title":{"rendered":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c"},"content":{"rendered":"<p><body><\/p>\n<p>SwiftUI\ub294 \uc560\ud50c\uc758 \ucd5c\uc2e0 UI \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uac00 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 SwiftUI\ub97c \uc774\uc6a9\ud55c iOS \uc571 \uac1c\ubc1c\uc744 \ub2e4\ub8e8\uace0, \ud568\uc218, \uc775\uba85 \ud568\uc218, nil, \uc635\uc154\ub110 \ubcc0\uc218, \uadf8\ub9ac\uace0 self\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \uae4a\uc774 \uc788\uac8c \ub2e4\ub904 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. SwiftUI \uc18c\uac1c<\/h2>\n<p>SwiftUI\ub294 \uc560\ud50c\uc758 \ubaa8\ub4e0 \ud50c\ub7ab\ud3fc\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ud601\uc2e0\uc801\uc778 UI \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. SwiftUI\ub294 \uc120\uc5b8\uc801 \uad6c\ubb38(declarative syntax)\uc744 \uc0ac\uc6a9\ud558\uc5ec UI\ub97c \uad6c\ucd95\ud558\ub294 \ubc29\uc2dd\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774 \uc811\uadfc \ubc29\uc2dd\uc740 UI \uc694\uc18c\uc758 \uc0c1\ud0dc(state)\uc5d0 \ub530\ub77c \uadf8\ub824\uc9c0\ub294 \ubc29\uc2dd\uc744 \ub354\uc6b1 \uac04\ub2e8\ud558\uace0 \uba85\ud655\ud558\uac8c \ub9cc\ub4e4\uc5b4 \uc90d\ub2c8\ub2e4.<\/p>\n<h2>2. \ud568\uc218\uc758 \uc774\ud574<\/h2>\n<p>Swift\uc5d0\uc11c \ud568\uc218\ub294 \ucf54\ub4dc\uc758 \uc7ac\uc0ac\uc6a9\uc131\uc744 \ub192\uc5ec\uc904 \ubfd0\ub9cc \uc544\ub2c8\ub77c, \ud504\ub85c\uadf8\ub7a8\uc758 \uad6c\uc870\ub97c \uac1c\uc120\ud558\ub294 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uae30\ubcf8\uc801\uc778 \ud568\uc218\uc758 \uc815\uc758\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>func functionName(parameters) -&gt; ReturnType {\n    \/\/ \ud568\uc218\uc758 \ubcf8\ubb38\n}<\/code><\/pre>\n<p>\uc608\uc2dc\ub85c, \ub450 \uc218\ub97c \ub354\ud558\ub294 \ud568\uc218\ub97c \uc815\uc758\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>func add(a: Int, b: Int) -&gt; Int {\n    return a + b\n}<\/code><\/pre>\n<p>\uc774 \ud568\uc218\ub294 \ub450 \uac1c\uc758 \uc815\uc218\ud615 \ud30c\ub77c\ubbf8\ud130\ub97c \ubc1b\uace0, \uadf8 \ud569\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4. Swift\uc5d0\uc11c\ub294 \uae30\ubcf8\uc801\uc778 \ud0c0\uc785 \uc678\uc5d0\ub3c4 \uc0ac\uc6a9\uc790 \uc815\uc758 \ud0c0\uc785, \ud074\ub85c\uc800 \ub4f1 \ub2e4\uc591\ud55c \ud615\ud0dc\ub85c \ud568\uc218\ub97c \uc815\uc758\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.1 \uc775\uba85 \ud568\uc218<\/h3>\n<p>Swift\uc5d0\uc11c\ub294 \uc775\uba85 \ud568\uc218(\ub610\ub294 \ud074\ub85c\uc800)\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud074\ub85c\uc800\ub294 \ucf54\ub4dc \ube14\ub85d\uc744 \uc9c0\uc5ed\uc801\uc73c\ub85c \ucea1\uc290\ud654\ud558\uc5ec \ubcc0\uc218\ub97c \uc800\uc7a5\ud558\uace0, \uc6d0\ud558\ub294 \uc2dc\uc810\uc5d0 \uc2e4\ud589\ud560 \uc218 \uc788\uac8c \ud574 \uc90d\ub2c8\ub2e4. \ud074\ub85c\uc800\uc758 \uae30\ubcf8\uc801\uc778 \ud615\uc2dd\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>{ (parameters) -&gt; ReturnType in\n    \/\/ \ud074\ub85c\uc800\uc758 \ubcf8\ubb38\n}<\/code><\/pre>\n<p>\ub2e4\uc74c\uc740 \ub450 \uc218\ub97c \ub354\ud558\ub294 \ud074\ub85c\uc800\uc758 \uc608\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>let addClosure: (Int, Int) -&gt; Int = { (a, b) in\n    return a + b\n}<\/code><\/pre>\n<h2>3. nil\uacfc \uc635\uc154\ub110 \ubcc0\uc218<\/h2>\n<p>Swift\uc5d0\uc11c\ub294 \ubcc0\uc218\uac00 nil \uac12\uc744 \uac00\uc9c8 \uc218 \uc788\ub3c4\ub85d \uc635\uc154\ub110(Optional) \ud0c0\uc785\uc744 \ub3c4\uc785\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc635\uc154\ub110\uc740 \uac12\uc774 \uc788\uc744 \uc218\ub3c4 \uc788\uace0, \uc5c6\uc744 \uc218\ub3c4 \uc788\ub294 \ubcc0\uc218\ub97c \uc815\uc758\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc635\uc154\ub110 \ud0c0\uc785\uc740 \ub2e4\uc74c\uacfc \uac19\uc774 \uc815\uc758\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>var optionalVariable: Int? = nil<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub294 optionalVariable\uc774\ub77c\ub294 \ubcc0\uc218\uac00 Int \ud0c0\uc785 \uac12\uc744 \uac00\uc9c8 \uc218\ub3c4 \uc788\uace0 nil\uc77c \uc218\ub3c4 \uc788\uc74c\uc744 \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \uc635\uc154\ub110 \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec nil \uac12\uc744 \uc548\uc804\ud558\uac8c \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>if let safeVariable = optionalVariable {\n    print(\"\uc635\uc154\ub110\uc758 \uac12: \\(safeVariable)\")\n} else {\n    print(\"\uc635\uc154\ub110\uc740 nil\uc785\ub2c8\ub2e4.\")\n}<\/code><\/pre>\n<p>\uc774\ub807\uac8c \ud558\uba74 \uc635\uc154\ub110 \ubcc0\uc218\uac00 nil\uc77c \uacbd\uc6b0\uc5d0\ub3c4 \uc548\uc804\ud558\uac8c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>4. self\uc758 \uc774\ud574<\/h2>\n<p>Swift\uc5d0\uc11c self\ub294 \ud074\ub798\uc2a4 \ub610\ub294 \uad6c\uc870\uccb4\uc758 \uc778\uc2a4\ud134\uc2a4\ub97c \uac00\ub9ac\ud0a4\ub294 \ud2b9\ubcc4\ud55c \uc608\uc57d\uc5b4\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uba54\uc11c\ub4dc \ub610\ub294 \uc774\ub2c8\uc15c\ub77c\uc774\uc800 \ub0b4\ubd80\uc5d0\uc11c self\ub97c \ucc38\uc870\ud560 \ub54c \uc0ac\uc6a9\ub429\ub2c8\ub2e4. self\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc778\uc2a4\ud134\uc2a4\uc758 \ud504\ub85c\ud37c\ud2f0 \ub610\ub294 \uba54\uc11c\ub4dc\uc5d0 \uc811\uadfc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\ub2e4\uc74c\uc740 self\ub97c \uc0ac\uc6a9\ud558\ub294 \uac04\ub2e8\ud55c \uc608\uc2dc\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>class MyClass {\n    var number: Int\n\n    init(number: Int) {\n        self.number = number \/\/ self\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc778\uc2a4\ud134\uc2a4 \ud504\ub85c\ud37c\ud2f0\uc5d0 \uc811\uadfc\n    }\n\n    func displayNumber() {\n        print(\"\uc22b\uc790: \\(self.number)\") \/\/ self\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud504\ub85c\ud37c\ud2f0\uc5d0 \uc811\uadfc\n    }\n}<\/code><\/pre>\n<h2>5. SwiftUI\uc5d0\uc11c\uc758 \ud568\uc218\uc640 \ud074\ub85c\uc800 \uc0ac\uc6a9<\/h2>\n<p>SwiftUI\ub294 \ud568\uc218\ud615 \ud328\ub7ec\ub2e4\uc784\uc744 \uc801\uadf9\uc801\uc73c\ub85c \ucc44\ud0dd\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ubdf0\ub97c \uc0dd\uc131\ud558\ub294 \ud568\uc218\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ud615\ud0dc\ub85c \uc791\uc131\ub429\ub2c8\ub2e4:<\/p>\n<pre><code>struct ContentView: View {\n    var body: some View {\n        Text(\"Hello, SwiftUI!\")\n    }\n}<\/code><\/pre>\n<p>\uc5ec\uae30\uc11c body \ud504\ub85c\ud37c\ud2f0\ub294 ContentView\uc758 \ubdf0\ub97c \uc815\uc758\ud558\ub294 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. SwiftUI\uc5d0\uc11c\ub294 \ubdf0\ub97c \uad6c\uc131\ud558\ub294 \uc694\uc18c(\uc608: Text, Image \ub4f1)\ub97c \ud568\uc218\ucc98\ub7fc \uc120\uc5b8\ud558\uc5ec \ucc98\ub9ac\ud569\ub2c8\ub2e4.<\/p>\n<h2>6. \uacb0\ub860<\/h2>\n<p>SwiftUI\ub97c \uc0ac\uc6a9\ud558\uba74 \uc9c1\uad00\uc801\uc778 \ubc29\uc2dd\uc73c\ub85c iOS \uc571\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc704\uc5d0\uc11c \uc0b4\ud3b4\ubcf8 \uc77c\ubc18\uc801\uc778 \ud504\ub85c\uadf8\ub798\ubc0d \uac1c\ub150\ub4e4, \uc989 \ud568\uc218, \uc775\uba85 \ud568\uc218, nil, \uc635\uc154\ub110 \ubcc0\uc218, self\ub294 SwiftUI\ub97c \ud3ec\ud568\ud55c Swift\uc758 \ubaa8\ub4e0 \ud504\ub85c\uadf8\ub798\ubc0d \ud658\uacbd\uc5d0\uc11c \ud544\uc218\uc801\uc73c\ub85c \uc54c\uc544\uc57c \ud560 \uc694\uc18c\ub4e4\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uac1c\ub150\ub4e4\uc744 \uc219\uc9c0\ud558\uace0 \ud65c\uc6a9\ud560 \uc218 \uc788\ub2e4\uba74, \ub354 \ud6a8\uc728\uc801\uc774\uace0 \uc548\uc815\uc801\uc778 iOS \uc571 \uac1c\ubc1c\uc774 \uac00\ub2a5\ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<div class=\"note\">\n<strong>\ucc38\uace0\uc0ac\ud56d:<\/strong> SwiftUI\ub294 \uc9c0\uc18d\uc801\uc73c\ub85c \uc5c5\ub370\uc774\ud2b8\ub418\uba70, \uc0c8\ub85c\uc6b4 \uae30\ub2a5\uacfc \uac1c\uc120\uc810\uc774 \ucd94\uac00\ub429\ub2c8\ub2e4. \ud56d\uc0c1 \ucd5c\uc2e0 \ubb38\uc11c\ub97c \ucc38\uace0\ud558\uc5ec \uac1c\ubc1c\uc5d0 \uc784\ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.\n<\/div>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SwiftUI\ub294 \uc560\ud50c\uc758 \ucd5c\uc2e0 UI \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uac00 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 SwiftUI\ub97c \uc774\uc6a9\ud55c iOS \uc571 \uac1c\ubc1c\uc744 \ub2e4\ub8e8\uace0, \ud568\uc218, \uc775\uba85 \ud568\uc218, nil, \uc635\uc154\ub110 \ubcc0\uc218, \uadf8\ub9ac\uace0 self\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \uae4a\uc774 \uc788\uac8c \ub2e4\ub904 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. SwiftUI \uc18c\uac1c SwiftUI\ub294 \uc560\ud50c\uc758 \ubaa8\ub4e0 \ud50c\ub7ab\ud3fc\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ud601\uc2e0\uc801\uc778 UI \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. SwiftUI\ub294 \uc120\uc5b8\uc801 \uad6c\ubb38(declarative syntax)\uc744 \uc0ac\uc6a9\ud558\uc5ec UI\ub97c \uad6c\ucd95\ud558\ub294 \ubc29\uc2dd\uc744 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/25860\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c&#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-25860","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\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c - \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\/25860\/\" \/>\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\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"SwiftUI\ub294 \uc560\ud50c\uc758 \ucd5c\uc2e0 UI \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uac00 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 SwiftUI\ub97c \uc774\uc6a9\ud55c iOS \uc571 \uac1c\ubc1c\uc744 \ub2e4\ub8e8\uace0, \ud568\uc218, \uc775\uba85 \ud568\uc218, nil, \uc635\uc154\ub110 \ubcc0\uc218, \uadf8\ub9ac\uace0 self\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \uae4a\uc774 \uc788\uac8c \ub2e4\ub904 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. SwiftUI \uc18c\uac1c SwiftUI\ub294 \uc560\ud50c\uc758 \ubaa8\ub4e0 \ud50c\ub7ab\ud3fc\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ud601\uc2e0\uc801\uc778 UI \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. SwiftUI\ub294 \uc120\uc5b8\uc801 \uad6c\ubb38(declarative syntax)\uc744 \uc0ac\uc6a9\ud558\uc5ec UI\ub97c \uad6c\ucd95\ud558\ub294 \ubc29\uc2dd\uc744 &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/25860\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T05:49:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:53:56+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\/25860\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25860\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c\",\"datePublished\":\"2024-10-27T05:49:12+00:00\",\"dateModified\":\"2024-11-26T07:53:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25860\/\"},\"wordCount\":49,\"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\/25860\/\",\"url\":\"https:\/\/atmokpo.com\/w\/25860\/\",\"name\":\"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T05:49:12+00:00\",\"dateModified\":\"2024-11-26T07:53:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25860\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/25860\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/25860\/#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\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c\"}]},{\"@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\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c - \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\/25860\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"SwiftUI\ub294 \uc560\ud50c\uc758 \ucd5c\uc2e0 UI \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uac00 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 SwiftUI\ub97c \uc774\uc6a9\ud55c iOS \uc571 \uac1c\ubc1c\uc744 \ub2e4\ub8e8\uace0, \ud568\uc218, \uc775\uba85 \ud568\uc218, nil, \uc635\uc154\ub110 \ubcc0\uc218, \uadf8\ub9ac\uace0 self\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \uae4a\uc774 \uc788\uac8c \ub2e4\ub904 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. SwiftUI \uc18c\uac1c SwiftUI\ub294 \uc560\ud50c\uc758 \ubaa8\ub4e0 \ud50c\ub7ab\ud3fc\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ud601\uc2e0\uc801\uc778 UI \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. SwiftUI\ub294 \uc120\uc5b8\uc801 \uad6c\ubb38(declarative syntax)\uc744 \uc0ac\uc6a9\ud558\uc5ec UI\ub97c \uad6c\ucd95\ud558\ub294 \ubc29\uc2dd\uc744 &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c\"","og_url":"https:\/\/atmokpo.com\/w\/25860\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T05:49:12+00:00","article_modified_time":"2024-11-26T07:53:56+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\/25860\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/25860\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c","datePublished":"2024-10-27T05:49:12+00:00","dateModified":"2024-11-26T07:53:56+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/25860\/"},"wordCount":49,"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\/25860\/","url":"https:\/\/atmokpo.com\/w\/25860\/","name":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T05:49:12+00:00","dateModified":"2024-11-26T07:53:56+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/25860\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/25860\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/25860\/#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\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c"}]},{"@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\/25860","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=25860"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25860\/revisions"}],"predecessor-version":[{"id":25861,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25860\/revisions\/25861"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=25860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=25860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=25860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}