码迷,mamicode.com
首页 > 移动开发 > 详细

Swift开发教程--如何在别的类中调用AppDelegate中的方法

时间:2015-08-25 14:15:56      阅读:121      评论:0      收藏:0      [点我收藏+]

标签:swift   开发   教程   代码   ios   

((UIApplication.sharedApplication().delegate) as! AppDelegate).xxxmethod();

版权声明:本文为博主原创文章,未经博主允许不得转载。

Swift开发教程--如何在别的类中调用AppDelegate中的方法

标签:swift   开发   教程   代码   ios   

原文地址:http://blog.csdn.net/wanglixin1999/article/details/47975787

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!