Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Sample project? #18

@trozware

Description

@trozware

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions