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

Access to GuillotineMenuViewController #13

Closed
glancashire opened this issue Aug 27, 2015 · 2 comments
Closed

Access to GuillotineMenuViewController #13

glancashire opened this issue Aug 27, 2015 · 2 comments

Comments

@glancashire
Copy link

Dear Yalantis

Thanks for your excellent control.

I have integrated it into my Swift Project. However the compiler complained that GuillotineMenuViewController is undeclared.

To be able to compile successfully, I had to change the access in GuillotineMenuViewController.swift to public, e.g.

public class GuillotineMenuViewController: UIViewController {

instead of

class GuillotineMenuViewController: UIViewController {

In addition some of the routines and properties should also be public.

Kind Regards
Graham

@Aymenworks
Copy link

Hello. I didn't encountered this problem.
Maybe you forgot to add the Guillotine menu in your target ?
Try to click on the swift files and in the File Inspector ( left in Xcode ), see if he target is checked

@glancashire
Copy link
Author

I have used cocoapods to integrate it and it is a swift project, so target etc should be set correctly.
Maybe it is the combination of cocoapods + swift that causes problems.

However by putting public it is easy to fix.

kind regards
graham

This issue was closed.
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