Post

Replies

Boosts

Views

Activity

Comment on Pasing remote JSON response
Also if the zero's are a number, you need to drop the leading zeros, otherwise enclose them in quiotes.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’24
Comment on Unit test SwiftData migrations
I missed it was swift data.
Replies
Boosts
Views
Activity
Feb ’24
Comment on Massive difference in time taken to scan contacts/perform action in Xcode versus TestFlight
See reply below...
Replies
Boosts
Views
Activity
Feb ’24
Comment on print(String(format: "%.2f", 1.255)) => 1.25
You should consider using Decimal for money, especially if you are adding/subtracting a lot of amounts. Cumulative rounding can add up and matter.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Comment on print(String(format: "%.2f", 1.255)) => 1.25
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
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Comment on Above iOS 17 UIWebview issue
You might want to look at the QLPreviewController.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23
Comment on Problems with csv-Import
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.
Replies
Boosts
Views
Activity
Dec ’23
Comment on No sample code
and then I realized that was @zikomiko answering the question...
Replies
Boosts
Views
Activity
Dec ’23
Comment on How to get MacOS Version and device model from iOS app running on the Mac with Apple Silicon?
An existing post with additional information iOS app on MacOS M1 - Detect MacOS - https://developer.apple.com/forums/thread/707618?answerId=716504022#716504022
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23
Comment on How to get MacOS Version and device model from iOS app running on the Mac with Apple Silicon?
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
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23