<?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[Learn Swift - Medium]]></title>
        <description><![CDATA[All about learning how to code in Swift. Stories of new coders, advice from those with experience, and everything in between. - Medium]]></description>
        <link>https://medium.com/learn-swift?source=rss----29d20a54f12f---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Learn Swift - Medium</title>
            <link>https://medium.com/learn-swift?source=rss----29d20a54f12f---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 00:19:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/learn-swift" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dev Story: 001]]></title>
            <link>https://medium.com/learn-swift/dev-story-001-ac003c9efa4d?source=rss----29d20a54f12f---4</link>
            <guid isPermaLink="false">https://medium.com/p/ac003c9efa4d</guid>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[John Davenport]]></dc:creator>
            <pubDate>Mon, 26 Feb 2018 17:30:24 GMT</pubDate>
            <atom:updated>2018-02-26T17:30:23.935Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the last several months I’ve been learning Swift by challenging myself to develop a simple game. It’s been rewarding experience so far with being able to actually see myself making progress.</p><p>The game itself is a very simple concept at the moment. Our hero is faced with a maze type level inside of which is a number of randomly generated spider enemies. These spiders can be one of five different colors and our hero has an axe of each color type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*eIjWkz0QCXcz2pDv-xaK1A@2x.jpeg" /></figure><p>By moving throughout the level the hero must find and kill all the spiders within the level and then find the exit. Once finding the exit our hero will be dropped into a new maze with more spiders to kill.</p><p>Ultimately I expect the gameplay to evolve quite a bit over the next months as I learn new things and develop a better understanding of what the game should become.</p><p>In the near term I would like to work more on design. Currently the game is using mostly placeholder sprites and textures. It has no sound and very few animations. With the core mechanics roughed out the design is the next major part of the game that needs work.</p><p>I also need to work on improving the combat mechanics and adding a more interesting way of swapping axes/allowing attacks of different enemies.</p><p>Until next time.</p><p>-J</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac003c9efa4d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/learn-swift/dev-story-001-ac003c9efa4d">Dev Story: 001</a> was originally published in <a href="https://medium.com/learn-swift">Learn Swift</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Camera Functionality into FoodTracker]]></title>
            <link>https://medium.com/learn-swift/building-camera-functionality-into-foodtracker-40859f3f2cf2?source=rss----29d20a54f12f---4</link>
            <guid isPermaLink="false">https://medium.com/p/40859f3f2cf2</guid>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[swift-3]]></category>
            <dc:creator><![CDATA[John Davenport]]></dc:creator>
            <pubDate>Tue, 13 Jun 2017 00:36:10 GMT</pubDate>
            <atom:updated>2017-06-13T00:36:09.473Z</atom:updated>
            <content:encoded><![CDATA[<p>While I did get to spend a few hours Saturday morning coding my weekend was busy doing other life related activities, after all learning Swift is a very side project of mine so I only plan to invest a few hours a week into it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bnVON7vvINoIC0OPzoFimw.jpeg" /></figure><h3>Project For Week Two — Adding New Functionality</h3><p>So the FoodTracker demo app Apple has you build as a guide to coding with Swift is pretty good. It’s a functional app that displays a list of food you’ve tracked, a photograph of the dish, and a star rating associated with this dish.</p><p>I want to see if I can expand upon the basic app and add some of my own tweaks and functionality to it as I tend to learn better when I tinker.</p><p>This week’s task is to figure out how to add a feature that I feel is sorely missing from the demo app’s core functionality. The ability to take a photo and use it directly in the app.</p><p>Currently FoodTracker only allows you to pick from your photo library, which is kind of cumbersome, because this means you’re required to take the photograph first and then open your FoodTracker app.</p><p>To make this happen I need to figure out a couple of things. First and foremost is how to capture and save a photo within an app. The goood news is — I actually already have that up and running in a separate app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*l8s2zbl2vHsCLpc0MdKPlw@2x.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*Hz4DsmmIENlHU3Epz7eR0g@2x.jpeg" /></figure><p>The next task is then to figure out how to build this functionality into the FoodTracker app. My first attempt resulted in Xcode becoming very unhappy so I’m stepping away from this for now and will revisit when I have cleared my head.</p><p>If anyone out there is reading this little journey of mine, please send your support with recommendations and comments! Comments are especially helpful if you have some tips, advice or words of encouragement to keep me going!</p><p>See you in a few days!<br>-J</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40859f3f2cf2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/learn-swift/building-camera-functionality-into-foodtracker-40859f3f2cf2">Building Camera Functionality into FoodTracker</a> was originally published in <a href="https://medium.com/learn-swift">Learn Swift</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Swift — First Week]]></title>
            <link>https://medium.com/learn-swift/learning-swift-first-week-13d2965d70c0?source=rss----29d20a54f12f---4</link>
            <guid isPermaLink="false">https://medium.com/p/13d2965d70c0</guid>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[learn-swift-programming]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[app-development]]></category>
            <dc:creator><![CDATA[John Davenport]]></dc:creator>
            <pubDate>Fri, 09 Jun 2017 15:51:15 GMT</pubDate>
            <atom:updated>2017-06-09T15:50:55.816Z</atom:updated>
            <content:encoded><![CDATA[<p>The first week is always the easiest. Motivation is high. Dreams aren’t broken. Challenge has yet to be faced. I’ve been here before…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bnVON7vvINoIC0OPzoFimw.jpeg" /></figure><p><em>Week 1: June 5–9</em></p><p>Week one was spent getting familiar with Xcode and working my way through <a href="https://itunes.apple.com/us/app/swift-playgrounds/id908519492?mt=8&amp;at=1010l9EU">Apple’s Swift Playgrounds</a> app for iPad — I’m almost done with <em>Learn to Code: 1.</em></p><p><em>Learn to Code 1</em> has proven to be a bit of review. I have some basic coding knowledge and as I mentioned in yesterday’s article I’ve been down this road before. The review is good though. It helps me build confidence and reinforces what I already know.</p><p>In previous years I didn’t have access to the Swift Playgrounds app so this is a new tool for me. I think having it here will help me stay on track and continue to grow my knowledge of Swift.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*-o45q-I_WGFVkhSJ8YkkFA.png" /><figcaption>Screen shot of my FoodTracker App on June 7th — not much yet!</figcaption></figure><p>To familiarize myself with Xcode I’ve been working my way through Apple’s development tutorial “Build your first app”.</p><p>In this tutorial you are guided through the process of building a FoodTracker app. It’s a highly introductory and well guided introduction to Xcode and the Swift coding language.</p><p>I’ve been making the most out of this process by not only reading through the guide, but making sure that I’m not copy pasting the code they give me, rather trying to find the solution of each section first after skimming the concept that’s been presented.</p><p>This hasn’t always worked out in my favor though and there have been times where I needed to go back quite a few steps in order to track down random bugs in my code. This, of course, is part of the process though and so far I’m enjoying watching this app come together.</p><h3>Next steps</h3><p>Next week’s goals are to complete <em>Learn to Code:1 </em>and begin tinkering with the FoodTracker app in order to add my own flair to it. I’ll also consider looking for another tutorial app to work through — if you have any suggestions please let me know!</p><p>See you next week!</p><p>-J</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13d2965d70c0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/learn-swift/learning-swift-first-week-13d2965d70c0">Learning Swift — First Week</a> was originally published in <a href="https://medium.com/learn-swift">Learn Swift</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Swift From Scratch]]></title>
            <link>https://medium.com/learn-swift/learning-swift-from-scratch-c34f0b141019?source=rss----29d20a54f12f---4</link>
            <guid isPermaLink="false">https://medium.com/p/c34f0b141019</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[inspiration]]></category>
            <dc:creator><![CDATA[John Davenport]]></dc:creator>
            <pubDate>Fri, 09 Jun 2017 12:23:54 GMT</pubDate>
            <atom:updated>2017-06-09T01:17:26.060Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s June 8th 2017 and once again I am bursting with a deep motivation to learn how to code. Like previous years, this desire to learn the art of coding apps comes from watching Apple’s WWDC keynote.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/1*SS6shV7EmUBKQqGP6dDIuw@2x.png" /></figure><p><strong><em>Introduction</em></strong></p><p>I plan to use Medium to document my learning. I will be sharing my successes and failures, breakthroughs and roadblocks, this will become an archive of my journey to learning Swift.</p><p><em>The Plan</em></p><p>In previous years I’ve started the journey with an app in mind. Inevitably I would end up failing as I began trying to build an app with little to no knowledge of the fundamentals of coding.</p><blockquote>This year will be different.</blockquote><p>This year I’m going into this entire project with a different mindset. I’m not starting with the goal of creating an app. This time, my goal, is to learn a little bit about coding every day. Even if it’s just a small piece to the overall puzzle.</p><p>In an effort to keep myself motivated I plan to write about my day’s experiences here on Medium. I’m not yet sure how frequently I’ll be updating, but my hope is to update at least weekly if not daily.</p><p>Tomorrow I’ll talk about my first weeks progress and layout a plan for next weeks goals.</p><p>-J</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c34f0b141019" width="1" height="1" alt=""><hr><p><a href="https://medium.com/learn-swift/learning-swift-from-scratch-c34f0b141019">Learning Swift From Scratch</a> was originally published in <a href="https://medium.com/learn-swift">Learn Swift</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>