摘要: var btn = UIButton(frame: CGRect(x: 200, y: 200, width: 100, height: 100)) btn.setTitle("jicheng", forState: UIControlState.Normal) //btn.setTitleColo 阅读全文
posted @ 2016-05-12 17:50 、有妖气 阅读(634) 评论(0) 推荐(0) 编辑
摘要: func stringmid_pl (wholestring:String,front:String,behind:String,inout return_string:String,getheroid:Bool) { //数组参数inout // var whole_tmp:String = wh 阅读全文
posted @ 2016-05-12 17:43 、有妖气 阅读(322) 评论(0) 推荐(0) 编辑
摘要: func stringmid (wholestring:String,front:String,behind:String)->String { if wholestring.isEmpty { return("") //wholestring 不能为nil }else { var whole:NS 阅读全文
posted @ 2016-05-12 17:42 、有妖气 阅读(154) 评论(0) 推荐(0) 编辑