【已解决】iOS中attributedText和普通的text有何区别
crifan 9年前 (2015-10-28) 3576浏览 0评论
uitableview – Swift: Auto layout and table view cells with dynamic heights – Stack Overflow -》 preferredMaxLayout...
在路上on the way - 走别人没走过的路,让别人有路可走
crifan 9年前 (2015-10-28) 3576浏览 0评论
uitableview – Swift: Auto layout and table view cells with dynamic heights – Stack Overflow -》 preferredMaxLayout...
crifan 9年前 (2015-10-28) 2643浏览 0评论
需要将Objc的枚举: typedef NS_ENUM(NSInteger, XHBubbleMessageMediaType) { XHBubbleMessageMediaTypeText = 0, XHBubbleMessage...
crifan 9年前 (2015-10-28) 2422浏览 0评论
把iPhone6,通过lighting数据线,连接到Mac中 Mac中自动打开: 然后就可以在 照片 中看到iPhone6中的,刚刚截图的,照片了: ...
crifan 9年前 (2015-10-28) 9450浏览 1评论
代码: import UIKit class MessageBubbleView: UIView { overrideinit(frame: CGRect, message:Message) { self.message ...
crifan 9年前 (2015-10-28) 1873浏览 0评论
Swift编程入门_电子书免费在线阅读_百度阅读 还是有空看看: Welcome-to-Swift/TheSwiftProgrammingLanguage中文手册.md at master · CocoaChina-editors/Welcome-t...
crifan 9年前 (2015-10-27) 4077浏览 0评论
折腾: [部分解决]Swift中如何让UITableViewCell中只给显示出来的文字的区域添加背景色 期间,还是先去解决: 现在是手动设置的固定的cell的高度。 如何根据要显示的文字,单行的,多行的等待, 去动态的计算cell的高度。 ...
crifan 9年前 (2015-10-27) 3910浏览 0评论
代码: cell.textLabel?.lineBreakMode = UILineBreakModeWordWrap 出错: Use of unresolved identifier ‘UILineBreakModeWordWr...
crifan 9年前 (2015-10-27) 3093浏览 0评论
折腾: [部分解决]Swift中如何让UITableViewCell中只给显示出来的文字的区域添加背景色 期间,决定还是应该: 先去确保文字可以正常显示,而不是被截断了: 希望可以实现,要显示的文字,自动适配,可以多行显示。 [折腾过...
crifan 9年前 (2015-10-27) 2797浏览 0评论
折腾: [记录]Swift实现类似于微信的聊天对话框窗口 期间,已经实现: 当前行,整个的添加了背景色: 现在需要: 对于UITableViewCell中显示出来的text的部分,添加背景色。 搜: swift uitableviewcell...
crifan 9年前 (2015-10-27) 3119浏览 0评论
[记录]Swift实现类似于微信的聊天对话框窗口 期间,用代码去设置cell的背景色: func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSInd...