Creating a segue programmatically

前端 未结 13 1093
名媛妹妹
名媛妹妹 2020-11-22 12:41

I have a common UIViewController that all my UIViewsControllers extend to reuse some common operations.

I want to set up a segue on this \"

13条回答
  •  春和景丽
    2020-11-22 13:23

    I reverse-engineered and made an open source (re)implementation of UIStoryboard's segues: https://github.com/acoomans/Segway

    With that library, you can define segues programmatically (without any storyboard).

    Hope it may help.

提交回复
热议问题