<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yunus on Medium]]></title>
        <description><![CDATA[Stories by Yunus on Medium]]></description>
        <link>https://medium.com/@amyunus?source=rss-42ff4c9f1d0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MA3yfRKsIJPajVAan-aIFw.jpeg</url>
            <title>Stories by Yunus on Medium</title>
            <link>https://medium.com/@amyunus?source=rss-42ff4c9f1d0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 18:33:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@amyunus/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Vagrant Up Error]]></title>
            <link>https://amyunus.medium.com/vagrant-up-error-6d4d08a364cb?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d4d08a364cb</guid>
            <category><![CDATA[vagrant-up]]></category>
            <category><![CDATA[vvv]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Sun, 29 Aug 2021 22:57:06 GMT</pubDate>
            <atom:updated>2021-08-29T22:57:06.721Z</atom:updated>
            <content:encoded><![CDATA[<p>I installed VVV and found following error</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7wK0enLmEeTakxaAXfB1rQ.png" /></figure><pre>There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.</pre><pre>Command: [“hostonlyif”, “create”]</pre><pre>Stderr: 0%…<br>Progress state: NS_ERROR_FAILURE<br>VBoxManage: error: Failed to create the host-only adapter<br>VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory<br>VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface<br>VBoxManage: error: Context: “RTEXITCODE handleCreate(HandlerArg *)” at line 95 of file VBoxManageHostonly.cpp</pre><p>Then I did this on the Security &amp; Privacy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mQZdVmOAv-myD0fzTKJtlg.png" /></figure><p>And so far so good. The error is gone now. See below, previously error occurred after Clearing any previously set network interfaces....</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8PKhi4QoAcIfViYWUJV6w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d4d08a364cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Importance of Support System]]></title>
            <link>https://amyunus.medium.com/the-importance-of-support-system-1d9a9be304bd?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d9a9be304bd</guid>
            <category><![CDATA[family]]></category>
            <category><![CDATA[new-year-resolution]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Mon, 04 Jan 2021 14:11:21 GMT</pubDate>
            <atom:updated>2021-01-04T14:11:21.389Z</atom:updated>
            <content:encoded><![CDATA[<p>I did not finish the learning process. <a href="https://medium.com/@amyunus/learning-promise-cache-api-and-indexed-db-e759d18cd427">I was stuck at this chapter</a> and I did not continue afterwards. Why? I did need more time to think and I guess I can not make time before the morning rise.</p><p>I was often wake up late. I woke but continue to sleep since I was too tired. Even more I had to feed the baby in the middle of the night. At minimum, I woke up 2 times : before midnight and around 3 AM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SS8PJ2hJHS8cImCLh4NYtQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@alexandruz?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Alexandru Zdrobău</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>At this very new year 2021, I talked to my wife. I said her to support me having 2 hours per day to develop my skill. Basically my free me-time, to learn something, to build something, to write something, to watch something, basically to do anything. And I decided to make it after our son asleep, around 8–10 PM. Which ended before midnight, around 10–12 PM.</p><p>Which I thank her to agree on my proposal. Well, time has to tell that my 2 hours per day should earn something. Another income stream, another opportunity, another thing that benefit our family in the future.</p><p><em>What’s yours?</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d9a9be304bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Promise, Cache API, and Indexed DB]]></title>
            <link>https://amyunus.medium.com/learning-promise-cache-api-and-indexed-db-e759d18cd427?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e759d18cd427</guid>
            <category><![CDATA[progressive-web-app]]></category>
            <category><![CDATA[dicoding]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Mon, 03 Aug 2020 21:11:13 GMT</pubDate>
            <atom:updated>2020-08-03T21:11:13.525Z</atom:updated>
            <content:encoded><![CDATA[<p>Second chapter is about Promise. I create one more folder for training. Set the web server to specific folder and visit browser. Page did not changed, still display my previous project.</p><p><em>Wait…</em></p><p>So browser still remember the cache for this url and display old content. I restart the web server and refresh the browser. No change.</p><p>Finally I clear the site data via console log and it works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9CfQEXM-y0XXdJx41mYPXg.png" /></figure><p>One thing I notice the different to picture in Dicoding is sort of the events. While Dicoding picture say Pendaftaran berhasil comes first and mine comes last. Let’s see whether this will be a problem in the future or not. But I think, browser will run sw.js first then display log Pendaftaran berhasil. I think.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tzFH8Ub0tMOk4jOY4bIbBg.png" /></figure><p>Aha! On the second picture, Dicoding also has Pendaftaran berhasil at the last record. Same as mine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FYbVBMXkJDFexgQLZR0BSQ.png" /></figure><p><a href="https://github.com/amyunus/latihanpwa1">Code at github</a></p><h3>News Reader (Cache API)</h3><p>In News reader section, there is a code that author do not explain which code to modify. Author only mention something related to urlsToCache and else function. I think it is on fetch function in service-worker.js.</p><p>Somehow I missed the getArticleByID part.</p><p><a href="https://github.com/amyunus/news-reader">Code at github</a></p><h3>Indexed DB</h3><p>Dicoding still refer v2.1.3 but currently <a href="https://github.com/jakearchibald/idb/">IDB</a> already has v5.x.x. Perhaps to follow the course, we will use referred version. But on task submission, we better to use latest version. Perhaps.</p><p>Beware of brackets! Especially when calling resolve() inside getArticleByID in api.js. Make sure it would be like this one,</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c6d35825bb6e92bf79bf10694c24aa5d/href">https://medium.com/media/c6d35825bb6e92bf79bf10694c24aa5d/href</a></iframe><h3>Push Notification</h3><p>This screen is displayed on the tutorial but no longer displayed when registering new Firebase Cloud Messaging. Either using Google Analytics or not. Both don’t display this screen anymore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dWUQKxk7ekzSZzhOe0PXAg.jpeg" /></figure><p>I tried to install web push package npm install web-push -g. But I found error looks like this. Dicoding said I have to install <a href="https://nodejs.org/en/download/">NodeJs</a> and NPM to simulate web push notification. Okay.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nni-MO2eE_TzrzmYdbIxLw.png" /></figure><p>After installing NodeJS and NPM, it still display the same error. Fine. I search for solution in <a href="https://stackoverflow.com/questions/54802330/missing-write-access-in-mac-to-usr-local-lib-node-modules/55172709">Stackoverflow</a> and find this working charmly.</p><pre>sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share</pre><p>Aftet this one, I am a bit lost.</p><p>I skip the tutorial and fast forward to the submission. (finger crossed)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e759d18cd427" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Submission accepted]]></title>
            <link>https://amyunus.medium.com/submission-accepted-5e61d7340560?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e61d7340560</guid>
            <category><![CDATA[progressive-web-app]]></category>
            <category><![CDATA[dicoding]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Wed, 29 Jul 2020 18:03:11 GMT</pubDate>
            <atom:updated>2020-07-29T18:05:18.113Z</atom:updated>
            <content:encoded><![CDATA[<p>Finally! This feeling when the submission is accepted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bK82biDqiwHCeCQ0B53-VA.png" /></figure><p>&lt;insert celebration gif here, I do not know how to add gif in Medium post&gt;</p><p>But reviewer still give some good feedbacks to my code :</p><ul><li>Give alt to images → related to accessibility</li><li>Move inline javascript to separate file (in index.html)</li><li>Use 3 chars comparison operators (better to use === than == or better to use !== than !=)</li><li>Utilize existing classes on current css library</li><li>Delete all unused files of current css library</li><li>Using SVG, JPEG 2000, JPEG XR, and WebP to load images faster</li></ul><p>One feedback that I don’t get it yet is Use const on variables that later require initiation and use let to initiate</p><p>Yeah, although code is accepted, it is better to review back the code and fix some minor things based on reviewer feedback. Nothing is perfect.</p><p>Different time, different detail of feedbacks. I think they have many reviewers in the course. As long as the minimal criteria / condition are passed.</p><p>I accept my rating is 4 of 5 stars.</p><p>Anyway, let’s continue the learning process. I have paid for this and have intention to finish this course as soon as possible. Based on this graph, I could finish it in 24 days or earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_XGPxaCK3_p8ToQujB0-bw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e61d7340560" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Submission is rejected]]></title>
            <link>https://amyunus.medium.com/submission-is-rejected-2e876dcae53f?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e876dcae53f</guid>
            <category><![CDATA[progressive-web-app]]></category>
            <category><![CDATA[dicoding]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Mon, 27 Jul 2020 01:40:00 GMT</pubDate>
            <atom:updated>2020-07-28T22:15:59.772Z</atom:updated>
            <content:encoded><![CDATA[<p>I guess this is the most reject reason when firstly implementing progressive web app. I have <a href="https://medium.com/@amyunus/submitting-application-to-dicoding-413fd8efa2d2?source=---------2------------------">checked all of criteria</a>, but I did not do these,</p><ul><li>Caching manifest.json (I thought it does not have to be cached)</li><li>Add icon for Apple device (??) &lt;link rel=&quot;apple-touch-icon&quot; href=&quot;/custom_icon.png&quot;&gt;</li><li>It should have minimum 2 icons : 192x192 and 512x512 (I should just add all of sizes)</li><li>Using maskable icon (See <a href="https://web.dev/maskable-icon/">https://web.dev/maskable-icon/</a>)</li></ul><p>Aaaand my trial is done. I have to pay to resubmit the application. Fine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDl3sJ0OhWVvm2aiu1ZbHw.png" /></figure><p>Upgrade process require voucher code that purchased through third party online commerce (currently available on <a href="https://www.tokopedia.com/dicoding">Tokopedia</a> and <a href="https://www.bukalapak.com/u/dicoding">Bukalapak</a>). The problem is voucher code is delivered physically, not digital. Like, what?! I have to wait for days to receive the voucher code while I am on fire to code. Honestly, that was a major turn off.</p><p><strong>Update!</strong></p><p>Hey, I was mistaken that voucher code is one of two ways for upgrade. There is a service to pay online and upgrade right away. But, one bonus when we purchasing voucher code through online commerce is we also get the t-shirt, cool one. I think it depends on the availability. So hurry up, purchase one through online commerce.</p><p>I was surprised that delivery got that fast. I ordered Monday early morning and I got the voucher Tuesday evening. Wow, I thought it would be longer. But appreciated the t-shirt, nice one.</p><p><em>Are you interested learning Progressive Web Apps? </em><a href="https://www.dicoding.com/academies/74?course_ref=9eeaecf7ab557b194c8b077c"><em>Sign up here</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e876dcae53f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Submitting application to Dicoding]]></title>
            <link>https://amyunus.medium.com/submitting-application-to-dicoding-413fd8efa2d2?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/413fd8efa2d2</guid>
            <category><![CDATA[krama-inggil]]></category>
            <category><![CDATA[dicoding]]></category>
            <category><![CDATA[progressive-web-app]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Sun, 26 Jul 2020 22:11:22 GMT</pubDate>
            <atom:updated>2020-07-28T04:53:50.320Z</atom:updated>
            <content:encoded><![CDATA[<p>After having <a href="https://medium.com/@amyunus/creating-progressive-web-apps-based-on-dicoding-indonesia-5a6bbc90c216">brief knowledge in previous session</a>, time to prove myself has come. This is my first time submitting my very first progressive web app to Dicoding. Let’s see the criteria of the submission :</p><ul><li>Display 4 pages and min 2 images ✅</li><li>Complete links to all pages on the sidebar menu ✅</li><li>Responsive content ✅</li><li>Feature add to homescreen ✅</li><li>Available offline ✅</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zhmY9fIQA1ft3l_OYOmaaQ.png" /></figure><h3>Tips</h3><ul><li>Always register all of your assets to urlsToCache</li><li>Use existing CSS library to beautify your application page</li></ul><h3>Interesting</h3><p>What’s new for me is debugging mobile application from Chrome Inspector. Since remote device panel is depcrecated, it is moved to independent screen, called chrome://inspect/#devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s44F2HJDhAEdK5rtenG-cQ.png" /></figure><p>I have not paid the service yet. I am in Trial program right now. Let’s see how it goes. Is it good. Is it bad. Do I have manageable time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cFqYtQDsUsDBvtfPlEn6WQ.png" /></figure><p><em>Are you interested learning Progressive Web Apps? </em><a href="https://www.dicoding.com/academies/74?course_ref=9eeaecf7ab557b194c8b077c"><em>Sign up here</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=413fd8efa2d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Progressive Web Apps (based on Dicoding Indonesia)]]></title>
            <link>https://amyunus.medium.com/creating-progressive-web-apps-based-on-dicoding-indonesia-5a6bbc90c216?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a6bbc90c216</guid>
            <category><![CDATA[progressive-web-app]]></category>
            <category><![CDATA[pwa]]></category>
            <category><![CDATA[dicoding]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Sat, 25 Jul 2020 23:31:33 GMT</pubDate>
            <atom:updated>2020-07-28T04:54:18.610Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dwpkSzuxwPmJ9wjKu-81DQ.png" /></figure><p>I get Work From Home again for 2 weeks now. It means that I have extra hours since I do not need to commute every single work day. It is about 3 hours in total. I think I will use extra hours to learn something new and build something afterwards. I decide to <a href="https://www.dicoding.com/academies/74?course_ref=9eeaecf7ab557b194c8b077c">learn Progressive Web Apps in Dicoding</a>.</p><p>Dicoding is made by Indonesian and described in Indonesian. Well, I hope that 500k rupiah per month (around 30 USD) will be well worth to be spent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jn_ML_YKhKxu0EshaozEsQ.png" /></figure><h3>Syllabus</h3><p>Dicoding offers <a href="https://www.dicoding.com/academies/freemodule/74">some modules that we can learn for free</a>. In this case, Progressive Web Apps has free modules until Codelab: Membuat Progressive Web App Pertama. Submission 1 : Aplikasi PWA Pertama is for subscriber who paid the service.</p><h3>What we need to create PWA</h3><ul><li>Browser Chrome min v52 ✅</li><li>Web server for Chrome ✅</li><li>Text editor (I will try to use IntelliJ IDEA CE first ✅)</li><li>Fundamental knowledge about HTML, CSS, Javascript, and Chrome DevTools (I take it as sufficient enough to start with ✅)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TsXL6mIzVb653BESyHv8yQ.png" /></figure><h3>My first PWA</h3><p>I just copy paste the code and follow the direction. Basically I download the Materialize in zip and extract it into a folder. I rename it as first-pwa, it could be anywhere, no specific location in the computer. In first-pwa folder, we put the index.html, nav.html. In the folder js, we put nav.js.</p><p>Afterwards, we run the web server for chrome and locate the folder first-pwa. Restart the web server and it should say STARTED. Afterwards, visit the web server url.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*ijvaO3Qdxz_8CIk_TP0sqA.png" /></figure><p>After some updates (copy paste code), I already able to see the page change to menu I have clicked on the menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GwzBcOB9xH44MsjeasQ78Q.png" /></figure><h3>Provide offline feature to the app</h3><p>I hit this error when I registering Service Worker. Do you know what is the root cause? The code register service-worker.js in the root folder but I locate the file on js folder. So it can not be found.</p><p>I mean, c’mon. Why do you have js file in the root folder. You have separate js folder to include all js files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IGnUxZC6hDr39sPHyVTWFQ.png" /><figcaption>error service worker is redundant</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*-LUFhVTZyX74sEoPiafEyQ.png" /><figcaption>register service-worker.js in js folder (NOT root folder)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EaA3Dn-3TRRE_1x1AWDfPg.png" /><figcaption>after fix</figcaption></figure><p>It impacts to other code, I have to modify the location of the files. Yes, I have to add parent folder. /../</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*57yrqSk5j4CE_PgST2ZL9w.png" /></figure><p>This is when all assets are successfully cached</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u4d1pIAcKRFv-6uEH7TEkQ.png" /></figure><p>Then I can not get them offline until I put the service worker on the root folder. Nevermind, perhaps this service worker js file is special so ti does not have to be in the js folder. <strong><em>Finally I revert back all code to normal code as instructed by Dicoding and I get back into the line.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iG2laoQIY4m3syECV3EvwQ.png" /></figure><h3>Register App to Home Screen</h3><p>Add the icon, it does not have to be .ico, you can use jpg/png, perhaps jpeg also can. It should be at max 512x512 or smaller. Do not forget to specify the specific size in the manifest.</p><p>Speaking of manifest, <a href="https://app-manifest.firebaseapp.com/">app-manifest.firebaseapp.com</a> helps you to create manifest from scratch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TLccqzwf0MZwZl8kORiN2g.png" /></figure><p>Aaaaand we are done! Free content is end. The rest of the course is paid content in Dicoding. My code on <a href="https://github.com/amyunus/first-pwa">Github</a>.</p><p><em>Are you interested learning Progressive Web Apps? </em><a href="https://www.dicoding.com/academies/74?course_ref=9eeaecf7ab557b194c8b077c"><em>Sign up here</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a6bbc90c216" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning SwiftUI : Building Lists and Navigation]]></title>
            <link>https://amyunus.medium.com/learning-swiftui-building-lists-and-navigation-2a587c18d898?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a587c18d898</guid>
            <category><![CDATA[swiftui]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Wed, 25 Mar 2020 09:44:28 GMT</pubDate>
            <atom:updated>2020-04-05T03:55:52.905Z</atom:updated>
            <content:encoded><![CDATA[<h3>Learning SwiftUI : Building Lists and Navigation</h3><p>Previous chapter : <a href="https://medium.com/@amyunus/my-first-step-to-learn-swiftui-f6198f248b5d?source=---------2------------------">My First Step to Learn SwiftUI</a>.</p><p><a href="https://medium.com/@amyunus/my-first-step-to-learn-swiftui-f6198f248b5d">My First Step to Learn SwiftUI</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TpWHJSfljU7reAnAaeD6YA.png" /></figure><p>To rehearse, my learning resource here is <a href="https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation">Apple developer website</a>.</p><p>In this lesson, I am confused on the Step 1 : In the Project navigator, choose Models &gt; Landmark.swift. I find it anywhere in the application and none. So does the Step 2, mentioning Resources which is not exist in workspace. Later I find out that it is actually the folder name inside the project files. I have not created it yet hence I can not find it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n91KHDJg7IJV88aNFMdWXA.png" /></figure><p>I look inside the Project files that we can <a href="https://docs-assets.developer.apple.com/published/b91dccd475/BuildingListsAndNavigation.zip">download</a> in the tutorials. And there are two folders named Model and Resources. Here is the path BuildingListAndNavigation &gt; StartingPoint &gt; Landmarks &gt; Landmarks.</p><p>The how do I make it happen? I create New Group inside Landmarks named Model and Resources. Then I create New File (Landmark.swift and Data.swift) and copy paste the content. I also create New File for landmarkData.json and copy paste the content. Last, I add Files to Landmarks inside folder Resources.</p><p>Previously I tried to add Files to Landmarks for all files above but error keep happening. Probably I did wrong when adding them into the workspace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EgfI5pZPsDRA8GNOOqIHsg.png" /></figure><p>And finally I made it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nfyyr2Q4KgffZlh7d_1wNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2LCw_jD36GdnaC1HG6VWkg.png" /></figure><p>You may find my code here in <a href="https://github.com/amyunus/SwiftUITutorial/tree/e9d3ab456f73199170e4adec604128a1a796233f">Github</a>.</p><p>Note : I left some codes different a bit but I think it represents the same object.</p><p>Mapview.swift in the lesson is func updateUIView(_ uiView: MKMapView, context: Context){ while my code func updateUIView(_ uiView: MKMapView, context: UIViewRepresentableContext&lt;MapView&gt;){</p><p>Also I comment let contentView = LandmarkDetail() since it display an error as following below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JJWHBWDx4dcDdaZfA8nagg.png" /></figure><p><em>Next chapter : soon!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a587c18d898" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Step to Learn SwiftUI]]></title>
            <link>https://amyunus.medium.com/my-first-step-to-learn-swiftui-f6198f248b5d?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6198f248b5d</guid>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[swiftui]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Sun, 26 Jan 2020 04:21:36 GMT</pubDate>
            <atom:updated>2020-04-05T03:54:32.222Z</atom:updated>
            <content:encoded><![CDATA[<p>This is my journey. I might have the wrong step or too much step, then I have to revert back to previous state. But here it is, I start my journey to learn SwiftUI.</p><p>I am not new in programming hence I do still have a lil bit background on how to do the programming thing. For your information, I was programming RPG AS/400, C, C++, PHP, and Javascript. Not so much, basic enough to create one and running them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eWzdyORTokNBncpeNJcxog.png" /></figure><p>First, I find my first resource to learn is on <a href="https://developer.apple.com/tutorials/swiftui/">Apple developer website</a>.</p><p>I follow the step to create new project, playing with text and image within a layout. At the end, I can answer some questions to check my understanding about previous tutorial. So great to have that, especially when I have answered all questions correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pqMvaT8ictj1qIu1PAYuxw.png" /></figure><p>Here is the final state of the chapter of Creating and Combining Views. Yeay! My final files are stored into <a href="https://github.com/amyunus/SwiftUITutorial">Github repo</a> to track my progress and changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hydxe2anRvER8ZAJ9EpxOA.png" /></figure><p>I think the tutorial is really really interactive, helpful, and easy to follow for a beginner like me. It show me the step and the exact image or end state of the step visually. It not using video though, just text and images! Amazing, isn’t it? Different to I have experienced previously in some online course providers. I believe they were Coursera, Udacity, and Dicoding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CccTA7hRQooXmGeRZSSF-Q.png" /></figure><p>Next chapter → <a href="https://medium.com/@amyunus/learning-swiftui-building-lists-and-navigation-2a587c18d898">Learning SwiftUI : Building Lists and Navigation</a></p><p><a href="https://medium.com/@amyunus/learning-swiftui-building-lists-and-navigation-2a587c18d898">Learning SwiftUI : Building Lists and Navigation</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6198f248b5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Xcode : Installing components; An unknown error occurred. See the install log for more details.]]></title>
            <link>https://amyunus.medium.com/xcode-installing-components-an-unknown-error-occurred-see-the-install-log-for-more-details-b8d690278e?source=rss-42ff4c9f1d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8d690278e</guid>
            <category><![CDATA[xcode]]></category>
            <dc:creator><![CDATA[Yunus]]></dc:creator>
            <pubDate>Sat, 25 Jan 2020 14:23:51 GMT</pubDate>
            <atom:updated>2020-01-25T14:23:51.514Z</atom:updated>
            <content:encoded><![CDATA[<h3>Xcode : Installing components; An unknown error occurred. See the install log for more details.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*gkdWZWMyM6VcluIkW6R8Wg.png" /></figure><p>I get this issue when running the Xcode and I found the <a href="https://stackoverflow.com/questions/12444656/error-during-xcode-component-installation">solution</a> by changing system date to 3 October 2019 and retry. It works! Probably you find the same issue and this would work for you too.</p><p>Good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8d690278e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>