Post

Replies

Boosts

Views

Activity

Files not showing up in Documents
Beginner Question: I have saved a couple of documents at FileManager.default.urls(for: .documentDirectory, in: .userDomainMask) I confirmed using fm.contentsOfDirectory(at: path, includingPropertiesForKeys: nil) that the files do exist. How can I find them on my iPhone via the UI? They do not seem to show-up in the Document application. I like to share a couple of them manually with other devices. Thanks so much DJ
2
0
1.5k
Apr ’23
XCode Swift: Slowing down and CPU at 0% on compute heavy task
I have noticed on a long running compute intensive task (just one task) my MacBook M2 Pro is slowing down from 100% CPU to 0% CPU load after 30minutes. The app is still running, but as slow as the CPU load suggest. The machine is getting a lukewarm, not hot and I have not heard the fans. It seems also not to be speeding up again (also not after an hour or two). I have experienced the 0% CPU load also directly after starting the app with a machine that is otherwise at 90% idle. Is this thermal throttling or anything I can change in XCode/Swift? Thanks DJ
0
0
355
Mar ’23