{"id":6766,"date":"2013-01-04T17:31:17","date_gmt":"2013-01-04T22:31:17","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=6766"},"modified":"2013-01-04T17:31:18","modified_gmt":"2013-01-04T22:31:18","slug":"transitioning-qtkit-code-to-av-foundation","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/01\/04\/transitioning-qtkit-code-to-av-foundation\/","title":{"rendered":"Transitioning QTKit Code to AV Foundation"},"content":{"rendered":"<p><a href=\"http:\/\/developer.apple.com\/library\/mac\/technotes\/tn2300\/_index.html\">Apple TN2300<\/a> (via <a href=\"https:\/\/twitter.com\/boredzo\/status\/287052259878117376\">Peter Hosey<\/a>):<\/p>\n<blockquote cite=\"http:\/\/developer.apple.com\/library\/mac\/technotes\/tn2300\/_index.html\"><p>AV Foundation is the recommended framework for all new development involving time-based audiovisual media on iOS and OS X. AV Foundation is also recommended for transitioning existing apps based on QTKit. Introduced in OS X 10.4, QTKit provides a set of Objective-C classes and methods designed to handle the basic tasks of playback, editing, export, audio\/video capture and recording, in addition to a number of other multimedia capabilities.<\/p>\n<p>This document describes the mapping of the QTKit classes and methods to the newer AV Foundation classes to help you get started working with AV Foundation objects and their associated methods to accomplish a variety of tasks.<\/p><\/blockquote>\n<p>It seems like just yesterday that QTKit was the new hotness replacing NSMovieView and the QuickTime C APIs.<\/p>","protected":false},"excerpt":{"rendered":"<p>Apple TN2300 (via Peter Hosey): AV Foundation is the recommended framework for all new development involving time-based audiovisual media on iOS and OS X. AV Foundation is also recommended for transitioning existing apps based on QTKit. Introduced in OS X 10.4, QTKit provides a set of Objective-C classes and methods designed to handle the basic [&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":[273,69,54,71,272,271],"class_list":["post-6766","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-avfoundation","tag-cocoa","tag-objective-c","tag-programming","tag-qtkit","tag-quicktime"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6766","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=6766"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6766\/revisions"}],"predecessor-version":[{"id":6767,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6766\/revisions\/6767"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=6766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=6766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=6766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}