Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find an initializer for type in Swift #19

Closed
sanarroya opened this issue Aug 28, 2015 · 2 comments
Closed

Cannot find an initializer for type in Swift #19

sanarroya opened this issue Aug 28, 2015 · 2 comments

Comments

@sanarroya
Copy link

Hi Im using Context-Menu.iOS in my swift proyect but i get an error when i try to initialize it:

let contextMenuTableView = YALContextMenuTableView(tableViewDelegateDataSource: self)

and the error message:

Cannot find an initializer for type 'YALContextMenuTableView' that accepts an argument list of type '(tableViewDelegateDataSource: ImageEditing -> () -> ImageEditing)'

Thanks

@EgorSobko
Copy link
Contributor

@sanarroya Hi, please make sure you have implemented all protocols for delegateDataSource object

@maximletushov
Copy link
Contributor

delegateDataSource must conform to UITableViewDelegate and UITableViewDataSource protocols

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

No branches or pull requests

3 participants