Post

Replies

Boosts

Views

Activity

Comment on How to fix NSCloudKitMirroringDelegate unhandled exception after faulty model change
I had assumed (hoped?) that resetting the development environment would clear any backlog of updates from the CloudKit sync, but this was not the case. The error still occurs and syncing stops once the reload from CoreData gets to the point where I'd made the faulty model changes. Reloading a correct schema into CloudKit doesn't work either. The update records must be persisting somewhere "behind the scenes" either in the Cloud or on my MacMini.
Oct ’23
Comment on How to fix NSCloudKitMirroringDelegate unhandled exception after faulty model change
Unfortunately, the suggested approaches didn't fix the issue. As I said in the original post, I made some unwise changes to the model and a couple of relationships. I should have known, but was hurrying and not thinking clearly. This was some weeks ago and I'd parked the problem (was ill), so I can't remember what I did at the time. This also means that filing a feedback report would be inappropriate because I really can't be sure what I did, and with which versions of MacOS & Xcode.
Oct ’23
Comment on Does iPadOS really exist? If so, why is there no Xcode compiler directive for it?
Thanks for your reply Scott: you confirmed my perception. Most of my apps now are multi-platform (Mac, iPad, iPhone, Watch and sometimes TV) with CoreData/CloudKit storage and sync, so I use a common framework, fencing off functions that are not appropriate for a particular device. Only a couple of these apps might make it onto the AppStore, the rest for personal use, but I do need to think through the design implications before I get too far down the track. Regards, Michaela
Jul ’22
Comment on View References
I've had a look at your linked post and I started preparing an answer for you, but I implement CoreData solutions differently and I'm not sure that my "quick fix" will actually solve your problem, without recreating you code here and testing - which I won't have time for at the moment. If you don't get an answer from someone else I might be able to look at it again over the weekend. Good luck and regards, Michaela
Jun ’22
Comment on MacOS HTTP Listener for a Swift App
Thanks Quinn. I'll have a look at SwiftNIO, although I'm not yet 100% sure what protocol the Switch uses. All I know is that for each Switch state I can provide a URL for it to contact (so assume it's HTTP): today I'll log it's IP address traffic in my firewall and see what's happening. There shouldn't be a port 80 conflict because the public WebServer is on a separate physical LAN, with all external (internet) incoming port 80 packets being directed to it by the Gateway. The switch and intended Listener are on the internal (private) LAN, which I can configure for port 80 between only their 2 IP addresses.
May ’22
Comment on MacOS HTTP Listener for a Swift App
Thank you for your answer. I'm already using the Web Server built into MacOS for publicly facing web-sites, through the DMZ of my secure gateway to a different Mac. As I said, I don't need a full-blown web server and the Listener App's actions need to use Swift APIs, which are difficult to get to via Apache. I know the local IP addresses of the switch and listener. I've developed other Mac apps that constantly (well, every few seconds - but still always running) monitor blue-tooth devices and this is similar, except that the external device (switch) triggers the app's processing via an HTTP Post rather than Bluetooth connectivity with device update notifications. There will be a simple GUI (SwiftUI), for showing switch events, and events will be stored in CoreData and/or CloudKit (of which I've done many apps). The app will also send out alerts, the mode depending on the switch state reported. So, after further thought and reading, plus your answer, I'm inclined to build my own solution using Network Framework and URLSession - once I've gotten my ageing brain around the complexities. Hopefully I'll find some examples or tutorials to get an overview and options. Regards, Michaela
May ’22