i have view controller contains table view displays list of items. each item contains list of items (or leaf).
to drilldow list items, create show/push segue, kinda in recursively way, seem not able draw manual segue view controller itself?
is supported?
i playing around after leaving first comment - don't think can have manual segue same view controller!
the best thing give view controller storyboard identifier (e.g selection , create instance of view controller (in swift):
let subcategoryvc = storyboard.instantiateviewcontrollerwithidentifier("selection") as! selectionviewcontroller or in objective-c:
selectionviewcontroller *subcategoryvc = (selectionviewcontroller *) [self.storyboard instantiateviewcontrollerwithidentifier:@"selection"]; (docs uistoryboard.instantiateviewcontrollerwithidentifier:)
you put in table view section method along manual segue leaf view controller.
(the code above assumes view controller table view called selectionviewcontroller!)
Comments
Post a Comment