diff --git a/xcode/.swiftlint.yml b/xcode/.swiftlint.yml index e4491ca..7d61f29 100644 --- a/xcode/.swiftlint.yml +++ b/xcode/.swiftlint.yml @@ -235,7 +235,7 @@ custom_rules: addSubview_cell: name: "AddSubview cell" - regex: '\s*class\s*\w+Cell:.*|\s*((self\.)|\s)addSubviews?\(' + regex: '\s*class\s*\w+Cell:[\s\S]*func [\s\S]+(self\.|\s)add(Subv|V)iew(s)?\(' message: "Using addSubview or addSubviews incorrect" severity: error