标签:appdelegate swift shareapplication delegate ios
直接上代码:
var myDelegate:AppDelegate? myDelegate = UIApplication.sharedApplication().delegate as? AppDelegate
OC中APPDelegate[[UIApplication shareApplication]delegate]]Swift实现,布布扣,bubuko.com
OC中APPDelegate[[UIApplication shareApplication]delegate]]Swift实现
标签:appdelegate swift shareapplication delegate ios
原文地址:http://blog.csdn.net/zhiwei_qin/article/details/30048097