【发布时间】:2018-08-04 13:49:39
【问题描述】:
如何解决线路长度违规问题?
由于行长违规而不允许的警报消息的相关部分:message: NSLocalizedString("\nYou will be requested to Use %@ to Sign In. %@ doesn't share any information about you. The permission is required to post your Live Video.", ⚠ 行应为 120 个字符或更少:当前为 208 个字符 (line_length)
【问题讨论】:
-
这看起来像一条 SwiftLint 消息。
-
@rmaddy 是的,但不知道如何解决它
-
好吧,缩短行或禁用警告(在github.com/realm/SwiftLint/blob/master/… 明确解释)
-
@matt 同样的方式,这个问题似乎很难理解,但马丁确实回答了它