Category: XCode14

  • Gitting Xcode to Push

    I’m very comfortable with doing all the routine git stuff from the command line, but it was bugging me that I hadn’t for the Xcode integration working. I was able to commit locally with no problem from Xcode, but could not push up to Github. It works fine from the command line, so the error…

  • User Defaults & Horizontal Pickers

    I’m on the challenges for Day 35 of 100 Days of SwiftUI, and despite Paul’s very clear warning: Important: It’s really easy to get sucked into these challenges and spend hours… I have spent ages fiddling around, but of course still learning. My issue is not so much getting stuck on bugs, rather I keep…

  • Animating Guess The Flag

    The challenges for Project 6 of 100 Days of SwiftUI was to add some animations to the Guess the Flag app from a little while ago. The animations themselves were not particularly tricky, my main issue was that I was creating the views for the three flags in a ForEach, so the animations were applied…

  • Animations in Views

    It’s a very Apple-thinking thing to be learning about making beautiful and intuitive user experiences this early in a programing tutorial as I am with the 100 Days of Swift UI series. Here’s a quick look at three different ways of doing animation in SwiftUI Views. Implicit animation An implicit animation in SwiftUI is when…

  • Don’t Use Stupid Project Names

    I’m up to Day 32 of 100 Days of Swift UI, and although the tutorial is named “Project 6” it’s not really a project that becomes a simple app, it’s really just a series of tutorials on animation that I assume the techniques, but none of the code, will be used later in apps. I…

  • Recording the Simulator

    I’ve been using Quicktime to screen record the preview or simulator to document my work here and in Github ReadMe’s, but thanks to this excellent short post by Sarun W, I now know it’s possible to do that directly from the simulator, including capturing gestures, and exporting to animated gifs!

  • Changing Xcode Font Size

    I’ve been changing the Xcode font size by going into the preferences, themes, then selecting the different content types and changing the font size. I guess I could speed that process up by saving some themes with different text sizes, but I’ve noticed a few times in tutorial videos that there must have been an…

  • Word Scramble Feedback

    As is my practice now, after completing the challenges for Project 5, I reviewed Paul’s solution (which is only available to subscribers) to see what he’d done better so I could learn from it. Most of the differences where not of much significance, but there was a couple of things I picked up: When the…

  • Project 5 – Word Scramble

    Another 100 Days of Swift UI project wrapped up – this time a scrabble like word game. New techniques included saving a large text file in the app bundle and loading it (via a string) into an array on launch of the view. Also a short adventure into UIKit to use a UITextChecker. Source.