[已解决]swift中tableView中的cell的textLabel设置对齐
crifan 8年前 (2016-03-24) 2146浏览 0评论
已有代码: cell.textLabel?.text = "查看资料" cell.textLabel?.textColor = textColor ce...
工作相关的技术文章
crifan 8年前 (2016-03-24) 2146浏览 0评论
已有代码: cell.textLabel?.text = "查看资料" cell.textLabel?.textColor = textColor ce...
crifan 8年前 (2016-03-23) 3316浏览 0评论
[背景] 需要对于文本框来说,超过11位之后,就不允许继续输入了 搜: swift textfield input change swift textfield input change not allow ios – Allow onl...
crifan 8年前 (2016-03-22) 5542浏览 0评论
swift中需要将一个浮点数double格式化为2位小数点的字符串 swift double format string 2 point iphone – Round double value to 2 decimal places ...
crifan 8年前 (2016-03-22) 1960浏览 0评论
用: //given an image, clip the round corner, return a round corner image func drawCornerImage(image:UIImage, cornerRadius:C...
crifan 8年前 (2016-03-22) 4278浏览 0评论
想要实现: 即,label文字的上下和左右,都和边框间距8px=4point swift uilabel text padding ios – Adding space/padding to a UILabel (Swift) R...
crifan 8年前 (2016-03-21) 2890浏览 0评论
代码: class ImageBubbleView: UIView { static var refreshImgToken:dispatch_once_t = 0 func doItOnce() { di...
crifan 8年前 (2016-03-21) 3827浏览 0评论
需要实现只运行一次 swift dispatch_once Example of using dispatch_once() in Swift Using a dispatch_once singleton model in Swift –...
crifan 8年前 (2016-03-20) 2113浏览 0评论
之前是把代码放到google code上的,现在打算换到OSChina的git上。 播放和下载songtaste歌曲 Google Code Archive – Long-term storage for Google Cod...
crifan 8年前 (2016-03-20) 2195浏览 0评论
E:\Dev_Root\js\CrifanSongtastePlayer>git ‘git’ 不是内部或外部命令,也不是可运行的程序 或批处理文件。 需要在windows下安装git环境,命令行,不是图形界面...
crifan 8年前 (2016-03-20) 4020浏览 0评论
之前: E:\Dev_Root\svn_dev_root>tracert www.crifan.com 通过最多 30 个跃点跟踪 到 www.crifan.com [139.162.21.142] 的路由: 1 1 ms...