How to refresh UIViewController programmatically?

后端 未结 4 1624
暗喜
暗喜 2021-01-14 20:08

I have a ViewController in which the user selects a card (a custom UIButton) out of a UIScrollView. I have intercepted the touch event selecting the card and identified it,

4条回答
  •  庸人自扰
    2021-01-14 20:24

    You can either let view controller observe your models or update your views manually.

    I'm not very clear about your question, what is still remaining on your view?

    For automatically update views when model changes, I suggest ReactiveCocoa.

提交回复
热议问题