RxSegue
RxSegue copied to clipboard
Apple internal Segue
Is there a way to support Apple's internal storyboard segue mechanism?
I was thinking maybe using swizzling and temporary associatedObject this would be possible to use storyboard's segues...
any ideas?
You'd have to use swizzling which in general I'd be very against. Swinject does something similar to deal with Storyboard instantiation but I wouldn't personally want to do it in this case.
I hate swizzling too, and generally i don't like apple's segue mechanism too, but using segues you can take advantage of 3dTouch, and things like that. the thing is, doing the whole process of performSegue and prepareForSegue should be done agnostically to the developer in that case I'm personally a fan of swizzling due to make it flawless for every other part in the project. but that was just an idea...