帮忙把两句 OC 代码翻译成swift

iOS 码拜 8年前 (2016-03-30) 1378次浏览
CGSize textSize = [self.text sizeWithAttributes:@{NSFontAttributeName : self.font}];
CGRect textRect = (CGRect){0, 0, textSize};
快整哭了帮忙把两句 OC 代码翻译成swift
解决方案

20

self.textColor.set()

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明帮忙把两句 OC 代码翻译成swift
喜欢 (0)
[1034331897@qq.com]
分享 (0)