Also if the zero's are a number, you need to drop the leading zeros, otherwise enclose them in quiotes.
Post
Replies
Boosts
Views
Activity
I missed it was swift data.
See reply below...
You should consider using Decimal for money, especially if you are adding/subtracting a lot of amounts.
Cumulative rounding can add up and matter.
That is because 1.25 can be exactly represented where 1.255 can't be.
1.255 is approximately
1.25499999999999989341858963598497211933135986328125
1.255001 is
1.25500100000000003319655661471188068389892578125
You might want to look at the QLPreviewController.
The problem is the file is outside your app's container.
I've not used that functionality myself.
https: //useyourloaf.com/blog/accessing-security-scoped-files/
This goes into how to do it.
and then I realized that was @zikomiko answering the question...
An existing post with additional information
iOS app on MacOS M1 - Detect MacOS - https://developer.apple.com/forums/thread/707618?answerId=716504022#716504022
You can detect you are running on a mac
https://stackoverflow.com/questions/65042788/how-to-detect-if-an-ios-app-is-running-on-an-m1-mac