Swift编程
RaleighLuo
-----------------------------------------------------
展开
-
Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the desi
Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set? 这是因为给你的StoryBoard没有设置默认显示的controller, 解决方法:转载 2015-08-07 11:20:52 · 493 阅读 · 0 评论 -
iOS 字符属性NSAttributedString描述
/* 字符属性 字符属性可以应用于 attributed string 的文本中。 NSString *const NSFontAttributeName;(字体) NSString *const NSParagraphStyleAttributeName;(段落) NSString *const NSForegrou转载 2016-01-20 11:19:59 · 353 阅读 · 0 评论 -
Swift基础--手势识别(双击、捏、旋转、拖动、划动、长按)
[objc] view plain copy print? // // ViewController.swift // JieUITapGestureRecognizer // // Created by jiezhang on 14-10-4. // Copyright (c) 2014年 jiezhang. All right转载 2016-01-22 14:11:33 · 640 阅读 · 0 评论 -
Swift 语法小结
Swift 语法小结 1. Optional 就是枚举 An Optional is just an enum enum Optional{ case None case Some(T) } 2.Array的声明 var a=Array() var a=[String]() let原创 2015-08-03 17:52:28 · 4471 阅读 · 0 评论