Posts

*STICKY - Summary of all Entries!*

*STICKY - Summary Of ALL Entries!* Not so much of an update actually but more of a checkpoint/summary to show what I have achieved and where I am with my Swift understanding at this point. Basically, at around Christmas time, 2017, I felt the urge to resume my Swift journey. It had been very patchy - at best - for the two and a half years prior to then. For a time - approximately April to August 2015, I was on a real roll. As I've already outlined before (so will keep it brief here), coming to Dubai put a hold on that progress. Happily, I can genuinely say - after 5 months of consistent practice - that I know much more than I ever have and am at a much more advanced point than I was in August 2015. The real turning point was in June, after a couple of pointless, sporadic entries based on an eBook, I decided to do a total reset. This did seem to be a step backwards initially, but my rebuilding was essential. Using Treehouse was the key here. So this entry will summarise my S...

*Final Entry For This Blog*

Having not being able to do any coding or Swift learning since 20th March - nearly four months - I've finally managed to come back for it! The main reason is that with lockdown, Learning From Home meant a LOT of screen time. Being in front of a laptop for an intense amount of time per day essentially meant that I did not have the capacity to do any coding at all. So I haven't! It also means that I need to conclude this particular blog as it feels strange to continue it after so much time. It does NOT mean however that I am giving up or quitting on Swift though! I still believe that it is a great skill to develop and could still be an opportunity to transition a career towards. So, to wrap things up here, this part of my Swift journey is over. I need to start a new blog with a fresh start and a fresh opportunity to rebuild my skills and take them to a new level. Signing out of 'Josh's Swift Journey' - the road is far from over!

RW.com: Navigation Tutorial - Part 1

Image
Alright! A new article - technically a tutorial to focus on. This one is all to do with navigation. Start Time - 14:20 Here is the link, from Audrey Tan: https://www.raywenderlich.com/5824937-swiftui-tutorial-navigation Before I start, just having look to see what's there. Good to see the ContentView empty at the moment - that's genuinely good to see we're adding from scratch! In the 'Artwork' file, we have a custom struct for Artwork, then an array full (17!) of different artwork values. Each has a whole list of properties. In the MapView file we have some code that I'm not familiar with. OK, let's go to the actual tutorial! SwiftUI Basics Yes I agree with Audrey - I MUCH prefer how the code directly matches to the view, so you can keep track of it all. Also, just the one main ContentView is easier than using storyboards. Another key point is that UIKit can still be used alongside UI. Declarative App Development So what does declarat...

RW.com: Animations Article - Part 2

Image
The run continues! Will be good to make the most of it, as there will not be anywhere near as much time over the next few weeks. Anyway, second and final part on animations. Let's do it! Start Time - 15:04 So we are starting with combing transitions Combining Transitions Here is an extension on AnyTransition - extension AnyTransition {     static var customTransition : AnyTransition {       let transition = AnyTransition . move (edge: . top )         . combined (with: . scale (scale: 0.2 , anchor: . topTrailing ))         . combined (with: . opacity )       return transition     }   } This basically means that there are three specific transitions saved into customTransition - and that is specifically for the type. I'm starting to understand when it is useful to use type properties! 10 minute delay Asynchronous Transition So we have replaced to tr...