Post

Replies

Boosts

Views

Activity

Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
Nobody any idea? I know the information is scarce, but if I knew more I would be much closer to the solution. What I know so far: Mac A: Master Mac B: S.er.va.nt Data on Mac A isn't synced to CloudKit while data from CloudKit is synced to Mac B and the other way round. When I completely delete the app on Mac A (including database file called xxx.sqlite), syncing starts again on Mac A, but all Data I added meantime on Mac A is gone. Restoring only database file (xxx.sqlite) on Mac A, syncing stopps again on Mac A. So in my opinion, there must be a flag inside the sqlite-file or there's a special character in database I accidentally used, so syncing won't start. It would be very nice, if somebody can help. And if I had one wish, dear fairy, it would be very nice if maybe a developer from Apple could comment on it. I know: nice try, but one can wish.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’23
Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
IMO it has to do with local database. Editing directly in CloudKit, changes are synced to Mac Mini but not to MacBook. Editing on mini will change CloudKit, but not MacBook When completely deleting my app on MacBook und reinstalling, syncing starts and works fine. Restoring a backup just of database-Files (.sqlite), syncing stopps again. Is inside the database a flag, that prevents syncing? Structure of database should be the same.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’23
Reply to Swiftui NSCombobox Arrow Keys not working
Have got the same problem and can't find a solution.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
Nobody any idea? I know the information is scarce, but if I knew more I would be much closer to the solution. What I know so far: Mac A: Master Mac B: S.er.va.nt Data on Mac A isn't synced to CloudKit while data from CloudKit is synced to Mac B and the other way round. When I completely delete the app on Mac A (including database file called xxx.sqlite), syncing starts again on Mac A, but all Data I added meantime on Mac A is gone. Restoring only database file (xxx.sqlite) on Mac A, syncing stopps again on Mac A. So in my opinion, there must be a flag inside the sqlite-file or there's a special character in database I accidentally used, so syncing won't start. It would be very nice, if somebody can help. And if I had one wish, dear fairy, it would be very nice if maybe a developer from Apple could comment on it. I know: nice try, but one can wish.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
IMO it has to do with local database. Editing directly in CloudKit, changes are synced to Mac Mini but not to MacBook. Editing on mini will change CloudKit, but not MacBook When completely deleting my app on MacBook und reinstalling, syncing starts and works fine. Restoring a backup just of database-Files (.sqlite), syncing stopps again. Is inside the database a flag, that prevents syncing? Structure of database should be the same.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
I just found something else: Changes made on the Mac mini (employee) will be synced to CloudKit. In any case, data arrives in the CloudKit. Also changes directly made in CloudKit will arrive at my app on Mac mini. So syncing itself and my app are working. So there might be a problem on the MacBook Air, where syncing is stopped or delayed.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to SwiftUI, Table and the multiple row selection problem (macos).
Hi Ludek66, I still got the same problem. I thought, the optional of field id can be set in inspector, too. But unfortunately that doesn't help. Where is this file? Or is there another thing to be set? And how can I access the Item to display the name e.g. or make changes / open editing for this set?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to adding address to contacts on macOS
Could it be a problem with Ventura? The first line of console info seems to confirm this suspicion.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to adding address to contacts on macOS
Ok, when pasting my code to an iOS-Project, everything works fine. Using it in an empty macOS-project, same problem. Error on line try store.execute(saveRequest)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Where can I make a contextMenu for TextField / TextEditor?
btw. .contextMenu() doesn't work. :-)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to swiftui: Value is not updated on numberformatted Textfield like currency
From a friend on stackoverflow you have to use this way of formatting: TextField("amountOnDeadline",value: $startValue, format: .currency(code: Locale.current.currencyCode ?? "EUR"))
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22