52inc/Pulley

[Objective-c] Cant access to primaryContentViewController

carVaba opened this issue · 2 comments

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

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

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