Post

Replies

Boosts

Views

Activity

Reply to Guys I dont know what I am doing here.
Start by doing a search on google for swift tutorials and start with an introductory tutorial. If you aren't much of a self learner then enrolling in a programming, IT or computer science course at your local educational institution is another starting point. it sounds like you don't have any background in programming, so yes it will take a significant investment of time. 6-12 months at least if you are serious about it, maybe more.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’22
Reply to Is Core Data the best to use for Shared Data across multiple users/devices?
If you want a syncing solution you can use core data+CloudKit. This will allow your users to use the data offline. The sharing intergration using core data with CloudKit isn’t quite there - it exists but I don’t think anyone has been able to get it to work. But you can share directly with the CloudKit apis and write your own integration with Core data. This is how most people do it. you can also store your data on an external server and access it directly. This will need an internet connection unless u write your own syncing.
Sep ’22
Reply to Navigation: update multiple times per frame
add .id(UUID()) on the NavigationLink fixes it for me in some cases. I think it's a bug in swiftUI. and I'm sure that there are more appropriate ways of assigning the id, but if u ensure the id is unique then it will fix the freeze in some cases. still doesn't fix it for everything.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’22
Reply to Sudden Drop in CPU Utilization in macOS App After Extended Operation
you are probably having thread contention. they could be blocking each other. it is possible to overwhelm the system with too many threads. sometimes u get better utilisation with less threads. really u only want as many as you have cpu cores running at the same time otherwise they interrupt each other. u can look at the concurrency tool in instruments for some hints.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’23
Reply to macOS Sequoia SwiftUI crash
I think NSBundle file:///System/Library/PrivateFrameworks/MetalTools.framework/ principal class is nil because all fallbacks have failed is a bug. I get the same warning with iOS18 final but it doesn't crash. I guess they will fix it next release
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to Guys I dont know what I am doing here.
Start by doing a search on google for swift tutorials and start with an introductory tutorial. If you aren't much of a self learner then enrolling in a programming, IT or computer science course at your local educational institution is another starting point. it sounds like you don't have any background in programming, so yes it will take a significant investment of time. 6-12 months at least if you are serious about it, maybe more.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Is Core Data the best to use for Shared Data across multiple users/devices?
If you want a syncing solution you can use core data+CloudKit. This will allow your users to use the data offline. The sharing intergration using core data with CloudKit isn’t quite there - it exists but I don’t think anyone has been able to get it to work. But you can share directly with the CloudKit apis and write your own integration with Core data. This is how most people do it. you can also store your data on an external server and access it directly. This will need an internet connection unless u write your own syncing.
Replies
Boosts
Views
Activity
Sep ’22
Reply to Navigation: update multiple times per frame
same issue when tapping on NavigaitonLink. using new swiftui syntax but not using the programmatic way. 100% CPU freeze.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Xcode cloud -
I didn't think Xcode supported java? I thought it was only C, and apple languages - Objective C, Swift, SwiftUI no?
Replies
Boosts
Views
Activity
Nov ’22
Reply to Navigation: update multiple times per frame
add .id(UUID()) on the NavigationLink fixes it for me in some cases. I think it's a bug in swiftUI. and I'm sure that there are more appropriate ways of assigning the id, but if u ensure the id is unique then it will fix the freeze in some cases. still doesn't fix it for everything.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to SwiftUI NavigationLink freezing when tapped
I've found that in some cases setting .id(UUID()) on the navigationLink fixes the problem, but it doesn't work all the time.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to SwiftData and command line
yes. they give u sample code to setup the stack in swift without using swiftui
Replies
Boosts
Views
Activity
Jul ’23
Reply to iOS 17 Debug Log- Failed to convert from bundle ID
this still happens in iOS17 final
Replies
Boosts
Views
Activity
Sep ’23
Reply to iOS17 & Xcode15 'Failed to convert from bundle ID'
I get same issue.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to nw_parameters_set_source_application_by_bundle_id_internal Failed to convert from bundle ID (com.XXX.XXX) to UUID. This could lead to wrong data usage accounting.
other people having same issue: https://developer.apple.com/forums/thread/737724 and https://developer.apple.com/forums/thread/737724
Replies
Boosts
Views
Activity
Sep ’23
Reply to Sudden Drop in CPU Utilization in macOS App After Extended Operation
you are probably having thread contention. they could be blocking each other. it is possible to overwhelm the system with too many threads. sometimes u get better utilisation with less threads. really u only want as many as you have cpu cores running at the same time otherwise they interrupt each other. u can look at the concurrency tool in instruments for some hints.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to error: CoreData+CloudKit: Never successfully initialized and cannot execute request - incomprehensible archive
This still happens in iOS17. anyone know a solution or a workaround? We cant be resetting the environment in production.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Ipados 18 Beta 2
this is beta software. downgrade and go back to iOS17
Replies
Boosts
Views
Activity
Jul ’24
Reply to macOS Sequoia SwiftUI crash
I think NSBundle file:///System/Library/PrivateFrameworks/MetalTools.framework/ principal class is nil because all fallbacks have failed is a bug. I get the same warning with iOS18 final but it doesn't crash. I guess they will fix it next release
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to "Failed to execute query" in CloudKit Console
seems to be ok now
Replies
Boosts
Views
Activity
Oct ’24