Post

Replies

Boosts

Views

Activity

PKDrawing() == PKDrawing() returns false
Currently there is no way to check if a PKCanvasView is blank. I submitted a bug via the feedback app a week ago, but it says "No similar reports." This seems like a pretty big deal, and I was wondering if anyone has been able to check a PKCanvasView to see if it's blank. The demo app uses the PKCanvasViewDelegate to flip a bool when drawing starts, but this is not really valid. If a user draws and then erases back to a blank canvas, it will still report the canvas as "dirty." I don't think saving a bunch of blank canvases is user friendly.
12
0
2.6k
Aug ’19
When using NSPersistentCloudKitContainer, should we prune NSPersistentHistory?
The Apple Demo, which is very thorough, doesn't "prune" persistent history?And the Forum Thread seems to suggest that persistent history is integral to how NSPersistentCloudKitContainer works.Are we supposed to explicitly prune persistent history ourselves or is it handled for us by NSPersistentCloudKitContainer?Apple Demo: https://developer.apple.com/documentation/coredata/synchronizing_a_local_store_to_the_cloudForum Thread: https://forums.developer.apple.com/message/373336#373336
0
0
477
Feb ’20