07 2016 档案

摘要:iOS & Swift新旧版本更替, 在Apple WWDC大会开始之际, 也迎来了iOS 10.0, Swift 3.0 测试版, 到目前为止, 已经是测试版2.0, 每次更新都带来了新的语法变化, Swift更加简洁, 但是Xcode 越发不给力, 输出变本加厉, NSLog 一如既往的不好使, 阅读全文
posted @ 2016-07-11 22:51 _init 阅读(314) 评论(0) 推荐(0)
摘要:1. 黄色的文件夹,打包的时候,不会建立目录,主要保存程序文件 - 素材不允许重名 2. 蓝色的文件夹,打包的时候,会建立目录,可以分目录的存储素材文件 - 素材可以重名 - 游戏的场景,background.png[草地/雪地/高山/坟墓] - 手机应用的皮肤:白天/夜间模式 - 切忌:不要把程序 阅读全文
posted @ 2016-07-10 20:46 _init 阅读(274) 评论(0) 推荐(0)
摘要:// 1> Attachment - 附件 NSTextAttachment *attachment = [[NSTextAttachment alloc] init]; attachment.image = [UIImage imageNamed:@"d_aini"]; // 提示 lineHei 阅读全文
posted @ 2016-07-10 20:43 _init 阅读(156) 评论(0) 推荐(0)
摘要:// 0> 图片附件 let attachment = NSTextAttachment() attachment.image = #imageLiteral(resourceName: "d_aini") let height = label.font.lineHeight attachment. 阅读全文
posted @ 2016-07-10 20:42 _init 阅读(635) 评论(0) 推荐(0)