52inc / Pulley

A library to imitate the iOS 10 Maps UI.
https://cocoapods.org/pods/Pulley
MIT License
2.02k stars 265 forks source link

[Objective-c] Cant access to primaryContentViewController #378

Open carVaba opened 4 years ago

carVaba commented 4 years ago

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 commented 4 years ago

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

lechium commented 3 years ago

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