{"id":573,"date":"2007-09-07T11:57:17","date_gmt":"2007-09-07T18:57:17","guid":{"rendered":"http:\/\/www.latenightsw.com\/blogfs5\/?p=47"},"modified":"2012-05-05T18:17:54","modified_gmt":"2012-05-06T01:17:54","slug":"coming-from-facespan-3","status":"publish","type":"post","link":"https:\/\/markalldritt.com\/?p=573","title":{"rendered":"Coming from FaceSpan 3"},"content":{"rendered":"<p>A few messages on the FaceSpan 5 Alpha mailing list have described the difficulties FaceSpan 3 users face when trying to get up and running with FaceSpan 5.<\/p>\n\n<p>I&#8217;m going to use this blog post to collect a summary of the differences between FaceSpan 5 and FaceSpan 3.  This list will no doubt grow over time as we learn more about how best to program FaceSpan 5.<\/p>\n\n<p>So here we go:<\/p>\n\n<ol>\n<li><p>The names of many properties have changed.  When the FaceSpan 5 dictionary settles down, I&#8217;ll prepare a table that maps the old FaceSpan 3 names to the new FaceSpan 5 names.  Until then, you&#8217;ll have to use the FaceSpanKit dictionary to find the new names.<\/p><\/li>\n<li><p>You can safely ignore FaceSpan 5&#8217;s delegates when starting out with FaceSpan 5.  FaceSpan 3 message dispatching is identical to FaceSpan 5&#8217;s default way of dispatching events (i.e. upwards the containment hierarchy: view -> window -> application).<\/p><\/li>\n<li><p>FaceSpan 3 allowed you to reference any view from any other view.  This allowed you to say things like <em>text view &#8220;myViewName&#8221;<\/em> in any other view&#8217;s script and FaceSpan would search the window for you.<\/p>\n\n<p>In FaceSpan 5, you have to explicitly reference the window using <em>my window<\/em>&#8216;s text view &#8220;myViewName&#8221; (or more directly: my window&#8217;s myViewName).<\/p><\/li>\n<li><p>There are no storage items.  However, you can simulate storage items using <em>Bag<\/em> objects.  Just create <em>Bag<\/em> instances at the application level in the IDE.  You can then use the <em>Bag<\/em>&#8216;s <em>persistent data<\/em> property to store information that should be retained between application runs.<\/p><\/li>\n<\/ol>\n\n<p>&#8230;more later<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few messages on the FaceSpan 5 Alpha mailing list have described the difficulties FaceSpan 3 users face when trying to get up and running&#8230;<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/markalldritt.com\/?p=573\">Continue Reading<span class=\"screen-reader-text\">Coming from FaceSpan 3<\/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":[10],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7AQk-9f","_links":{"self":[{"href":"https:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts\/573"}],"collection":[{"href":"https:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=573"}],"version-history":[{"count":1,"href":"https:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts\/573\/revisions"}],"predecessor-version":[{"id":590,"href":"https:\/\/markalldritt.com\/index.php?rest_route=\/wp\/v2\/posts\/573\/revisions\/590"}],"wp:attachment":[{"href":"https:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/markalldritt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}