Simple Passing of variables between classes in Xcode

前端 未结 3 1525
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-18 11:27

I am trying to do an ios app but I am stuck at passing data between classes . This is my second app . The first one was done whit a global class , but now I need multiple cl

3条回答
  •  一生所求
    2020-12-18 12:19

    The problem you face is quite perplexing for beginners. "Solving" it wrong way can result in learning a ton of bad habits.
    Please have a look at Ole Begemann's excellent tutorial on Passing Data Between View Controllers - it's really worth reading.

提交回复
热议问题