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

EFColorSelectionViewControllerDelegate not obj-c compatible. #4

Closed
nissaba opened this issue Feb 13, 2018 · 3 comments
Closed

EFColorSelectionViewControllerDelegate not obj-c compatible. #4

nissaba opened this issue Feb 13, 2018 · 3 comments

Comments

@nissaba
Copy link
Collaborator

nissaba commented Feb 13, 2018

to make the EFColorSelectionViewControllerDelegate compatible with OBJC it needs to be set this way.

@objc public protocol EFColorSelectionViewControllerDelegate: NSObjectProtocol {

    // Tells the data source to return the color components.
    // @param colorViewCntroller The color view.
    // @param color The new color value.
    func colorViewController(colorViewCntroller: EFColorSelectionViewController, didChangeColor color: UIColor)
}
@EyreFree
Copy link
Member

Yes, EFColorPicker only works with Swift project now, and my Objective-C is not very proficient because I don't often use Objective-C. If it is convenient, can you make a PR to support Objective-C?

@nissaba
Copy link
Collaborator Author

nissaba commented Feb 26, 2018

I created a pull request with the modification I needed to do to have it work with OBJC.

@EyreFree
Copy link
Member

The PR has been merged, thanks for your work!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants