You may want to show a list of the upcoming application notifications, you can do this by using the following code.
iOS Notifications While App is Open
You first need a class that acts as the delegate for the userNotificationCenter. Then you need to create an instance of this on your @main, and then tell the notification center what the delegate is.
iOS Notifications
Below is code for creating a notification locally on iOS, and triggering it 5 seconds later. Don’t forget to request permissions to send notifications.
Bowling Score Tracker Released
I’ve release the bowling score tracker app to the Apple App Store. Find it at the link below. https://apps.apple.com/us/app/bowling-score-tracker-keeper/id6443573052 If you feel so inclined or wish to see more development on it, buys some of the in app purchases. They support the development efforts. Thanks.
StoreKit2 With XCode
When testing StoreKit connected directly to XCode, you need to have your .storekit file open and then use the debug menu to test purchases. This is the first time I realized that the menus changed what they have in them dependent on what file you have open. This also means […]
Bowling Score Tracker
My girlfriend is part of a bowling league and every week she writes her scores down on a piece of paper. After seeing her do this for many seasons of bowling I’ve decided I would build her a simple mobile application that she can enter these scores into. If you […]
When sharing data between targets using UserDefaults
When you have to use UserDefaults to share data between a core app and a widget you have to do a couple of things. Inside of the project Signing & Capabilities use the Add Capabilities button to add App Group. You need to do this while selecting both the app […]
Advanced SwiftUI Stepper
Apple’s built in stepper allows you to only have one step increment value, I’ve designed on that allows for two different increment values. Initial version supported 1 and 10 for the step values and is tied to an integer. This of course is the first revision, and it isn’t very […]
MUI React Progress Bar
When building a page with a Linear Progress bar, I thought it should have been partially filled and it wasn’t filled at all. Turns out it expected value to be between 0-100 and I was assuming it would have been 0-1. Best to check the documentation over just guessing, but […]