For example:
[[FlyoutTableViewController alloc] initWithViewControllers:@[@[firstNavigationController],@[secondNavigationController]]];
- (id)initWithViewControllers:(NSArray *)viewControllers
I know it's sending a NSArray of these view controllers to initWithViewControllers, but I want to know more about this way of creating arrays. What are the benifits, any potential issues etc?
Also, do the objects, firstNavigationController and secondNavigationController need to be inside the @[ too, or what's going on there?
TIA