{"id":32643,"date":"2024-11-01T09:10:33","date_gmt":"2024-11-01T09:10:33","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=32643"},"modified":"2024-11-01T11:25:03","modified_gmt":"2024-11-01T11:25:03","slug":"using-swift-with-uikit-to-develop-iphone-apps-04-selecting-a-date-using-date-picker","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/32643\/","title":{"rendered":"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker"},"content":{"rendered":"<p><body><\/p>\n<p>In this course, you will learn how to select dates in an iPhone app using the Swift language and the UIKit framework. Specifically, we will explain the basic way to use <strong>UIDatePicker<\/strong> to allow users to select the desired date and time and handle it within the app. This course will proceed step by step to be understandable for both beginners and intermediate developers.<\/p>\n<h2>1. What is UIDatePicker?<\/h2>\n<p><strong>UIDatePicker<\/strong> is a UI component of UIKit that helps the user select a date or time. Using this component makes it more intuitive and reduces errors when compared to having the user input the values directly. UIDatePicker is provided in the following formats:<\/p>\n<ul>\n<li>Date Picker<\/li>\n<li>Time Picker<\/li>\n<li>Date and Time Picker<\/li>\n<\/ul>\n<p>You can set a date or time as the sole selection option, and it can be set up very simply. In the following section, we will explain how to use UIDatePicker to select dates.<\/p>\n<h2>2. Project Setup<\/h2>\n<p>To develop an iOS app, you need to use Xcode. Here\u2019s how to create a new project using Xcode:<\/p>\n<ol>\n<li>Open Xcode and select &#8220;Create a new Xcode project&#8221;.<\/li>\n<li>Select &#8220;App&#8221; under the iOS tab and click &#8220;Next&#8221;.<\/li>\n<li>Enter the project name and other details, then click &#8220;Next&#8221;.<\/li>\n<li>Select a location to save the project and click &#8220;Create&#8221;.<\/li>\n<\/ol>\n<p>Now, the new Xcode project is ready. We will learn how to set up the UI with UIKit and add the UIDatePicker.<\/p>\n<h2>3. Adding UIDatePicker<\/h2>\n<p>To add a UIDatePicker to the storyboard, follow these steps:<\/p>\n<ol>\n<li>Open the storyboard file and select the desired View Controller.<\/li>\n<li>Search for Date Picker in the &#8220;Object Library&#8221; in the right panel.<\/li>\n<li>Drag the Date Picker to add it to the View Controller.<\/li>\n<li>Adjust the position and size of the Date Picker.<\/li>\n<\/ol>\n<h3>3.1 Setting UIDatePicker Properties<\/h3>\n<p>To set the properties of the added UIDatePicker, follow these steps:<\/p>\n<ol>\n<li>Select the Date Picker and click &#8220;Attributes Inspector&#8221; in the right panel.<\/li>\n<li>Choose either &#8220;Date&#8221; or &#8220;Date and Time&#8221; in the Mode to set the desired selection mode.<\/li>\n<li>You can set the Minimum Date and Maximum Date to limit the date range that the user can select.<\/li>\n<\/ol>\n<h2>4. Connecting UIDatePicker with Swift<\/h2>\n<p>Once the UIDatePicker is added to the UI, you need to connect it with IBOutlet and IBAction to interact with it. Here\u2019s how to connect them:<\/p>\n<h3>4.1 Connecting IBOutlet<\/h3>\n<p>Connect the IBOutlet so that you can use the UIDatePicker in the code. Follow these steps:<\/p>\n<ol>\n<li>Open the Assistant Editor and display the ViewController.swift file alongside the storyboard.<\/li>\n<li>While holding the Ctrl key, drag the UIDatePicker from the storyboard to ViewController.swift.<\/li>\n<li>Enter the outlet name and click &#8220;Connect&#8221;.<\/li>\n<\/ol>\n<p>Now that the IBOutlet is connected, you can use the UIDatePicker in your code.<\/p>\n<h3>4.2 Connecting IBAction<\/h3>\n<p>Connect an IBAction to create a method that gets called when the value of the UIDatePicker changes. Follow these steps:<\/p>\n<ol>\n<li>Select the Date Picker, then keep the Assistant Editor open with ViewController.swift.<\/li>\n<li>While holding the Ctrl key, drag the Date Picker from the storyboard to ViewController.swift.<\/li>\n<li>Select the Action type and set the method name, then click &#8220;Connect&#8221;.<\/li>\n<\/ol>\n<pre><code>class ViewController: UIViewController {\n\n    @IBOutlet weak var datePicker: UIDatePicker!\n    \n    @IBAction func datePickerChanged(_ sender: UIDatePicker) {\n        let selectedDate = sender.date\n        print(\"Selected date: \\(selectedDate)\")\n    }\n}\n<\/code><\/pre>\n<p>Now, every time the user changes the value of the Date Picker, the selected date will be printed in the console.<\/p>\n<h2>5. Formatting the Date<\/h2>\n<p>You may need to convert the selected date into a format that is understandable for the user. To do this, you can use the <strong>DateFormatter<\/strong> class. Here\u2019s how to implement it:<\/p>\n<pre><code>let dateFormatter = DateFormatter()\ndateFormatter.dateFormat = \"yyyy-MM-dd HH:mm\" \/\/ Set your desired format\nlet formattedDate = dateFormatter.string(from: selectedDate)\nprint(\"Formatted date: \\(formattedDate)\")\n<\/code><\/pre>\n<h2>6. Checking the Final Result<\/h2>\n<p>Once all settings are complete, run the app on a simulator or a real device to check whether the Date Picker works correctly. You will be able to confirm that the selected date is printed in the console when the user selects a date.<\/p>\n<h2>7. Implementing Additional Features<\/h2>\n<p>Now that you have learned the basics of using UIDatePicker, let&#8217;s implement some additional features. Some functionalities that can be implemented after selecting a date include:<\/p>\n<ul>\n<li>Displaying the selected date in a UILabel<\/li>\n<li>Saving the date to use it on other screens<\/li>\n<li>Executing events based on specific date selections (e.g., creating a basic day counter)<\/li>\n<\/ul>\n<h3>7.1 Displaying the Date in UILabel<\/h3>\n<p>You can add a UILabel to display the selected date. First, add a UILabel in the storyboard and connect it via IBOutlet. Then, add the following code:<\/p>\n<pre><code>@IBOutlet weak var dateLabel: UILabel!\n\n@IBAction func datePickerChanged(_ sender: UIDatePicker) {\n    let selectedDate = sender.date\n    let dateFormatter = DateFormatter()\n    dateFormatter.dateFormat = \"yyyy-MM-dd HH:mm\"\n    dateLabel.text = \"Selected date: \\(dateFormatter.string(from: selectedDate))\"\n}\n<\/code><\/pre>\n<h3>7.2 Saving the Date<\/h3>\n<p>You can use NSUserDefaults to save the selected date and retrieve it when the app is restarted. You can implement it by adding the following code:<\/p>\n<pre><code>func saveDate(date: Date) {\n    UserDefaults.standard.set(date, forKey: \"savedDate\")\n}\n\nfunc loadDate() {\n    if let date = UserDefaults.standard.object(forKey: \"savedDate\") as? Date {\n        datePicker.date = date\n        dateLabel.text = \"Saved date: \\(dateFormatter.string(from: date))\"\n    }\n}<\/code><\/pre>\n<p>Call the loadDate() method when the app launches to display the saved date on the UILabel and UIDatePicker if available.<\/p>\n<h2>8. Conclusion<\/h2>\n<p>In this course, we learned how to select dates using UIDatePicker with Swift and the UIKit framework. We explored the basic usage, date formatting, and how to implement additional features. UIDatePicker is a very useful tool for selecting dates and times and is widely used in various apps. Now you are equipped with the ability to develop your own app with features utilizing UIDatePicker.<\/p>\n<p>Additionally, for a deeper understanding of the Swift language and UIKit, it is advisable to learn through official documentation or courses. Wishing you success on your future development journey!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this course, you will learn how to select dates in an iPhone app using the Swift language and the UIKit framework. Specifically, we will explain the basic way to use UIDatePicker to allow users to select the desired date and time and handle it within the app. This course will proceed step by step &hellip; <a href=\"https:\/\/atmokpo.com\/w\/32643\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker&#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":[127],"tags":[],"class_list":["post-32643","post","type-post","status-publish","format-standard","hentry","category-swift-iphone-app-development-uikit"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker - \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\/32643\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"In this course, you will learn how to select dates in an iPhone app using the Swift language and the UIKit framework. Specifically, we will explain the basic way to use UIDatePicker to allow users to select the desired date and time and handle it within the app. This course will proceed step by step &hellip; \ub354 \ubcf4\uae30 &quot;Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/32643\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:10:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:25:03+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=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/32643\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32643\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker\",\"datePublished\":\"2024-11-01T09:10:33+00:00\",\"dateModified\":\"2024-11-01T11:25:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32643\/\"},\"wordCount\":861,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Swift iPhone app development (UIKit)\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/32643\/\",\"url\":\"https:\/\/atmokpo.com\/w\/32643\/\",\"name\":\"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:10:33+00:00\",\"dateModified\":\"2024-11-01T11:25:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32643\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/32643\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/32643\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker\"}]},{\"@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":"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker - \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\/32643\/","og_locale":"ko_KR","og_type":"article","og_title":"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"In this course, you will learn how to select dates in an iPhone app using the Swift language and the UIKit framework. Specifically, we will explain the basic way to use UIDatePicker to allow users to select the desired date and time and handle it within the app. This course will proceed step by step &hellip; \ub354 \ubcf4\uae30 \"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker\"","og_url":"https:\/\/atmokpo.com\/w\/32643\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:10:33+00:00","article_modified_time":"2024-11-01T11:25:03+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":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/32643\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/32643\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker","datePublished":"2024-11-01T09:10:33+00:00","dateModified":"2024-11-01T11:25:03+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/32643\/"},"wordCount":861,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Swift iPhone app development (UIKit)"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/32643\/","url":"https:\/\/atmokpo.com\/w\/32643\/","name":"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:10:33+00:00","dateModified":"2024-11-01T11:25:03+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/32643\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/32643\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/32643\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Using Swift with UIKit to Develop iPhone Apps: 04 Selecting a Date Using Date Picker"}]},{"@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\/32643","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=32643"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32643\/revisions"}],"predecessor-version":[{"id":32644,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32643\/revisions\/32644"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=32643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=32643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=32643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}