{"id":2229,"date":"2013-02-24T01:19:04","date_gmt":"2013-02-24T00:19:04","guid":{"rendered":"http:\/\/t-machine.org\/?p=2229"},"modified":"2013-02-24T01:19:04","modified_gmt":"2013-02-24T00:19:04","slug":"touch-interfaces-help-for-new-users-any-app","status":"publish","type":"post","link":"http:\/\/new.t-machine.org\/index.php\/2013\/02\/24\/touch-interfaces-help-for-new-users-any-app\/","title":{"rendered":"Touch interfaces: Help for new users (any app)"},"content":{"rendered":"<p>I&#8217;m writing an iPad game that&#8217;s designed to be self-evident and trivial to use.<\/p>\n<p>Today, I made a re-usable &#8220;tell the user how many fingers to use&#8221; animation that would work well with any app. So, I decided to <a href=\"https:\/\/github.com\/adamgit\/iOSTouchHelper\">open-source it and stick it on github<\/a>.<\/p>\n<p>Screenshot from my current app (NB: you need to photo YOUR fingers &#8211; not mine! &#8211; if you want it to look like this)<\/p>\n<p><a href=\"http:\/\/t-machine.org\/wp-content\/uploads\/Screenshot-2013.02.24-00.12.10.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/t-machine.org\/wp-content\/uploads\/Screenshot-2013.02.24-00.12.10.png\" alt=\"\" title=\"Screenshot 2013.02.24 00.12.10\" width=\"800\" height=\"600\" class=\"aligncenter size-full wp-image-2230\" srcset=\"https:\/\/t-machine.org\/wp-content\/uploads\/Screenshot-2013.02.24-00.12.10.png 800w, https:\/\/t-machine.org\/wp-content\/uploads\/Screenshot-2013.02.24-00.12.10-150x112.png 150w, https:\/\/t-machine.org\/wp-content\/uploads\/Screenshot-2013.02.24-00.12.10-300x225.png 300w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<h3>Usage<\/h3>\n<p>Instructions are in the source code, but my intention is for this to be ULTRA SIMPLE for you to use, so here goes:<\/p>\n<p>[code]<\/p>\n<p>\/\/ Add this to the main UIViewController for your app &#8211; the one that displays<br \/>\n\/\/   when you&#8217;re ready for user interaction<br \/>\n-(void)viewDidAppear:(BOOL)animated<br \/>\n{<br \/>\n\tVFingersHelp* helpView = [[[VFingersHelp alloc] init] autorelease];<br \/>\n\t\/** This will position the helpview in bottom-left corner. Bottom left\/right corners are where<br \/>\n\tusers prefer to &quot;touch&quot; (c.f. Disney&#8217;s style guide for toddlers).<br \/>\n\tWhile they&#8217;re watching the help, we don&#8217;t want them touching, so we deliberately place in bottom corner.<br \/>\n\t(feel free to move to top corner if you prefer).<br \/>\n\tNB: it&#8217;s easy to take a photo of your fingers and display at bottom of screen&#8230;<br \/>\n\t*\/<br \/>\n\thelpView.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleRightMargin;<br \/>\n\thelpView.center = CGPointMake( 0 + helpView.bounds.size.width\/2.0, 2.0 + self.view.bounds.size.height &#8211; helpView.bounds.size.height + helpView.bounds.size.height\/2.0);<br \/>\n\t[self.view addSubview:helpView];<br \/>\n}<br \/>\n[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m writing an iPad game that&#8217;s designed to be self-evident and trivial to use. Today, I made a re-usable &#8220;tell the user how many fingers to use&#8221; animation that would work well with any app. So, I decided to open-source it and stick it on github. Screenshot from my current app (NB: you need to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51,20],"tags":[],"_links":{"self":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/2229"}],"collection":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/comments?post=2229"}],"version-history":[{"count":0,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/2229\/revisions"}],"wp:attachment":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/media?parent=2229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/categories?post=2229"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/tags?post=2229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}