{"id":126,"date":"2016-02-27T22:09:28","date_gmt":"2016-02-27T21:09:28","guid":{"rendered":"http:\/\/www.albertopasca.it\/whiletrue\/?p=126"},"modified":"2018-05-25T16:16:06","modified_gmt":"2018-05-25T14:16:06","slug":"instagram-like-app","status":"publish","type":"post","link":"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/","title":{"rendered":"[Swift] Instagram like app"},"content":{"rendered":"<h1>InstaSwift<\/h1>\n<blockquote><p><strong>Instagram like app<\/strong>.<\/p>\n<ul>\n<li>Universal target (iPhone\/iPad)<\/li>\n<li>Swift 2.0<\/li>\n<li>Autolayout<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<p>Made up for\u00a0<a href=\"http:\/\/www.coursera.com\/\"><strong>Coursera<\/strong><\/a>\u00a0exam<\/p>\n<p>&nbsp;<\/p><\/blockquote>\n<div id='gallery-1' class='gallery galleryid-126 gallery-columns-3 gallery-size-medium'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2016\/02\/InstaSwift_ss-00.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" width=\"169\" height=\"300\" src=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2016\/02\/InstaSwift_ss-00.png?fit=169%2C300&amp;ssl=1\" class=\"attachment-medium size-medium\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2016\/02\/InstaSwift_ss-01.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" width=\"169\" height=\"300\" src=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2016\/02\/InstaSwift_ss-01.png?fit=169%2C300&amp;ssl=1\" class=\"attachment-medium size-medium\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2016\/02\/InstaSwift_ss-02.png?ssl=1\"><img loading=\"lazy\" decoding=\"async\" width=\"169\" height=\"300\" src=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2016\/02\/InstaSwift_ss-02.png?fit=169%2C300&amp;ssl=1\" class=\"attachment-medium size-medium\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\n<h2><\/h2>\n<p>&nbsp;<\/p>\n<h2><a id=\"user-content-instructions\" class=\"anchor\" href=\"https:\/\/github.com\/elpsk\/InstaSwift#instructions\"><\/a>Instructions<\/h2>\n<blockquote><p>Refer to the full instructions in the reading and download the starter project from Unit 5 content area.<\/p><\/blockquote>\n<ul>\n<li><strong>Part 0:<\/strong><br \/>\nDownload the starter project. This is the same \u201c<em>Filterer<\/em>\u201d project created during this course so feel free to use your own version if you\u2019ve been following along.<\/li>\n<li><strong>Part 1:<\/strong>\u00a0Implement Filter and Compare functions<\/li>\n<li><strong>Part 2:<\/strong>\u00a0Refine the UI<\/li>\n<li><strong>Part 3:<\/strong>\u00a0Optional Bonus Challenge \u2013\u00a0<strong>UICollectionView<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<blockquote><p><strong>SUBMISSION<\/strong>: Make sure all your project files are in a single folder with the main Xcode project file (with the .xcodeproj extension) at the top level.<br \/>\nZip the folder first using the Mac\u2019s compression command. (In Finder, right-click the folder and select \u201cCompress\u201d.)<br \/>\nUpload this zipped archive for reviewZip your .playground file and upload it to your submission. Your peer reviewers will download your zipped file and test in their playground.<\/p><\/blockquote>\n<h2><a id=\"user-content-review-criteria\" class=\"anchor\" href=\"https:\/\/github.com\/elpsk\/InstaSwift#review-criteria\"><\/a>Review criteria<\/h2>\n<blockquote><p>To evaluate your peers in the best way possible, you should briefly review the work of your peers using the buttons near the top of this screen before giving scores and feedback on any of them. This will help open your eyes to what others have done.<\/p><\/blockquote>\n<h4><a id=\"user-content-you-will-be-asked-to-provide-feedback-to-your-peers-in-the-following-areas\" class=\"anchor\" href=\"https:\/\/github.com\/elpsk\/InstaSwift#you-will-be-asked-to-provide-feedback-to-your-peers-in-the-following-areas\"><\/a>You will be asked to provide feedback to your peers in the following areas:<\/h4>\n<ul>\n<li>Does a filtered image replace the original image when the user taps a filter button?\u00a0<strong>1 pt.<\/strong><\/li>\n<li>When you tap the compare button, does the visible image toggle between the filtered image and the original image?\u00a0<strong>1 pt.<\/strong><\/li>\n<li>Is the compare button disabled if the user has not selected a filter?\u00a0<strong>1 pt.<\/strong><\/li>\n<li>When the user touches the image, does the app toggle between the filtered and original image temporarily? Does the image toggle back when the user lifts their finger?\u00a0<strong>1 pt.<\/strong><\/li>\n<li>When images are toggled or switched, do they cross fade smoothly?\u00a0<strong>1 pt.<\/strong><\/li>\n<li>Have the filter option buttons been replaced with small example thumbnails?\u00a0<strong>1 pt.<\/strong><\/li>\n<li>Is it possible to adjust the intensity of the filter using a slider widget?\u00a0<strong>1 pt.<\/strong><\/li>\n<li>Has the static list of filters been replaced with a dynamic, scrollable list? (Bonus)\u00a0<strong>1 pt.<\/strong><\/li>\n<li>Have you found any crashing bugs in the app?\u00a0<strong>1 pt.<\/strong><\/li>\n<\/ul>\n<p><strong>LANGUAGE<\/strong>: Submissions must be in English<\/p>\n<h5><a id=\"user-content-happy-study\" class=\"anchor\" href=\"https:\/\/github.com\/elpsk\/InstaSwift#happy-study\"><\/a>Happy study.<\/h5>\n<p>&nbsp;<\/p>\n<p>Download code\u00a0here:\u00a0<a href=\"https:\/\/github.com\/elpsk\/InstaSwift\">https:\/\/github.com\/elpsk\/InstaSwift<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>InstaSwift Instagram like app. Universal target (iPhone\/iPad) Swift 2.0 Autolayout<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[83,242,88,87,46],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-generic","tag-coursera","tag-filters","tag-instagram","tag-ios","tag-swift"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[Swift] Instagram like app - while (true) {\u00a0}<\/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:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Swift] Instagram like app - while (true) {\u00a0}\" \/>\n<meta property=\"og:description\" content=\"InstaSwift Instagram like app. Universal target (iPhone\/iPad) Swift 2.0 Autolayout\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/\" \/>\n<meta property=\"og:site_name\" content=\"while (true) {\u00a0}\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-27T21:09:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-05-25T14:16:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2016\/02\/InstaSwift_ss-00.png?fit=169%2C300&amp;ssl=1\" \/>\n<meta name=\"author\" content=\"Alberto Pasca\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lupasca\" \/>\n<meta name=\"twitter:site\" content=\"@lupasca\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alberto Pasca\" \/>\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:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/instagram-like-app\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/instagram-like-app\\\/\"},\"author\":{\"name\":\"Alberto Pasca\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\"},\"headline\":\"[Swift] Instagram like app\",\"datePublished\":\"2016-02-27T21:09:28+00:00\",\"dateModified\":\"2018-05-25T14:16:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/instagram-like-app\\\/\"},\"wordCount\":385,\"publisher\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\"},\"keywords\":[\"coursera\",\"filters\",\"instagram\",\"iOS\",\"swift\"],\"articleSection\":[\"generic\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/instagram-like-app\\\/\",\"url\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/instagram-like-app\\\/\",\"name\":\"[Swift] Instagram like app - while (true) {\u00a0}\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#website\"},\"datePublished\":\"2016-02-27T21:09:28+00:00\",\"dateModified\":\"2018-05-25T14:16:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/instagram-like-app\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/instagram-like-app\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/instagram-like-app\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Swift] Instagram like app\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#website\",\"url\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/\",\"name\":\"while (true) {\u00a0}\",\"description\":\"notes from a developer, tutorials, how-to, ideas\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\",\"name\":\"Alberto Pasca\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\",\"caption\":\"Alberto Pasca\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\"},\"description\":\"Software engineer @ Pirelli &amp; C. S.p.A. with a strong passion for mobile \uf8ff development, security, and connected things.\",\"sameAs\":[\"https:\\\/\\\/www.albertopasca.it\",\"albertopasca\",\"https:\\\/\\\/x.com\\\/lupasca\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Swift] Instagram like app - while (true) {\u00a0}","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:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/","og_locale":"en_US","og_type":"article","og_title":"[Swift] Instagram like app - while (true) {\u00a0}","og_description":"InstaSwift Instagram like app. Universal target (iPhone\/iPad) Swift 2.0 Autolayout","og_url":"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/","og_site_name":"while (true) {\u00a0}","article_published_time":"2016-02-27T21:09:28+00:00","article_modified_time":"2018-05-25T14:16:06+00:00","og_image":[{"url":"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2016\/02\/InstaSwift_ss-00.png?fit=169%2C300&amp;ssl=1","type":"","width":"","height":""}],"author":"Alberto Pasca","twitter_card":"summary_large_image","twitter_creator":"@lupasca","twitter_site":"@lupasca","twitter_misc":{"Written by":"Alberto Pasca","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/#article","isPartOf":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/"},"author":{"name":"Alberto Pasca","@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac"},"headline":"[Swift] Instagram like app","datePublished":"2016-02-27T21:09:28+00:00","dateModified":"2018-05-25T14:16:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/"},"wordCount":385,"publisher":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac"},"keywords":["coursera","filters","instagram","iOS","swift"],"articleSection":["generic"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/","url":"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/","name":"[Swift] Instagram like app - while (true) {\u00a0}","isPartOf":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#website"},"datePublished":"2016-02-27T21:09:28+00:00","dateModified":"2018-05-25T14:16:06+00:00","breadcrumb":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.albertopasca.it\/whiletrue\/instagram-like-app\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.albertopasca.it\/whiletrue\/"},{"@type":"ListItem","position":2,"name":"[Swift] Instagram like app"}]},{"@type":"WebSite","@id":"https:\/\/www.albertopasca.it\/whiletrue\/#website","url":"https:\/\/www.albertopasca.it\/whiletrue\/","name":"while (true) {\u00a0}","description":"notes from a developer, tutorials, how-to, ideas","publisher":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.albertopasca.it\/whiletrue\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac","name":"Alberto Pasca","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g","caption":"Alberto Pasca"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g"},"description":"Software engineer @ Pirelli &amp; C. S.p.A. with a strong passion for mobile \uf8ff development, security, and connected things.","sameAs":["https:\/\/www.albertopasca.it","albertopasca","https:\/\/x.com\/lupasca"]}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":6,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":824,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts\/126\/revisions\/824"}],"wp:attachment":[{"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}