{"id":6935,"date":"2023-02-21T14:43:39","date_gmt":"2023-02-21T06:43:39","guid":{"rendered":"https:\/\/1989lifejourney.com\/?p=6935"},"modified":"2023-02-21T15:30:41","modified_gmt":"2023-02-21T07:30:41","slug":"ios-runloop","status":"publish","type":"post","link":"https:\/\/1989lifejourney.com\/?p=6935","title":{"rendered":"IOS Runloop\u76f8\u95dc\u53c3\u8003\u9023\u7d50"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">iOS Run Loop, What Why When<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/prafullkumar77.medium.com\/ios-run-loop-what-why-when-7febead400b7\">https:\/\/prafullkumar77.medium.com\/ios-run-loop-what-why-when-7febead400b7<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Official documentation:<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developer.apple.com\/library\/archive\/documentation\/Cocoa\/Conceptual\/Multithreading\/RunLoopManagement\/RunLoopManagement.html#\/\/apple_ref\/doc\/uid\/10000057i-CH16-SW1\" rel=\"nofollow\">https:\/\/developer.apple.com\/library\/archive\/documentation\/Cocoa\/Conceptual\/Multithreading\/RunLoopManagement\/RunLoopManagement.html#\/\/apple_ref\/doc\/uid\/10000057i-CH16-SW1<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u7c21\u55ae\u804a\u804a iOS Run Loop<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/medium.com\/@chengyang1380\/%E7%B0%A1%E5%96%AE%E8%81%8A%E8%81%8A-ios-run-loop-a9204314b773\">https:\/\/medium.com\/@chengyang1380\/%E7%B0%A1%E5%96%AE%E8%81%8A%E8%81%8A-ios-run-loop-a9204314b773<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">What is a RunLoop Anyway? Swift and iOS Guide<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/stevenpcurtis.medium.com\/what-is-a-runloop-anyway-swift-and-ios-guide-aa574577331b#:~:text=A%20run%20loop%20keeps%20your,be%20called%20an%20event%20loop\">https:\/\/stevenpcurtis.medium.com\/what-is-a-runloop-anyway-swift-and-ios-guide-aa574577331b#:~:text=A%20run%20loop%20keeps%20your,be%20called%20an%20event%20loop<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6bd4\u8f03RunLoop default mode &amp; common mode:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/stackoverflow.com\/questions\/7222449\/nsdefaultrunloopmode-vs-nsrunloopcommonmodes\">https:\/\/stackoverflow.com\/questions\/7222449\/nsdefaultrunloopmode-vs-nsrunloopcommonmodes<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>iOS Run Loop, What Why When <a href=\"https:\/\/prafullkumar77.medi\" rel=\"nofollow\">https:\/\/prafullkumar77.medi<\/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_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_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,55138170,1],"tags":[],"post_folder":[],"class_list":["post-6935","post","type-post","status-publish","format-standard","hentry","category-ios-development","category-technology-sharing","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paR5vw-1NR","jetpack-related-posts":[{"id":4774,"url":"https:\/\/1989lifejourney.com\/?p=4774","url_meta":{"origin":6935,"position":0},"title":"IOS DispatchGroup","author":"Kevin","date":"11 3 \u6708, 2022","format":false,"excerpt":"DispatchGroup A group of tasks that you monitor as\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":4307,"url":"https:\/\/1989lifejourney.com\/?p=4307","url_meta":{"origin":6935,"position":1},"title":"IOS Grand Central Dispatch(GCD)","author":"Kevin","date":"8 2 \u6708, 2022","format":false,"excerpt":"Grand Central Dispatch(GCD): Dispatch, also known \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":4024,"url":"https:\/\/1989lifejourney.com\/?p=4024","url_meta":{"origin":6935,"position":2},"title":"Using Responders and the Responder Chain to Handle Events","author":"Kevin","date":"8 1 \u6708, 2022","format":false,"excerpt":"App\u63a5\u6536\u548c\u8655\u7406\u4e8b\u4ef6\u65b9\u5f0f: App\u63a5\u6536\u548c\u8655\u7406\u4e8b\u4ef6\u662f\u7528responder objects(p.s. i\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":5857,"url":"https:\/\/1989lifejourney.com\/?p=5857","url_meta":{"origin":6935,"position":3},"title":"SwiftUI\u5b78\u7fd2","author":"Kevin","date":"2 9 \u6708, 2022","format":false,"excerpt":"https:\/\/developer.apple.com\/tutorials\/swiftui\/hand\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":6284,"url":"https:\/\/1989lifejourney.com\/?p=6284","url_meta":{"origin":6935,"position":4},"title":"IOS bluetooth in background","author":"Kevin","date":"13 12 \u6708, 2022","format":false,"excerpt":"https:\/\/medium.com\/@cbartel\/ios-scan-and-connect-t\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":6935,"position":5},"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":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/6935","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=6935"}],"version-history":[{"count":7,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/6935\/revisions"}],"predecessor-version":[{"id":6942,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/6935\/revisions\/6942"}],"wp:attachment":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6935"},{"taxonomy":"post_folder","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpost_folder&post=6935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}