Category: Posts
-
Pi Server
I have a a couple of Raspberry Pi’s on my home network. One is a radio interface on the AllStar network, and the other is just a toy server – I can’t actually recall why I bought it. Both of them are Model 3B’s – I’d love a 4, but they are scarce and expensive.…
-
Towards MVVM
On one of the more mediocre episodes of Fireside Swift, McSwiftface and Zach talk about the SOLID principles of class design, although I don’t hold the principles as the article of religious fervour that many interviewers apparently do, they are a useful touchstone for considering class quality. OOP had been in swing (in a commercial…
-
Deep Linking
I was listening to an old episode of Fireside Swift today discussing NFC tags. I have a bundle of this tags in a drawer here somewhere – I thought it would be cool to tap one as I came home to turn off the CCTV and some other home automation things. But it turns out…
-
Project Based Learning
A couple of times in conversations on Fireside Swift and Swift Over Coffee the presenters have talked about the danger of just doing more and more tutorials to learn programming, and the benefit, in contrast, of building your own real app. Although I am very much still benefiting from the 100DaysOfSwiftUI I have been seeing…
-
Tickets on Myself
Way back on Day 47 I wrote a little habit tracking app. It was the challenge at the end of a JSON tutorial, so the persistence is done by writing the JSON to UserDefaults as a string. Basic as it is, it’s installed on my phone and I check it a couple of times a…
-
Something weird ‘append
I’m noodling around making sure I understand how Core Data works. Thought I’d start with a master/detail app with an array of structs, then replicate it in a Core Data implementation. I’m using an array of this struct for my data: And I thought this code to load up some sample data was pretty sweet.…
-
Tough Day
Day 61 of #100DaysOfSwiftUI is a tough day. It’s the first real big test of Core Data understanding, and I’m finding I didn’t actually understand how the code for Core Data works. For the first time, I’m thinking of going back and redoing the days leading up to it. To try and get it straight…
-
iOS Dev Twitter
One of Sean Allen’s many pieces of excellent advice was to follow a few Swift/iOS dev people on Twitter. I took that advice, and it is now a source of joy to flick through every couple of days and get a feel for what’s happening, and to discover new things. It’s how I learned iOS…
-
FriendFace Feedback
After each app, I use my HackingWithSwift+ membership to view Paul’s version of the app as a way to judge my performance. Yesterday’s app was “FriendFace” – download some JSON of a number of people (including their friends) and display it. UUID In my struct, I’d just specified the User.id as a string, Paul uses…
-
Profile Photo Rabbit Hole
I’m on day 60 of #100Days, and have just wasted most of an evening’s coding time going down a rabit hole I didn’t need to. The app for this challenge is called “FriendFace” and is pretty straightforward: download a heap of JSON which is an array of users. Show it in a list that can…