swift 字符转为类,代码创建控件
摘要:在使用类之前要先获得 命名空间 通过json来获取 字符型的类名 然后创建类对象,这时候就要用到字符转类 // 从info字典中获取到 命名空间 转为字符型 let NS = NSBundle.mainBundle().infoDictionary!["CFBundleExecutable"] as
阅读全文
posted @ 2016-02-29 20:50
posted @ 2016-02-29 20:50
posted @ 2016-02-29 20:24
posted @ 2016-02-19 19:37
posted @ 2016-02-19 17:58