我想使用NSMutableAttributedString在CATextLayer上绘制包含文本的文本。let str = "I want to use NSMutableAttributedString to draw the text on the CATextLayer with the text.self.contentView.layer.addSublayer(contentLayer)
func initTextLayer(title: String, andFontSize size: CGFloat) -> CAT