Posts

Nick Walter Swift 5 Course - Part 2 (lectures 16 to 22)

Image
Yeah! Two days in a row! Plus, I've managed to get in my summary entry of my first proper year of coding! So today, the plan is to get the 'intermediate' level of Nick's course done. Just 20 minutes now then more soon after that! Start Time - 14:35 Tuples and Sets A point about UIKit - this is a bunch of code that Apple has created. It means you basically have access to all of that code etc. Tuples and Sets hold types. Tuples - a value that holds two or more pieces of information. var dog = ( "Fido" , 8 ) dog . 0 var cat = (name: "Bob" , age: 7 ) I've done the second bit myself as I know you can put in named parameters, rather than just using the raw data to access e.g. using .0 or .1.  Ok for sets, if you specify set, like this... var numbers: Set = [ 4 , 7 , 4 , 8 , 4 , 12 , 5 ] OK! That makes sense syntactically. In the above, the 4 and 5 are only shown once each.  You can use the .insert method to add...

*BONUS ENTRY* Year 1 Summary

Before I continue, and possibly finish Nick's Swift 5 course, I've realised that it is a whole year since I started my Swift Journey! I could trace this back further - to April 2015, when I got a Mac, Xcode and started learning Swift, or to December 2017 when I started creating this blog. Realistically though, it is really from June 2018 that I've consistently been learning how to code and developed my understanding of Swift.  So, the purpose of this 'bonus' entry is to have a look over the last year, break down any particular achievements - partly for consolidation but also to show how far I have come. Let's go! Start Time - 12:17 4th June 2018 So yes, this was the point where my renewed push to learn Swift really began. It was a re-signing up to Treehouse; for $25 a month, I would have access to any Swift or other courses. It made sense at the time, and in fact, it may be better to go for this monthly membership option, rather than slogging away with A...

Nick Walter Swift 5 Course - Part 1 (lectures 1 to 15)

Image
Well, this has been the worst effort for a long, long time! An entire month! There's no point fretting about it - that will not achieve anything. I've felt a renewed sense of wanting to achieve with coding. At this point, it makes sense to switch to a new Swift 5 course, as the language has been updated. It will also give me a chance to consolidate and ensure my understanding of the basics is solid. Then I will resume with Angela's course! So not a cop out. OK, let's get stuck in! Start Time - 14:00 Just looking at Nick's course, there are 6 hours of content here. Perfect for the next few entries - possibly just even the next couple of days' worth. A lot will be the basics, but that's fine. Intro/Installing Xcode - skipping through all these! Don't need the Linux/Windows ones either. Swift Basics This is going from absolute beginner, so rather than totally skipping through and onto Intermediate, I'm going to just do a general skim over. S...