{"id":39,"date":"2008-02-29T08:11:27","date_gmt":"2008-02-29T16:11:27","guid":{"rendered":"http:\/\/www.latenightsw.com\/blog\/?p=67"},"modified":"2010-11-14T15:47:47","modified_gmt":"2010-11-14T22:47:47","slug":"ichat-theatre-sample-code","status":"publish","type":"post","link":"http:\/\/markalldritt.com\/?p=39","title":{"rendered":"iChat Theatre Sample Code"},"content":{"rendered":"<p><strong><a href=\"http:\/\/www.latenightsw.com\/blog\/wp-content\/uploads\/2008\/02\/ichattheatredemo.zip\">iChat Theatre Demo<\/a><\/strong> (1MB)<\/p>\n\n<p>Leopard introduced something called iChat Theatre which allows applications to share content with other users via iChat.  Apple&#8217;s <a href=\"http:\/\/www.apple.com\/iwork\/keynote\/\">Keynote<\/a> is the poster child for this in that it allows you to show a presentation to another user via iChat.<\/p>\n\n<p>Leopard provides an <a href=\"http:\/\/developer.apple.com\/leopard\/overview\/imframework.html\">amazingly simply API<\/a> for integrating this capability into a Cocoa application.  My iChat Theatre Demo project shows how to integrate iChat Theatre into a Cocoa application by sharing an NSImageView.<\/p>\n\n<p>To use the demo, do the following:<\/p>\n\n<ol>\n<li>launch the iChatDemo application<\/li>\n<li>in iChat, begin a Video Chat with another user<\/li>\n<li>click the + button in the bottom margin of the Video chat button, and select the Share a File option from the popup menu<\/li>\n<li>in the resulting Open File panel, select the iChatDemo application file<\/li>\n<\/ol>\n\n<p>At this point, iChat should begin showing the images displayed by iChatDemo in its window<\/p>\n\n<p>An alternate usage is to simply drag the  iChatDemo application file&#8217;s icon into the Video iChat window, but this produces a subtly different presentation in iChat.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>iChat Theatre Demo (1MB) Leopard introduced something called iChat Theatre which allows applications to share content with other users via iChat. Apple&#8217;s Keynote is the&#8230;<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"http:\/\/markalldritt.com\/?p=39\">Continue Reading<span class=\"screen-reader-text\">iChat Theatre Sample Code<\/span><\/a><\/div><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[8],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7AQk-D","_links":{"self":[{"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts\/39"}],"collection":[{"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=39"}],"version-history":[{"count":1,"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":372,"href":"http:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions\/372"}],"wp:attachment":[{"href":"http:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}