ios traditional values

1. timeliness pass value

(1) Agent

(2) Block custom handler: (void (^) (UIAlertAction * action)) handler

(3) notification (to be removed in the dealloc)

2. Non-timely transfer value

(1)AppDelegate传值

Obtained AppDelegate the object after the operation can myText property value assigned or completion operations

 Since this is a non-timely manner by value by value of refresh complete view through code

(2) Singleton

Reproduced in: https: //www.jianshu.com/p/247779ec608f

Guess you like

Origin blog.csdn.net/weixin_34075268/article/details/91111044