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

Problems with delegate #26

@KursX

Description

@KursX

func colorViewController(_ colorViewCntroller: EFColorSelectionViewController, didChangeColor color: UIColor) does not work.

Because here:
self.delegate?.colorViewController(self, didChangeColor: color)

self.delegate always nil, despite that I set it

I fixed this by deleting weak here:

public WEAK var delegate: EFColorSelectionViewControllerDelegate?

Maybe I did something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions