ios - Assertion failure Custom Segue -
I'm trying to work with Edge swipe display classes created by Robert Ryan
When I was using it I changed the controller with the new controller, which showed me an error on the NASSassar line
Here Edge SweepSave M code is
@implementation EdgeSwipeSegue - (zero) display {UIViewController * source = self.sourceViewController; Id & lt; ParentControllerDelegate & gt; Parent = (id) source.parentViewController; If (guardian == blue) {nslog (@ "parent is zero"); } NSAssert ([Parents conformsToProtocol: @protocol (ParentControllerDelegate)], @ "Parents do not regulate parents; parents =% @", guardian); [Guardian PushBold VUI Controller: Self Distinction Visual Controller]; } I have a barbut, on which I pull the second view controller and choose Seag on the edge, but maybe I'm missing something
Why fail this ??
Let's try:
// I think your Near NewViewController // has NewViewController. H @ interface newview controller: UIViewController & lt; ParentControllerDelegate & gt; // in NewViewController.m: Just ParentControllerDelegate the method is implemented
Comments
Post a Comment