Skip to content

Difficulties with delegates and event desired mechanism #55

Open

Description

@crspybits

When dealing with an app that is constructed of multiple screens using the SyncServer interface, the delegate/event desired interface is becoming a little cumbersome. It's fine for just one screen or block of code, but if you are using SyncServer from multiple independent screens, it seems hard to reason about this interface. One example coming up in SyncServer is when I use the sync method with no sharingGroupUUID, and need a callback. At least in this case we could accomplish this by providing a an optional callback block/method as a sync parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions