Vincent Le
Vincent Le

Reputation: 136

Importing cocoapod in example project

I'm trying to test the cocoapod I am currently developing in the example project but I am having issues getting some objects in the cocoapod in the example project.

Here is the repository for the cocoapod https://github.com/vinnyoodles/DualSlideMenu

And the error I am getting is in the AppDelegate.swift AppDelegate.swift

It does not give me errors when I am importing the cocoapod, but I cannot access the class that I am using.

I am not getting any errors when inheriting my view controller classes in the storyboard, however. Storyboard

Upvotes: 0

Views: 122

Answers (1)

tomahh
tomahh

Reputation: 13661

You need to mark DualSlideMenuViewController as public in the pod's code.

public class DualSlideMenuViewController {
    // ...
}

Upvotes: 2

Related Questions