{"id":10982,"date":"2015-04-06T13:25:22","date_gmt":"2015-04-06T17:25:22","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=10982"},"modified":"2015-04-06T13:25:22","modified_gmt":"2015-04-06T17:25:22","slug":"xcode-searching","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/04\/06\/xcode-searching\/","title":{"rendered":"Xcode Searching"},"content":{"rendered":"<p><a href=\"http:\/\/www.openradar.me\/radar?id=6121345028980736\">Daniel Jalkut<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.openradar.me\/radar?id=6121345028980736\"><p>A search scope that includes system frameworks will not actually search or match against any of the frameworks that are linked to by the targets in a workspace. It appears that it will only search frameworks that are explicitly included as file references in the project navigator.<\/p>\n<p>[&#8230;]<\/p>\n<p>A related problem is that even if a framework is explicitly linked to, such as Cocoa.framework, only the header files of that specific framework will be searched, not the header files of subsidiary frameworks (e.g. Foundation and AppKit).<\/p><\/blockquote>\n<p>I find that searching in Xcode is only worthwhile for my own code. If I&rsquo;m trying to find an API, Xcode&rsquo;s documentation search is clunky and doesn&rsquo;t seem to actually search all the documentation. Its header searching, as Jalkut explains, is very limited. Dash is great for searching the documentation, but there is a lot that is not documented. If Dash can&rsquo;t find what I want, I have a BBEdit saved search set that looks in all the header files in the current SDK.<\/p>","protected":false},"excerpt":{"rendered":"<p>Daniel Jalkut: A search scope that includes system frameworks will not actually search or match against any of the frameworks that are linked to by the targets in a workspace. It appears that it will only search frameworks that are explicitly included as file references in the project navigator. [&#8230;] A related problem is that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[154,231,31,30,71,226],"class_list":["post-10982","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-bbedit","tag-dash","tag-ios","tag-mac","tag-programming","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/10982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=10982"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/10982\/revisions"}],"predecessor-version":[{"id":10983,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/10982\/revisions\/10983"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=10982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=10982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=10982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}