Post

Replies

Boosts

Views

Activity

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 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 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 Issue with DatePicker in Xcode 14
Seems to be a bug in the iOS16 SDK for DatePicker. you can safely ignore it. I can't remember what it was but there is a compiler flag u can set so it reduces the error message down to one line to clean up your console. you can probably find it with a google/stackoverflow/forum search
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’22
Reply to need help
start by telling us what the app is, what u are doing to make it crash, what os and device you are using, any error messages, your code. no one can help you with "can someone help me understand why this app is crashing? thank you so much!"
Sep ’22
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 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 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 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 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
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 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 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 Issue with DatePicker in Xcode 14
Seems to be a bug in the iOS16 SDK for DatePicker. you can safely ignore it. I can't remember what it was but there is a compiler flag u can set so it reduces the error message down to one line to clean up your console. you can probably find it with a google/stackoverflow/forum search
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to error: CoreData+CloudKit: Never successfully initialized and cannot execute request - incomprehensible archive
to fix this I had to reset the environment, let the record tables be recreated and then re-add the recordName and modifiedTimestamp indexes for the public database. exporting the environment schema and then reimporting didn't work.
Replies
Boosts
Views
Activity
Sep ’22
Reply to Core Data + CloudKit don't synchronize in background on iOS
id also like to know this.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to error: CoreData+CloudKit: Never successfully initialized and cannot execute request - incomprehensible archive
still broken in iOS16 final
Replies
Boosts
Views
Activity
Sep ’22
Reply to SwiftUI Preview doesn't work iOS16 XCodeVersion14.0beta 2 (14A5229c)
that's an old beta, try getting the latest one
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to need help
start by telling us what the app is, what u are doing to make it crash, what os and device you are using, any error messages, your code. no one can help you with "can someone help me understand why this app is crashing? thank you so much!"
Replies
Boosts
Views
Activity
Sep ’22
Reply to How to "properly" fetch data from CoreData in descending order?
try this let fetchRequest : NSFetchRequest<Item> = Item.fetchRequest()     fetchRequest.sortDescriptors = [NSSortDescriptor(keyPath: \Item.itemNo?, ascending: false)]     let results = try context.fetch(fetchRequest)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22