Tag: Xcode
-
Why?
Why do I have to resize this preview window every time I open Xcode?
-
Purple warning – “Publishing changes”
It’s a pretty safe bet that if Xcode is saying there’s an error in my code, that it’s correct, and I am in error – not Xcode. Today I came across a situation where that might not be true. I think the purple warnings are problems detected at runtime – I’ve heard of thread problems…
-
SwiftLint
I was watching a Tim Ruscica video about the things that highly effective developers do, and it called to mind a book I read years ago called Code Complete. It is the only book I ever owned that I immediately purchased the new edition when it came out. It was about the meta stuff around…
-
Testing, testing
I have unit testing in my list of goals, and if I’m going to throw this space trimming macOS utility up on the web, now might be a good time to figure out how to add unit tests to a project, how to write them, and how to run them. XCode is well set up…
-
Where’s My App?
The iOS apps I’ve been making, can only run in the simulator or on my tethered device (which I haven’t actually tried yet), but the MacOS app I made today, in theory could be zipped up and distributed to the world from my website. At the very least, I wanted to drop it into my…
-
Customizing the default About dialog for MacOS apps
The default Xcode MacOS targeted app has a built in “About” dialog called up from the “About <app name>” menu item in the Mac menu bar. It wasn’t immediately clear to me how to customise this, but after digging through some MacOS apps on GitHub, here’s the answer. When you app is being built, it…
-
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…
-
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…