{"id":5668,"date":"2016-12-19T18:19:58","date_gmt":"2016-12-20T02:19:58","guid":{"rendered":"https:\/\/blog.mhvt.net\/?p=5668"},"modified":"2016-12-19T18:19:58","modified_gmt":"2016-12-20T02:19:58","slug":"ios-swift-making-custom-vertical-menu","status":"publish","type":"post","link":"https:\/\/blog.mhvt.net\/?p=5668","title":{"rendered":"iOS &#038; Swift \u00e2\u20ac\u201c Making Custom Vertical Menu"},"content":{"rendered":"<p><a href=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"mac\/mac_shareware\/iphoneImage.jpg\" width=\"120\" height=\"120\" alt=\"iPhone custom slider\" \/><\/a><br \/>\n<br \/><\/br><br \/>\n<br \/><\/br><br \/>\nTOKYO (MacHouse) &#8211; Earlier, I introduced my simple horizontal menu that utilizes a subclass of <strong>UIViewController<\/strong>.  And I went on to create a vertical menu a few days ago.  I always have a design problem.  That is, I&#8217;m pretty bad at coming up with my own app design.  So I went to <strong>dribble.com<\/strong> and found <a href=\"https:\/\/dribbble.com\/shots\/765783-FLOW-NIZER-concept-app\">this beautiful design sample<\/a>.  From there, I just started re-writing my UIViewController subclass.  Of course, that screenshot looks way better than mine below (Screenshot 1).  Well, at least, I&#8217;m getting there. <!--more--><br \/>\n<br \/><\/br><\/p>\n<table width=\"464\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tr>\n<td width=\"220\" valign=\"top\"><a href=\"mac\/mac_shareware\/verticalmania\/verticalmaniaSimulator.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"mac\/mac_shareware\/verticalmania\/verticalmaniaSimulator_thumbnail.jpg\" width=\"220\" height=\"406\" alt=\"iOS Swift\"\/><\/a><\/a><\/p>\n<div align=\"center\">Screenshot 1<\/div>\n<\/td>\n<td width=\"20\">&nbsp;<\/td>\n<td width=\"220\" valign=\"top\"><a href=\"mac\/mac_shareware\/verticalmania\/verticalmaniaXcode.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"mac\/mac_shareware\/verticalmania\/verticalmaniaXcode_thumbnail.jpg\" width=\"220\" height=\"139\" alt=\"iOS Swift\"\/><\/a><\/a><\/p>\n<div align=\"center\">Screenshot 2<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p><\/br><br \/>\nThis time, I&#8217;ve used <strong>UIScrollView<\/strong> to house 9 tabs.  Again, I&#8217;m just using a single UIViewController subclass.  Also, I&#8217;ve installed a button over the navigation bar so that one can show and hide the menu.<br \/>\n<br \/><\/br><br \/>\nClick <a href=\"mac\/mac_shareware\/verticalmania\/verticalmania.mov\">here<\/a> to watch a quick iPhone Simulator QuickTime movie.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TOKYO (MacHouse) &#8211; Earlier, I introduced my simple horizontal menu that utilizes a subclass of UIViewController. And I went on to create a vertical menu a few days ago. I always have a design problem. That is, I&#8217;m pretty bad &hellip; <a href=\"https:\/\/blog.mhvt.net\/?p=5668\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":342,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[504,507],"tags":[],"class_list":["post-5668","post","type-post","status-publish","format-standard","hentry","category-ios","category-swift"],"_links":{"self":[{"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=\/wp\/v2\/posts\/5668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=\/wp\/v2\/users\/342"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5668"}],"version-history":[{"count":3,"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=\/wp\/v2\/posts\/5668\/revisions"}],"predecessor-version":[{"id":5671,"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=\/wp\/v2\/posts\/5668\/revisions\/5671"}],"wp:attachment":[{"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mhvt.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}