Posts

Showing posts from September, 2019

Ray Wenderlich - Setting Up/Initial Exploration

Image
OK, here we go with Ray! Having consolidated over Lynda, which was useful, I'm ready to dive headfirst into Ray's courses. There is a lot of content on his site and I have paid 20 dollars for this month - money very well spent hopefully. Anyway, this has a new intro with a mention of UI part. I will be making two apps. The issue here is that I have followed this stuff before - a year and several months ago. This may well be recap then. Oh well, good and necessary to go over before moving onto the more complex stuff.  Start Time -19:12 1. Intro   That is what we're covering! The Hands-On Challenge sound exciting - stuff to do on my own. This course is based on a book...don't know much about that so leaving that for now. 2. Swift UI Ok so something new after all! The key point here is being able to visualise your work as you go. Cool! Supposed to be the best way of making new apps. Not many experts on it yet...which has some downsides but I'll be gettin...

*CONSOLIDATION ENTRY* Lynda Course

OK! So before beginning the pathway on raywenderlich.com - which looks great by the way - I want to consolidate everything from Lynda, so I can help pinpoint what I need more practise with. Before that, I just want to repost something I did several weeks ago -  Step 1(June 2018-December 2018) - learn the basics syntax and principles of coding with Swift. Step 2 (January 2019 - June 2019) - learn more intermediate level coding and create several of my own projects. Step 3 (July 2019 to December 2019) - build on the intermediate concepts, learn some more advanced elements of Swift and create more complex mini apps/projects. Step 4 (January 2020 to June 2020) - learn the highest order/most complex aspects of Swift. Use RayWenderlich newsletter, London App Brewery - any way of keeping up to date with knowledge and application of the most recent Swift. Make even more complex projects, which are near to 'app ready'. Step 5 (approx July 2020 to December 2020) - Focus on buil...

Lynda Course - Swift 5 Essential Thinking (Part 8 - FINAL!)

Image
Here we go! The last part - the challenge - of Harrison's course. After this I will review all of the course and focus on what needs practising as several bits have come up that I definitely need to go over. Then I'll look at the next course/plan! Start Time - 13:48 Let's break this down first. 1 is easy. 2 is all good. 3 is harder but I think I remember the syntax. 4 is, again, tricky but I can do it. Similar with 5 to 7 - error stuff which I may need help with! Right enough deliberation let's give it a go - without any help first! Right, so these bits I'm OK with - // 1 enum ActionError: Error {     case InsufficientMP, OutOfRange, UnknownError } // 2 // 3 func attackEnemy(mp: Int , distance: Double )  throws -> Bool ? {          // 4     guard mp < 10 else {         throw ActionError . InsufficientMP     }     // 5     guard d...

Lynda Course - Swift 5 Essential Thinking (Part 7)

Last part of the course! I'm going spend around half an hour now on this and the rest tomorrow, if/when needed. Let's do this! Start time - 21:00 Enumerations All of the declaring and creating no problems. I want to see the use of assigning values etc. That bit I'm not so sure about. // Declaring an enum enum GameState {     case Completed, Initialzing, LoadingData } // Storing and switching on an enum value var currentState = GameState . Completed switch currentState {      case . Completed :     print ( "All tasks complete" ) case . Initialzing :     print ( "Init in process" ) case . LoadingData :     print ( "Data is loading" ) } Raw and Associated Values You can do this -  enum NonPlayableCharacters: String {     case Villager     case Blacksmith     case Trader } But no other info - quite limited. Can be access...