I'm trying to pass data forward and I am using storyboard but I can't use a segue because it will dismiss my initial view controller. What technique should I do to pass it forward without pushing my initial viewcontroller? I tried using storyboardID to initialize the destination viewcontroller but that does not work either.
Pass Data Forward Tips
I will try to clarify it more I'm using a button to add it to my another VC I call my favVC but the kicker is I don't want to push to my favVC. I have a separate button which will go to my favVC and push my initial VC.
That's not totally clear…
What is the problem with push ?
Did you consider using a modal segue for instance of a popover ?
Or embedding your first VC in a navigation controller ?
What do you mean ?without pushing my initial viewcontroller?
What is the problem with push ?
Did you consider using a modal segue for instance of a popover ?
Or embedding your first VC in a navigation controller ?
The issue with push is because I want to stay on the same initial screen. Like with facebook when you get a friend request and add a friend you don't go to your all friends section when you click add friend, you stay on the same screen as the friend request. That's what I want to do with adding to my favVC.
Honestly I think the only way to do it would be broadcasting with NotificationCenter.