I'm trying to send information between classes and ViewControllers. I've looked at protocols and delegates as a way of achieving this but, it seems I need a segue between the viewcontrollers to access the delegate. I'm not using a storyboard so I can't create a segue, as such I have two questions:
Can I create a segue programmatically between two view controllers? If so, how do I do that?
Additionally, if I have two classes in the same viewController and I would like to access data from one to the other, is using protocols and delegates the best method to achieve this or is NSNotificationcenter a better option?
presentViewController:animatedor similar - Paulw11prepareForSegue. You can just set the delegate directly - Paulw11