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

[Objective-c] Cant access to primaryContentViewController #378

Open
carVaba opened this issue Mar 23, 2020 · 2 comments
Open

[Objective-c] Cant access to primaryContentViewController #378

carVaba opened this issue Mar 23, 2020 · 2 comments

Comments

@carVaba
Copy link

carVaba commented Mar 23, 2020

I try to perform a segue on Objective-C but i can't get access to variable primaryContentViewController, so I made an extension

MyPrimary *primaryViewController = [vc getPrimaryViewController];

primaryViewController.dato = dato;

extension PulleyViewController {
@objc
func getPrimaryViewController() -> UIViewController! {
return primaryContentViewController
}

@objc
func getDrawerViewController() -> UIViewController {
	return drawerContentViewController
}

}

But I like to know if there is another solution without the extension

@amyleecodes
Copy link
Contributor

Objective-C is not officially supported by Pulley. As a result, I'm not sure what works/doesn't work.

@lechium
Copy link

lechium commented Oct 15, 2020

there is a pure obj-c port that is practically 1:1 that i wrote for my company if you are interested in using that

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