Passing variables to different view controllers

后端 未结 5 809
有刺的猬
有刺的猬 2021-01-14 22:01

I\'ve searched and searched but nothing has really worked.

I\'m trying to set a textvalue from a text box, into a string or whatever, so that I can call it up later

5条回答
  •  灰色年华
    2021-01-14 22:49

    Spend some time trying to grok the Model View Controller pattern.

    In your case you may be looking to share data between different views sharing a common Model. The Model is the store of your data, in your case the textvalue.

提交回复
热议问题