{"id":5790,"date":"2013-03-03T18:34:51","date_gmt":"2013-03-03T18:34:51","guid":{"rendered":"http:\/\/zerokidz.com\/ideas\/?p=5790"},"modified":"2014-06-30T02:03:03","modified_gmt":"2014-06-30T06:03:03","slug":"updates-to-audiograph-for-ios-6","status":"publish","type":"post","link":"https:\/\/reactivemusic.net\/?p=5790","title":{"rendered":"Updates to audiograph for iOS 6"},"content":{"rendered":"<h5>notes<\/h5>\n<p><a href=\"https:\/\/itunes.apple.com\/us\/app\/audiograph\/id486193487?mt=8\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16957 size-medium\" src=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM-300x169.png\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM-300x169.png 300w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM-1024x577.png 1024w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM.png 1366w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Today I&#8217;m attempting to update audiograph to run under the current iOS\/xcode releases. Here are some helpful solutions to resolving compilation errors and warnings&#8230;<\/p>\n<p>(update) Had problems with git, because I forgot to pull the changes from Michael Tyson, down from github before I made changes to the files locally and committed them.<\/p>\n<p>Ended up doing a wholesale copy and a lot of duplicated effort &#8211; anyway it seems to work now.<\/p>\n<p>Very important: The current local version of audiograph is in tkzic\/coreaudio\/audiograph<\/p>\n<p>I have also submitted a new version 1.1 to app store. but its in the same folder I just mentioned.<\/p>\n<h5>runtime view controller error:<\/h5>\n<pre>&lt;code&gt;&#039;A view can only be associated with at most one view controller at a time!&lt;\/code&gt;<\/pre>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/12434937\/uiviewcontrollerhierarchyinconsistency-when-trying-to-present-a-modal-view-contr\">http:\/\/stackoverflow.com\/questions\/12434937\/uiviewcontrollerhierarchyinconsistency-when-trying-to-present-a-modal-view-contr<\/a><\/p>\n<h5>group table view default color warning:<\/h5>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/12539861\/group-table-view-background-color-is-deprecated-in-ios-6-0\">http:\/\/stackoverflow.com\/questions\/12539861\/group-table-view-background-color-is-deprecated-in-ios-6-0<\/a><\/p>\n<h5>deprecated AvAudioSession methods (iOS 6.0)<\/h5>\n<p>I commented these out and added the updated methods<\/p>\n<p>see this link for setDelegate<\/p>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/13078901\/cocos2d-2-1-delegate-deprecated-in-ios-6-how-do-i-set-the-delegate-for-this\">http:\/\/stackoverflow.com\/questions\/13078901\/cocos2d-2-1-delegate-deprecated-in-ios-6-how-do-i-set-the-delegate-for-this<\/a><\/p>\n<h5>miscellaneous<\/h5>\n<p><a href=\"http:\/\/developer.apple.com\/library\/ios\/#documentation\/AVFoundation\/Reference\/AVAudioSession_ClassReference\/DeprecationAppendix\/AppendixADeprecatedAPI.html\">http:\/\/developer.apple.com\/library\/ios\/#documentation\/AVFoundation\/Reference\/AVAudioSession_ClassReference\/DeprecationAppendix\/AppendixADeprecatedAPI.html<\/a><\/p>\n<p>see Apple docs for everything else<\/p>\n<p>The &#8216;play&#8217; button on the bottom toolbar didn&#8217;t work on the 5g ipod touch (with taller screen)<\/p>\n<p>Here&#8217;s what fixed it (in applicationDidFinishLaunching&#8230;)<\/p>\n<p>from this stack overflow post:\u00a0<a href=\"http:\/\/stackoverflow.com\/questions\/12395200\/how-to-develop-or-migrate-apps-for-iphone-5-screen-resolution\">http:\/\/stackoverflow.com\/questions\/12395200\/how-to-develop-or-migrate-apps-for-iphone-5-screen-resolution<\/a><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<div>13<a title=\"This answer is not useful (click again to undo)\">down vote<\/a><\/div>\n<\/td>\n<td>\n<div>\n<p>The only really required thing to do is to add a launch image named &#8220;Default-568h@2x.png&#8221; to the app resources, and in general case (if you&#8217;re lucky enough) the app will work correctly.<\/p>\n<p>In case the app does not handle touch events, then make sure that the key window has the proper size. The workaround is to set the proper frame:<\/p>\n<pre>&lt;code&gt;[window setFrame:[[UIScreen mainScreen] bounds]]&lt;\/code&gt;<\/pre>\n<p>There are other issues not related to screen size when migrating to iOS 6. Read\u00a0<a href=\"https:\/\/developer.apple.com\/library\/prerelease\/ios\/releasenotes\/General\/RN-iOSSDK-6_0\/_index.html#\/\/apple_ref\/doc\/uid\/TP40012166\">iOS 6.0 Release Notes<\/a>for details.<\/p>\n<\/div>\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td align=\"right\"><\/td>\n<td align=\"right\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>notes Today I&#8217;m attempting to update audiograph to run under the current iOS\/xcode releases. Here are some helpful solutions to resolving compilation errors and warnings&#8230; (update) Had problems with git, because I forgot to pull the changes from Michael Tyson, down from github before I made changes to the files locally and committed them. Ended &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/reactivemusic.net\/?p=5790\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Updates to audiograph for iOS 6&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[143,9],"tags":[58,344,78,296,190],"class_list":["post-5790","post","type-post","status-publish","format-standard","hentry","category-interactive-media-art","category-music-production","tag-audio","tag-dsp","tag-ios","tag-notebook","tag-portfolio"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Updates to audiograph for iOS 6 - reactive music<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/reactivemusic.net\/?p=5790\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Updates to audiograph for iOS 6 - reactive music\" \/>\n<meta property=\"og:description\" content=\"notes Today I&#8217;m attempting to update audiograph to run under the current iOS\/xcode releases. Here are some helpful solutions to resolving compilation errors and warnings&#8230; (update) Had problems with git, because I forgot to pull the changes from Michael Tyson, down from github before I made changes to the files locally and committed them. Ended &hellip; Continue reading &quot;Updates to audiograph for iOS 6&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/reactivemusic.net\/?p=5790\" \/>\n<meta property=\"og:site_name\" content=\"reactive music\" \/>\n<meta property=\"article:published_time\" content=\"2013-03-03T18:34:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-06-30T06:03:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM-300x169.png\" \/>\n<meta name=\"author\" content=\"Tom Zicarelli\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Zicarelli\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790\"},\"author\":{\"name\":\"Tom Zicarelli\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"headline\":\"Updates to audiograph for iOS 6\",\"datePublished\":\"2013-03-03T18:34:51+00:00\",\"dateModified\":\"2014-06-30T06:03:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790\"},\"wordCount\":301,\"image\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/03\\\/Screen-Shot-2014-06-30-at-2.01.33-AM-300x169.png\",\"keywords\":[\"audio\",\"DSP\",\"iOS\",\"notebook\",\"portfolio\"],\"articleSection\":[\"interactive media art\",\"music production\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790\",\"name\":\"Updates to audiograph for iOS 6 - reactive music\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/03\\\/Screen-Shot-2014-06-30-at-2.01.33-AM-300x169.png\",\"datePublished\":\"2013-03-03T18:34:51+00:00\",\"dateModified\":\"2014-06-30T06:03:03+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/reactivemusic.net\\\/?p=5790\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790#primaryimage\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/03\\\/Screen-Shot-2014-06-30-at-2.01.33-AM.png\",\"contentUrl\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/03\\\/Screen-Shot-2014-06-30-at-2.01.33-AM.png\",\"width\":1366,\"height\":770},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5790#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/reactivemusic.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Updates to audiograph for iOS 6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/\",\"name\":\"reactive music\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/reactivemusic.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\",\"name\":\"Tom Zicarelli\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"caption\":\"Tom Zicarelli\"},\"sameAs\":[\"http:\\\/\\\/tomzicarelli.com\"],\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Updates to audiograph for iOS 6 - reactive music","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/reactivemusic.net\/?p=5790","og_locale":"en_US","og_type":"article","og_title":"Updates to audiograph for iOS 6 - reactive music","og_description":"notes Today I&#8217;m attempting to update audiograph to run under the current iOS\/xcode releases. Here are some helpful solutions to resolving compilation errors and warnings&#8230; (update) Had problems with git, because I forgot to pull the changes from Michael Tyson, down from github before I made changes to the files locally and committed them. Ended &hellip; Continue reading \"Updates to audiograph for iOS 6\"","og_url":"https:\/\/reactivemusic.net\/?p=5790","og_site_name":"reactive music","article_published_time":"2013-03-03T18:34:51+00:00","article_modified_time":"2014-06-30T06:03:03+00:00","og_image":[{"url":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM-300x169.png","type":"","width":"","height":""}],"author":"Tom Zicarelli","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Zicarelli","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/reactivemusic.net\/?p=5790#article","isPartOf":{"@id":"https:\/\/reactivemusic.net\/?p=5790"},"author":{"name":"Tom Zicarelli","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"headline":"Updates to audiograph for iOS 6","datePublished":"2013-03-03T18:34:51+00:00","dateModified":"2014-06-30T06:03:03+00:00","mainEntityOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=5790"},"wordCount":301,"image":{"@id":"https:\/\/reactivemusic.net\/?p=5790#primaryimage"},"thumbnailUrl":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM-300x169.png","keywords":["audio","DSP","iOS","notebook","portfolio"],"articleSection":["interactive media art","music production"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/reactivemusic.net\/?p=5790","url":"https:\/\/reactivemusic.net\/?p=5790","name":"Updates to audiograph for iOS 6 - reactive music","isPartOf":{"@id":"https:\/\/reactivemusic.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=5790#primaryimage"},"image":{"@id":"https:\/\/reactivemusic.net\/?p=5790#primaryimage"},"thumbnailUrl":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM-300x169.png","datePublished":"2013-03-03T18:34:51+00:00","dateModified":"2014-06-30T06:03:03+00:00","author":{"@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"breadcrumb":{"@id":"https:\/\/reactivemusic.net\/?p=5790#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/reactivemusic.net\/?p=5790"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/reactivemusic.net\/?p=5790#primaryimage","url":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM.png","contentUrl":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/03\/Screen-Shot-2014-06-30-at-2.01.33-AM.png","width":1366,"height":770},{"@type":"BreadcrumbList","@id":"https:\/\/reactivemusic.net\/?p=5790#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/reactivemusic.net\/"},{"@type":"ListItem","position":2,"name":"Updates to audiograph for iOS 6"}]},{"@type":"WebSite","@id":"https:\/\/reactivemusic.net\/#website","url":"https:\/\/reactivemusic.net\/","name":"reactive music","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/reactivemusic.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571","name":"Tom Zicarelli","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","caption":"Tom Zicarelli"},"sameAs":["http:\/\/tomzicarelli.com"],"url":"https:\/\/reactivemusic.net\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/5790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5790"}],"version-history":[{"count":12,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/5790\/revisions"}],"predecessor-version":[{"id":16958,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/5790\/revisions\/16958"}],"wp:attachment":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}