阅读背景:

Swift:使用完成处理程序通知另一个视图控制器

来源:互联网 

I have 2 ViewControllers in my app. One of them named vcA is using a method (here viewDidLoad) to talk to my networking layer (a class in my app). After finishing the networking job (which will be inferred by a completion handler) I want to notify class vcB to call a method to get some data which is provided by networking layer. Please take a look at below sudo code :I have 2 ViewControllers in my app. One of them




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: