摘要: 1、TextView放在一个NSScrollView中,作为documentView存在。 @IBOutlet weak var txtScrollView: NSScrollView! 2、在TextView中写入字符串 self.txtScrollView.documentView?.setSt 阅读全文
posted @ 2016-04-25 10:11 庭庭小妖 阅读(2633) 评论(0) 推荐(0) 编辑