Posts

Post not yet marked as solved
4 Replies
426 Views
Hey, I have an iOS/watchOS application that has been in the App Store since the beginning of last year (for reference: https://endsplus.com). Part of the functionality includes: Create a Fixture on the Phone Create Fixture on iOs Fixture is saved to Core Data Core Data syncs with CloudKit WatchOs pulls down the record, updating a table of the same name I can show the Fixtures on the Watch. Track a game on the Watch and then save it. Create a Game on WatchOS Game is saved to Core Data Core Data syncs with CloudKit iOS pulls down the record, updating a table of the same name I can show the games on the phone. For reasons I am unable to work out syncing of core data tables between the phone and the watch has stopped working. I know that the iOS coredata/cloudkit functionality is working as I can create a record on my physical phone, then run a simulator and log in with the same iCloud account and see the record. But the functionality has stopped working for watchOS. I have added a new table to the Watch side that is not syncing to the Phone, but an existing table (Fixture) that has been working has also stopped syncing between the phone and the watch. None of my Persistence/Core Data code has changed. My new table is associated with a Cloud Store, the same as my old table is. What options are they available to me to try and debug this. The watchOs simulator doesn't seem to work with CloudKit, telling me it is not signed in. I've tried looking at the CloudKit database logs, but obviously for security I can't see the data, but I can't see any errors from the watch. I've uninstalled and re-installed the application (on the phone and the watch) numerous times, but that isn't working. Does anyone have any ideas? Thanks
Posted
by MPHaskins.
Last updated
.
Post marked as solved
7 Replies
1.2k Views
Hi, I have created a reusable NSView (backed by a .xib file) that I add twice to a storyboard by adding CustomView object and changing the name of the class. When I run the code from inside Xcode (on both intel and m1 macs) the code runs as expected. When I create a binary (via Project Archive) the code crashes when it tries to load the Storyboard with the error: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSSlider 0x7fc5c740d8e0 has reached dealloc but still has a super view. Super views strongly reference their children, so this is being over-released, or has been over-released in the past.' I have split the code out of the main project into a test project to see if the problem still occurred and it does. So it must have something to do with my implementation. I understand what the error means, but as it works in Xcode I'm not sure how to go about trying to resolve this. Can anyone provide some guidance as to how to fix this? Thanks Test project code is here : https://github.com/githublemming/BugCode
Posted
by MPHaskins.
Last updated
.
Post not yet marked as solved
0 Replies
348 Views
Hi, I wonder if someone can point me in the right direction. I want to be able to read/play a CD within a swift application. I've had a look at a few of the frameworks but I can't see anything that mentions the handling of a CD. Where should I be looking to get more information? Thanks
Posted
by MPHaskins.
Last updated
.
Post not yet marked as solved
1 Replies
562 Views
Hi, I have an independent watchOS application currently in the App Store: https://apps.apple.com/us/app/ends/id1519994705. As part of the usage of the application a Scorecard of points is built up as more 'Ends' are played. What I want to be able to do is sync that information to an iOS device in order that user can print/forward the scorecard after the game if required. But, what I don't want to do is force the users to download the iOS application if they don't need the additional functionality. They might be happy to just use the watch app, reset it, and lose the data. Is this possible? Can I add an additional target to the application that has more advanced iOS functionality, but still allow the user to just download the watch app if they desire? Then maybe get the iOS app later if needed? I've read the docs, but it's not clear to me. Thanks, Mark
Posted
by MPHaskins.
Last updated
.
Post not yet marked as solved
4 Replies
718 Views
Hi,does anyone know of any example showing how you can edit a row in a NSBrowser?What I'm trying to achieve is something along the lines of Finder. Click once to select a row, click again to edit the name.Thanks,Mark
Posted
by MPHaskins.
Last updated
.