Generic controller in swift 2.0 using storyboards

后端 未结 4 1774
名媛妹妹
名媛妹妹 2020-12-08 04:35

Im trying to create a GenericListController for my app.

I have a ProductListController that extend this generic controller which extends UIViewController. I have

4条回答
  •  情书的邮戳
    2020-12-08 05:27

    As a workaround you could just load your ProductListController into the ObjC runtime(i.e. AppDelegate?) before instantiating it with the Storyboard.

    ProductListController.load()
    

    Cheers

提交回复
热议问题