{"id":12735,"date":"2015-11-05T14:50:30","date_gmt":"2015-11-05T19:50:30","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=12735"},"modified":"2015-11-09T11:58:27","modified_gmt":"2015-11-09T16:58:27","slug":"dropbox-api-v2-drops-objective-c-sdk","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/11\/05\/dropbox-api-v2-drops-objective-c-sdk\/","title":{"rendered":"Dropbox API v2 Drops Objective-C SDK"},"content":{"rendered":"<p><a href=\"https:\/\/blogs.dropbox.com\/developers\/2015\/11\/dropbox-api-v2-launches-today\/\">Steve Marx<\/a> (via <a href=\"https:\/\/twitter.com\/steipete\/status\/662031899905368064\">Peter Steinberger<\/a>):\n<\/p>\n<blockquote cite=\"https:\/\/blogs.dropbox.com\/developers\/2015\/11\/dropbox-api-v2-launches-today\/\"><p>There are currently four SDKs for API v2: <a href=\"https:\/\/www.dropbox.com\/developers\/documentation\/swift\">Swift<\/a>, <a href=\"https:\/\/www.dropbox.com\/developers\/documentation\/python\">Python<\/a>, <a href=\"https:\/\/www.dropbox.com\/developers\/documentation\/dotnet\">.NET<\/a>, and <a href=\"https:\/\/www.dropbox.com\/developers\/documentation\/java\">Java<\/a>. We&rsquo;re continuing to add new SDKs, so <a href=\"https:\/\/blogs.dropbox.com\/developers\">watch the blog<\/a> for upcoming announcements. All SDKs and documentation for API v2 are managed via a code generation process, which means that they&rsquo;re consistent across languages and easy to update as we add new API features.<\/p>\n<p>[&#8230;]<\/p>\n<p>Developers have often asked us to support the notion of a file ID: a unique identifier for a file that remains constant even when the file is moved. We&rsquo;re pleased to announce that API v2 includes this highly-requested feature. Developers can now use file IDs instead of paths to make sure their apps don&rsquo;t lose track of a file when it&rsquo;s moved by a user.<\/p><\/blockquote>\n<p>You could call the old Objective-C API from Swift, but the new API does not work from Objective-C.<\/p>\n<p>Update (2015-11-05): <a href=\"https:\/\/twitter.com\/payco\/status\/662475926182105090\">Matthew Abbot<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/payco\/status\/662475926182105090\"><p>FWIW, objc support is planned as soon as the swift API leaves beta. There are a few aspects that will need a compat layer.<\/p><\/blockquote>\n<p>Update (2015-11-09): <a href=\"https:\/\/swiftnews.curated.co\/issues\/61\">This Week in Swift<\/a> links to <a href=\"https:\/\/www.dropboxforum.com\/hc\/en-us\/community\/posts\/204715229-To-use-API-v2-in-iOS-platform-we-need-an-objective-C-version\">this thread<\/a>, which makes it look like Dropbox didn&rsquo;t realize what they were doing.<\/p>","protected":false},"excerpt":{"rendered":"<p>Steve Marx (via Peter Steinberger): There are currently four SDKs for API v2: Swift, Python, .NET, and Java. We&rsquo;re continuing to add new SDKs, so watch the blog for upcoming announcements. All SDKs and documentation for API v2 are managed via a code generation process, which means that they&rsquo;re consistent across languages and easy to [&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":[888,47,31,30,54,74,71,901,96,50],"class_list":["post-12735","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-code-generation","tag-dropbox","tag-ios","tag-mac","tag-objective-c","tag-opensource","tag-programming","tag-swift-programming-language","tag-web","tag-webapi"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/12735","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=12735"}],"version-history":[{"count":4,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/12735\/revisions"}],"predecessor-version":[{"id":12771,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/12735\/revisions\/12771"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=12735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=12735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=12735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}