-
Async/Await - DJIA
To get the DJIA open in the background, take a look at this post or this one, or maybe just go straight to Paul's overview.
-
Dynamic Wallpaper
To make dynamic wallpaper, which changes for dark mode vs light mode, I generally use Wallpapper.
-
To @State or not to @State…
To understand @State and all the other SwiftUI property wrappers, maybe take a look at Paul’s outline. Clear and simple, with just enough info to be useful but not enough to confuse.
-
iOS App Icons
Nice and simple ... from makeappicon.com or (perhaps better) appiconmaker.co.
-
Nice looking map markers
tl;dr - read this post With a SF Symbol it's Marker("Tues", systemImage: "4.alt.circle", coordinate: .marker) With a one-to-three character monogram, it's Marker("Tues", monogram: "+2", coordinate: .marker) You can also use a Swiftui Label, though I can't…
-
Transitions 101
First, when updating the @State variable, wrap in withAnimation{} Then, add a .transition(.move(edge: .bottom)) (or whatever transition you want) to the View you are targetting tl;dr - look at Paul's post.
-
UX fun - Draggable GratInfo?
Do I want to make the GratInfo area draggable?
-
UX changes
Current / Retro picker - horizontal padding Date section - same height for Current and Retro Horizontal lines are missing, north of the equator Landscape on small phone - put gratinfo section to the right of the map section Add < and > buttons to the…
-
Next...
Environments DJDates Tests HashPointFractions ohHashState - including one HashPointFraction for W-30 and one for E-30, either of which could be unavailable for one reason or another Maybe logging too.
-
Getting Testy
The ever-brilliant Paul has one article on getting started with unit testing, another on refactoring existing code to help with unit testing, and a third on UI testing. What a champion.
-
Dev vs Staging vs Prod in iOS
For different environments in iOS (eg dev, test, and production) see this article or this one (both a bit tricky to understand), and/or option four in this one (clearer). I'll probs want to do this before I start digging too deeply in to buildling code to…
-
Haptics and Pulses!
Add haptics! And pulses!!
-
If we don’t have location permission
Tap on the map, or use your location.
-
Dates
Just have two options, Retro and Now. And have them separate from the actual date. No - Current and Past (or Current and Retro). or "Now" and "Historical", or something In a Picker that has .pickerStyle(.segmented). In the "Date" sub-section of the…
-
Hyperlinks in SwiftUI Text
I want to have text in my app that looks something like this: Zoom in to the map, or use your location. ... so one sentence, with three words linking to a pop-up window requesting access to use the user's location. If I wanted two separate lines, I could…
-
Yesterday, Today, and Tomorrow
To display a date as "Today", or "Tomorrow", or "Yesterday" when one of those is appropriate, and just display the actual date otherwise, take a look at this Stack Overflow post.
-
UserDefaults permission
I’m going to want to read this post on what to do.
-
DatePickers on tap
So I've been trying to work out how to show a SwiftUI DatePicker when a user taps on a button. Nothing I've tried has worked. But maybe this will.
-
Words
Zoom into a point of interest, or click here to use your location. Zoom in, or click here to use your location To have a button on just a few words in a (localisable) string, maybe try this.
-
DatePicker display
Show the DatePicker without showing the DatePicker, with .opacity … outlined here.