{"id":5836,"date":"2022-08-26T10:12:35","date_gmt":"2022-08-26T02:12:35","guid":{"rendered":"http:\/\/1989lifejourney.com\/2022\/08\/26\/swift-debug-%e9%97%9c%e6%96%bcif-debug\/"},"modified":"2022-08-26T10:25:39","modified_gmt":"2022-08-26T02:25:39","slug":"swift-debug-%e9%97%9c%e6%96%bcif-debug","status":"publish","type":"post","link":"https:\/\/1989lifejourney.com\/?p=5836","title":{"rendered":"Swift Debug &#8211; \u95dc\u65bc#if DEBUG"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.cnblogs.com\/Bob-wei\/p\/5237761.html\">https:\/\/www.cnblogs.com\/Bob-wei\/p\/5237761.html<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> \u548cpreprocessor\u7684\u5dee\u5225<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Preprocessor:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/hackmd.io\/@sysprog\/c-preprocessor\">https:\/\/hackmd.io\/@sysprog\/c-preprocessor<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"https:\/\/www.cnblogs.com\/Bob-wei\/p\/5237761.html\" rel=\"nofollow\">https:\/\/www.cnblogs.com\/Bob-wei\/p\/5237761.html<\/a> \u548cpreproc [&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-5836","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-1w8","jetpack-related-posts":[{"id":5845,"url":"https:\/\/1989lifejourney.com\/?p=5845","url_meta":{"origin":5836,"position":0},"title":"IOS debug &#8211; Difference Between Assert, Precondition and Fatal Error in Swift","author":"Kevin","date":"31 8 \u6708, 2022","format":false,"excerpt":"https:\/\/www.vadimbulavin.com\/assert-vs-preconditio\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":5853,"url":"https:\/\/1989lifejourney.com\/?p=5853","url_meta":{"origin":5836,"position":1},"title":"IOS debug &#8211; get memory address","author":"Kevin","date":"1 9 \u6708, 2022","format":false,"excerpt":"https:\/\/gist.github.com\/tgnivekucn\/225ec01a0660364\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\/2022\/09\/img_3779.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2022\/09\/img_3779.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2022\/09\/img_3779.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2022\/09\/img_3779.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2022\/09\/img_3779.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":4442,"url":"https:\/\/1989lifejourney.com\/?p=4442","url_meta":{"origin":5836,"position":2},"title":"RxSwift\u4f7f\u7528","author":"Kevin","date":"17 2 \u6708, 2022","format":false,"excerpt":"\u4ee5\u4e0b\u8cc7\u6599\u53c3\u8003\u81eaRef\uff0c\u9019\u88e1\u50c5\u4f5c\u500b\u4eba\u5b78\u7fd2\u6574\u7406 Rx\u7684\u4e00\u500b\u6838\u5fc3\u89c0\u5ff5\u5c31\u662fobservable\uff08\u6216\u53ebsequ\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":11860,"url":"https:\/\/1989lifejourney.com\/?p=11860","url_meta":{"origin":5836,"position":3},"title":"AI\u8f14\u52a9\u5bebcode\u512a\u7f3a\u9ede\u8a0e\u8ad6","author":"Kevin","date":"8 4 \u6708, 2025","format":false,"excerpt":"AI\u8f14\u52a9\u5bebcode\u512a\u7f3a\u9ede\u8a0e\u8ad6(p.s. \u5c1a\u672a\u7d93\u904e\u5718\u968a\u5c08\u6848\u9a57\u8b49\uff0c\u50c5\u4f9b\u53c3\u8003): 1. function\u7684\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":7878,"url":"https:\/\/1989lifejourney.com\/?p=7878","url_meta":{"origin":5836,"position":4},"title":"ChatGPT\u6e2c\u8a66_23 (Write the comment which style is Apple&#8217;s documentation comment style)","author":"Kevin","date":"12 4 \u6708, 2023","format":false,"excerpt":"\u554f\u984c: Write the comment for below Swift functions wh\u2026","rel":"","context":"\u5728\u300cChatGPT\u300d\u4e2d","block_context":{"text":"ChatGPT","link":"https:\/\/1989lifejourney.com\/?cat=760577830"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":276,"url":"https:\/\/1989lifejourney.com\/?p=276","url_meta":{"origin":5836,"position":5},"title":"AVFoundation Programming Guide &#8211; Swift &#8211; Using Assets","author":"Kevin","date":"25 12 \u6708, 2019","format":false,"excerpt":"Using Assets Assets can come from a file or from m\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\/5836","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=5836"}],"version-history":[{"count":5,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/5836\/revisions"}],"predecessor-version":[{"id":5841,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/5836\/revisions\/5841"}],"wp:attachment":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5836"},{"taxonomy":"post_folder","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpost_folder&post=5836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}