{"id":7704,"date":"2013-08-15T12:10:52","date_gmt":"2013-08-15T17:10:52","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=7704"},"modified":"2016-05-08T23:37:26","modified_gmt":"2016-05-09T03:37:26","slug":"mining-for-api-trivia","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/08\/15\/mining-for-api-trivia\/","title":{"rendered":"Mining for API Trivia"},"content":{"rendered":"<p><a href=\"http:\/\/www.notesfromandy.com\/2013\/08\/14\/mining-for-api-trivia\/\">Andy Lee<\/a>:<\/p>\r\n<blockquote cite=\"http:\/\/www.notesfromandy.com\/2013\/08\/14\/mining-for-api-trivia\/\"><p>The dsidx file is a Core Data store containing information about API symbols and where they are documented. Each symbol has a token type indicating whether it&rsquo;s a class name, a macro name, etc.<\/p>\r\n<p>[&#8230;]<\/p>\r\n<p>The same technique applied to the 10.8 docset reveals the function name <code>IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber<\/code>.  Its length is only 68, so iOS wins with <code>MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification<\/code> (74), assuming there isn&rsquo;t an error in the database or in my admittedly shaky SQL.<\/p>\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Andy Lee: The dsidx file is a Core Data store containing information about API symbols and where they are documented. Each symbol has a token type indicating whether it&rsquo;s a class name, a macro name, etc. [&#8230;] The same technique applied to the 10.8 docset reveals the function name IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber. Its length is only 68, [&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":[69,30,71],"class_list":["post-7704","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-cocoa","tag-mac","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7704","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=7704"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7704\/revisions"}],"predecessor-version":[{"id":14439,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7704\/revisions\/14439"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=7704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=7704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=7704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}