Posts

Showing posts with the label Storyboard

RW.com: Storyboards Segues Article - Part 2

Image
Yes I'm back on the same day! One good thing about 'distancing' is having genuinely more time to code. Limiting in lots of other ways but every cloud and all that... So back on with the article - second and final part! Then a practical play around... Start Time - 13:20 Same article as before - https://www.raywenderlich.com/5055396-ios-storyboards-segues-and-more#toc-anchor-010 We're up to 'Selecting the Game' So for this, we have another 'unwind segue'. The exit bit now works after the game is selected, but nothing actually is selected. Here is what we're actually selecting. Right more fancy code added! Various bits about the GamePicker. Needing the identifier to match up to something or other. Again, I'm sure this is a lot easier in SwiftUI. This was specifically to get the checkmark in - if indexPath. row == gamesDataSource . selectedGameIndex {       cell. accessoryType = . checkmark     } else {       cell...

RW.com: Storyboards Article - Part 2

Image
Here we go! Part 2 - and final bit of this article!  Start Time - 15:04 Before we got to 'Building the Add Player Scenes'. Aim is to basically complete this app project, then have a think about how I could adapt it for something of my own. Scratch that - ACTUALLY adapt it for something of my own. Add button put in - bar button item with the settings changed. Then a new NC, with the segue put in. All fine! iOS 13 - no code needed and easier to put the segue in. Nice! Lots of bits and pieces with the settings - static for the content etc. etc. Segue bit is all logical; TVC will provide a back button automatically, if there is a segue put in to another Controller. The swiping gesture bit doesn't quite work for the right one for some reason...let's just see if I need to connect something there... Stopped at 16:05 (approx 45 minutes so far - with interruptions) Continued at 16:25 So a few glitches with this project - some with the segue for swipe gesture ...

RW.com: Storyboards Article - Part 1

Image
So, the first time I'm learning via an article! There are plenty of beginner ones on RW.com - around 10 so am going to work through those over the next month to broaden my understanding of Swift. Start Time - 12:56 This is what I will be following, tutorial/article wise - https://www.raywenderlich.com/5055364-ios-storyboards-getting-started *By the way, the timings they give would most likely be if you were reading through, rather than doing and actively learning like I am! This will probably be in two different entries, and as usual I will type what I am finding out as we go along. A key difference here is having no audio - that will be a bit of a challenge in terms of information being reinforced etc. One of the benefits is having multiple view controllers. I've found this before - compared to the previous Xcode. This is now what the storyboard can look like - Purpose of this tutorial: building an app called 'Ratings': players, the games they play an...