Hi just stated to use the ComponentKit library given from facebook
and i have been going through all their documentation but i could not find how to use their CKComponentController class.
Like how to push a view controller and about the navigation of various view controllers.
if any of you are aware of how to use the CKComponentController please let me know
i'm a bit stuck due to less documentation
Thank You. Imran.
Our usual approach is to pass an object with a weak reference to the navigation controller as the "context" object that is passed to the top-level component.
Be sure it's a weak reference or you'll end up with a retain cycle!
As for accessing it in the component controller, expose the context object as a property on your component and then read that property off of
self.component.