Let's say I'm creating a workout app and need to let the user to create new workouts and exercises.
We'll get the following view controllers: Workouts -> New Workout -> Choose existing or Create new -> Create a new workout -> Choose exercises or Create new -> Create a new exercise -> Sets & Reps.
The user should be able to go back and forth between those views while creating a new workout. So the workout parameters should be saved somewhere temporary until the user is happy with everything and clicks "Save workout" button which finally saves it to sql database/coredata.
Should I be passing workout parameters between views using segues and delegates or should I create and use "NewWorkout" and "NewExercise" singletons here? Will singleton approach work fine if my user needs to create another workout? Can I just destroy the first instance and create a new one?
I've already started with segues and it's a mess. Want to refactor my code until it's not too late.