{"id":32797,"date":"2024-11-01T09:11:37","date_gmt":"2024-11-01T09:11:37","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=32797"},"modified":"2024-11-01T11:23:40","modified_gmt":"2024-11-01T11:23:40","slug":"swiftui-style-iphone-app-development-how-to-define-and-set-auto-layout","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/32797\/","title":{"rendered":"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout"},"content":{"rendered":"<p><body><\/p>\n<article>\n<p>iPhone app development has become a necessity in today&#8217;s mobile application market, rather than just an option. In particular, Apple&#8217;s latest framework, SwiftUI, offers more benefits to developers compared to the traditional UIKit. In this article, we will take a closer look at how to develop iPhone apps using SwiftUI and how to define and set up automatic layouts.<\/p>\n<h2>1. What is SwiftUI?<\/h2>\n<p>SwiftUI is a declarative UI framework introduced by Apple that can be used across all Apple platforms. SwiftUI makes building user interfaces simpler and more intuitive, enhancing code reusability and maintenance. One of the main advantages of SwiftUI is that it enables a &#8216;data-driven design,&#8217; meaning the UI updates automatically based on the data.<\/p>\n<h2>2. Understanding the Basic Structure of SwiftUI<\/h2>\n<p>The basic structure of SwiftUI consists of multiple views that adopt the View protocol. Everything in SwiftUI is a view. Views can be combined from various UI elements, and these views can contain other views. SwiftUI also introduces the concept of &#8216;stacks&#8217; to easily arrange views vertically or horizontally.<\/p>\n<h3>2.1. VStack, HStack, ZStack<\/h3>\n<p>SwiftUI&#8217;s stacks provide ways to stack views. Each stack varies based on how it arranges its child views.<\/p>\n<ul>\n<li><strong>VStack<\/strong>: Stacks views vertically.<\/li>\n<li><strong>HStack<\/strong>: Stacks views horizontally.<\/li>\n<li><strong>ZStack<\/strong>: Supports overlapping views.<\/li>\n<\/ul>\n<h2>3. The iPhone App Development Process with SwiftUI<\/h2>\n<p>The basic process for developing an iPhone app using SwiftUI is as follows.<\/p>\n<ol>\n<li><strong>Install Xcode<\/strong>: SwiftUI requires Xcode 11 or later, so you need to install the latest version.<\/li>\n<li><strong>Create a New Project<\/strong>: Launch Xcode and select &#8216;Create a new Xcode project.&#8217; Then choose the &#8216;App&#8217; template.<\/li>\n<li><strong>Select SwiftUI<\/strong>: In the next step, select SwiftUI.<\/li>\n<li><strong>Set Up UI<\/strong>: Set up the basic UI in the ContentView.swift file.<\/li>\n<\/ol>\n<h3>3.1. Example of Basic UI Setup<\/h3>\n<p>Let&#8217;s create a simple text view. Add the following code to the ContentView.swift file.<\/p>\n<pre><code>\nstruct ContentView: View {\n    var body: some View {\n        Text(\"Hello, SwiftUI!\")\n            .font(.largeTitle)\n            .padding()\n    }\n}\n        <\/code><\/pre>\n<p>This will center the text saying &#8220;Hello, SwiftUI!&#8221;<\/p>\n<h2>4. Defining and Setting Up Automatic Layouts<\/h2>\n<p>SwiftUI&#8217;s automatic layout system adjusts the position and size of views automatically. This is particularly useful when supporting various screen sizes and orientations.<\/p>\n<h3>4.1. Adjusting Layout<\/h3>\n<p>There are several ways to adjust the size and shape of views in SwiftUI. For example, you can use modifiers like .frame(), .padding(), and .background() to adjust views.<\/p>\n<pre><code>\nstruct ContentView: View {\n    var body: some View {\n        VStack {\n            Text(\"Swift Layout\")\n                .font(.title)\n                .padding()\n                .background(Color.blue)\n                .foregroundColor(.white)\n                .cornerRadius(10)\n\n            Text(\"Automatic layouts in SwiftUI!\")\n                .font(.subheadline)\n                .padding()\n                .border(Color.green, width: 2)\n        }\n        .padding()\n    }\n}\n        <\/code><\/pre>\n<h3>4.2. Spacer and Divider<\/h3>\n<p>Spacer is used to create space between views. You can also use Divider to visually separate views.<\/p>\n<pre><code>\nstruct ContentView: View {\n    var body: some View {\n        VStack {\n            Text(\"First View\")\n            Spacer()\n            Divider()\n            Spacer()\n            Text(\"Third View\")\n        }\n        .padding()\n    }\n}\n        <\/code><\/pre>\n<h2>5. Responsive Design in SwiftUI<\/h2>\n<p>SwiftUI offers responsive design to support various screen sizes and devices. This allows for effectively implementing the same UI across multiple screens. <strong>GeometryReader<\/strong> can be utilized to dynamically adjust the size and position of views.<\/p>\n<pre><code>\nstruct ContentView: View {\n    var body: some View {\n        GeometryReader { geometry in\n            VStack {\n                Text(\"Current Screen Size\")\n                Text(\"\\(geometry.size.width) x \\(geometry.size.height)\")\n                    .font(.largeTitle)\n                Spacer()\n            }\n        }\n    }\n}\n        <\/code><\/pre>\n<h2>6. Various UI Components in SwiftUI<\/h2>\n<p>SwiftUI provides various UI components such as buttons, text fields, lists, and visual elements. These components can be used to create interactive and user-friendly apps.<\/p>\n<h3>6.1. Buttons<\/h3>\n<p>Using buttons allows users to interact with the app. Here&#8217;s an example of creating a basic button.<\/p>\n<pre><code>\nstruct ContentView: View {\n    var body: some View {\n        Button(action: {\n            print(\"Button was clicked!\")\n        }) {\n            Text(\"Click Here\")\n                .padding()\n                .background(Color.green)\n                .foregroundColor(.white)\n                .cornerRadius(8)\n        }\n    }\n}\n        <\/code><\/pre>\n<h3>6.2. Lists<\/h3>\n<p>Lists are useful for displaying large data sets effectively. Using SwiftUI&#8217;s List view allows for easy and quick data display.<\/p>\n<pre><code>\nstruct ContentView: View {\n    let items = [\"Apple\", \"Banana\", \"Cherry\", \"Tangerine\"]\n    \n    var body: some View {\n        List(items, id: \\.self) { item in\n            Text(item)\n        }\n    }\n}\n        <\/code><\/pre>\n<h2>7. State Management in SwiftUI<\/h2>\n<p>Managing the state of an app is very important. In SwiftUI, various properties such as @State, @Binding, @ObservedObject, and @EnvironmentObject can be used to manage state.<\/p>\n<h3>7.1. Using @State<\/h3>\n<p>@State is used for simple state management. For example, let\u2019s assume we are managing the input value of a text field.<\/p>\n<pre><code>\nstruct ContentView: View {\n    @State private var name: String = \"\"\n    \n    var body: some View {\n        VStack {\n            TextField(\"Enter your name\", text: $name)\n                .padding()\n                .border(Color.gray, width: 1)\n            Text(\"Hello, \\(name)!\")\n        }\n        .padding()\n    }\n}\n        <\/code><\/pre>\n<h2>8. Themes and Styling in SwiftUI<\/h2>\n<p>In SwiftUI, it&#8217;s also possible to set the app&#8217;s themes and styles. Colors, fonts, and other styles can be easily applied through modifiers.<\/p>\n<h3>8.1. Setting Colors<\/h3>\n<p>Setting colors in SwiftUI is very intuitive. Here\u2019s how to set a custom color.<\/p>\n<pre><code>\nstruct ContentView: View {\n    var body: some View {\n        Text(\"Custom Color\")\n            .foregroundColor(Color.red)\n            .font(.largeTitle)\n    }\n}\n        <\/code><\/pre>\n<h3>8.2. Setting Themes<\/h3>\n<p>You can establish a consistent user experience by setting an overall theme for the app. SwiftUI also supports several default themes provided by the system.<\/p>\n<h2>9. Animations and Transitions<\/h2>\n<p>SwiftUI facilitates easy and quick implementation of animations. You can add animations based on view state changes using the .animation() modifier.<\/p>\n<pre><code>\nstruct ContentView: View {\n    @State private var isGreen: Bool = false\n    \n    var body: some View {\n        Circle()\n            .fill(isGreen ? Color.green : Color.red)\n            .frame(width: 100, height: 100)\n            .onTapGesture {\n                withAnimation {\n                    isGreen.toggle()\n                }\n            }\n    }\n}\n        <\/code><\/pre>\n<h2>10. Conclusion<\/h2>\n<p>SwiftUI is a great tool for modern UI development. Its concise and intuitive structure allows developers to increase productivity and ease maintenance. In this tutorial, we explored the basic concepts of SwiftUI and how to set up automatic layouts. Now you can start developing iPhone apps using SwiftUI!<\/p>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>iPhone app development has become a necessity in today&#8217;s mobile application market, rather than just an option. In particular, Apple&#8217;s latest framework, SwiftUI, offers more benefits to developers compared to the traditional UIKit. In this article, we will take a closer look at how to develop iPhone apps using SwiftUI and how to define and &hellip; <a href=\"https:\/\/atmokpo.com\/w\/32797\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout&#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":[125],"tags":[],"class_list":["post-32797","post","type-post","status-publish","format-standard","hentry","category-swift-iphone-app-development-swiftui"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout - \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\/32797\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"iPhone app development has become a necessity in today&#8217;s mobile application market, rather than just an option. In particular, Apple&#8217;s latest framework, SwiftUI, offers more benefits to developers compared to the traditional UIKit. In this article, we will take a closer look at how to develop iPhone apps using SwiftUI and how to define and &hellip; \ub354 \ubcf4\uae30 &quot;SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/32797\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:11:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:23:40+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=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/32797\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32797\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout\",\"datePublished\":\"2024-11-01T09:11:37+00:00\",\"dateModified\":\"2024-11-01T11:23:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32797\/\"},\"wordCount\":713,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Swift iPhone app development (SwiftUI)\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/32797\/\",\"url\":\"https:\/\/atmokpo.com\/w\/32797\/\",\"name\":\"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:11:37+00:00\",\"dateModified\":\"2024-11-01T11:23:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32797\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/32797\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/32797\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout\"}]},{\"@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":"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout - \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\/32797\/","og_locale":"ko_KR","og_type":"article","og_title":"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"iPhone app development has become a necessity in today&#8217;s mobile application market, rather than just an option. In particular, Apple&#8217;s latest framework, SwiftUI, offers more benefits to developers compared to the traditional UIKit. In this article, we will take a closer look at how to develop iPhone apps using SwiftUI and how to define and &hellip; \ub354 \ubcf4\uae30 \"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout\"","og_url":"https:\/\/atmokpo.com\/w\/32797\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:11:37+00:00","article_modified_time":"2024-11-01T11:23:40+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":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/32797\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/32797\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout","datePublished":"2024-11-01T09:11:37+00:00","dateModified":"2024-11-01T11:23:40+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/32797\/"},"wordCount":713,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Swift iPhone app development (SwiftUI)"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/32797\/","url":"https:\/\/atmokpo.com\/w\/32797\/","name":"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:11:37+00:00","dateModified":"2024-11-01T11:23:40+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/32797\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/32797\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/32797\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"SwiftUI Style, iPhone App Development, How to Define and Set Auto Layout"}]},{"@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\/32797","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=32797"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32797\/revisions"}],"predecessor-version":[{"id":32798,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32797\/revisions\/32798"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=32797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=32797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=32797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}