How to passing a NSMutableArray to another ViewController class

前端 未结 4 1683
南方客
南方客 2021-01-15 05:23

I have created NSMutale Array in \"HeroListViewController\". I want use it in another viewController which is MapTutorialViewController. I

4条回答
  •  一生所求
    2021-01-15 05:56

    This would only work if you create and fill the mutable array in the init method.

    You should look into delegation and/or notification.

提交回复
热议问题