Segue between controllers on directly connected

Here is my situation. I have some common processing code (function) in ViewController - this is common code that other view controllers will call . It all works geeat as long as the VC2 and VC3 are directly wired to the ViewController.

Is there a way to use segue for viewcontrollers that are not directly wired to each otherin the storyboard?

Help please!

Since your question is really about the Apple AppKit/UIKit frameworks, you should ask this on the Apple developer forums, or on something like Stack Overflow. These forums only deal with the Swift language and related projects.