{"id":7481,"date":"2023-03-24T17:38:37","date_gmt":"2023-03-24T09:38:37","guid":{"rendered":"http:\/\/1989lifejourney.com\/2023\/03\/24\/swift-atomics\/"},"modified":"2023-03-24T17:45:56","modified_gmt":"2023-03-24T09:45:56","slug":"swift-atomics","status":"publish","type":"post","link":"https:\/\/1989lifejourney.com\/?p=7481","title":{"rendered":"Swift Atomics"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.swift.org\/blog\/swift-atomics\/\">https:\/\/www.swift.org\/blog\/swift-atomics\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/stackoverflow.com\/questions\/24157834\/are-swift-variables-atomic\">https:\/\/stackoverflow.com\/questions\/24157834\/are-swift-variables-atomic<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"https:\/\/www.swift.org\/blog\/swift-atomics\/\" rel=\"nofollow\">https:\/\/www.swift.org\/blog\/swift-atomics\/<\/a> <a href=\"https:\/\/stack\" rel=\"nofollow\">https:\/\/stack<\/a> [&hellip;]<\/p>\n","protected":false},"author":139426785,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_postgate_lock_override":"inherit","_postgate_lock_mode":"inherit","_postgate_preview_mode":"inherit","_postgate_preview_limit":0,"_postgate_product_ids":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","jetpack_seo_llms_txt_always_include":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[37324612,596263,55138170,1],"tags":[],"post_folder":[],"class_list":["post-7481","post","type-post","status-publish","format-standard","hentry","category-ios-development","category-swift","category-technology-sharing","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paR5vw-1WF","jetpack-related-posts":[{"id":318,"url":"https:\/\/1989lifejourney.com\/?p=318","url_meta":{"origin":7481,"position":0},"title":"IOS &#8211; Importing Swift into Objective-C","author":"Kevin","date":"9 2 \u6708, 2020","format":false,"excerpt":"\u4e00\u822c\u5e38\u898b\u7684\u90fd\u662fImporting Objective-C into Swift (ex: Swift\u2026","rel":"","context":"\u5728\u300cIOS Development\u300d\u4e2d","block_context":{"text":"IOS Development","link":"https:\/\/1989lifejourney.com\/?cat=37324612"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2020\/02\/111.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2020\/02\/111.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2020\/02\/111.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2020\/02\/111.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2020\/02\/111.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2020\/02\/111.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":3917,"url":"https:\/\/1989lifejourney.com\/?p=3917","url_meta":{"origin":7481,"position":1},"title":"Objective-C\u548cSwift\u7684\u5171\u540c\u9ede\u8207\u4e0d\u540c\u9ede","author":"Kevin","date":"8 12 \u6708, 2021","format":false,"excerpt":"Objective-C\u548cSwift\u7684\u5171\u540c\u9ede\u8207\u4e0d\u540c\u9ede \u4ee5\u4e0b\u8cc7\u6599\u4f86\u81ea[ref]\u7db2\u9801\u5167\u5bb9\uff0c\u9019\u88e1\u7d14\u7cb9\u505a\u91cd\u9ede\u6574\u2026","rel":"","context":"\u5728\u300cIOS Development\u300d\u4e2d","block_context":{"text":"IOS Development","link":"https:\/\/1989lifejourney.com\/?cat=37324612"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4899,"url":"https:\/\/1989lifejourney.com\/?p=4899","url_meta":{"origin":7481,"position":2},"title":"AnyObject v.s. Any in Swift","author":"Kevin","date":"24 3 \u6708, 2022","format":false,"excerpt":"AnyObject AnyObject can represent an instance of a\u2026","rel":"","context":"\u5728\u300cIOS Development\u300d\u4e2d","block_context":{"text":"IOS Development","link":"https:\/\/1989lifejourney.com\/?cat=37324612"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7471,"url":"https:\/\/1989lifejourney.com\/?p=7471","url_meta":{"origin":7481,"position":3},"title":"IOS Swift &#8211; check current thread in Swift","author":"Kevin","date":"22 3 \u6708, 2023","format":false,"excerpt":"How to check current thread in Swift 3? https:\/\/st\u2026","rel":"","context":"\u5728\u300cIOS Development\u300d\u4e2d","block_context":{"text":"IOS Development","link":"https:\/\/1989lifejourney.com\/?cat=37324612"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3909,"url":"https:\/\/1989lifejourney.com\/?p=3909","url_meta":{"origin":7481,"position":4},"title":"Swift optional type implementation","author":"Kevin","date":"8 12 \u6708, 2021","format":false,"excerpt":"Swift optional type\u662f\u7528enum\u53bb\u5be6\u4f5c\uff0c\u4ee5\u4e0b\u70baOptional type\u7684\u90e8\u5206so\u2026","rel":"","context":"\u5728\u300cIOS Development\u300d\u4e2d","block_context":{"text":"IOS Development","link":"https:\/\/1989lifejourney.com\/?cat=37324612"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6583,"url":"https:\/\/1989lifejourney.com\/?p=6583","url_meta":{"origin":7481,"position":5},"title":"Building A Hash data structure in Swift","author":"Kevin","date":"7 2 \u6708, 2023","format":false,"excerpt":"https:\/\/medium.com\/journey-of-one-thousand-apps\/bu\u2026","rel":"","context":"\u5728\u300cIOS Development\u300d\u4e2d","block_context":{"text":"IOS Development","link":"https:\/\/1989lifejourney.com\/?cat=37324612"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/7481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/users\/139426785"}],"replies":[{"embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7481"}],"version-history":[{"count":1,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/7481\/revisions"}],"predecessor-version":[{"id":7482,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/7481\/revisions\/7482"}],"wp:attachment":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7481"},{"taxonomy":"post_folder","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpost_folder&post=7481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}