You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2023. It is now read-only.
Has anyone got a sample project running this kit? It looks great but I can't get the suggested code to build.
I can get the first chunk (persistentStoreCoordinator) to build, but when I add the CDK.performBlockOnBackgroundContext chunk of code (modified to suit my model) I get a build error:
Cannot invoke 'performBlockOnBackgroundContext' with an argument list of type '((_) -> _, completionHandler: (_, _) -> _)'
Removing the second parameter from the completion handlers parameters (which seem indicated by the declaration), I get:
Cannot invoke 'value' with no arguments
Sadly, auto-complete is not providing much help here, so I am almost certainly missing something and would be very grateful for a sample project.