Post

Replies

Boosts

Views

Activity

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.
Topic: Programming Languages SubTopic: Swift Tags:
May ’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
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’22
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 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 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 Macro-mode in AVCaptureDevice(custom camera)
Regarding OCR, because of its importance to the function of my app and the small size of the labels photographed (plus surface creases etc), I use photoOutput.photoSettingsForSceneMonitoring?.isAutoContentAwareDistortionCorrectionEnabled = true photoOutput.maxPhotoQualityPrioritization = .quality These settings increase the latency of the image capture, but improve the probability of accurate text detection.
Jan ’25