Suppose I have a class like this:
class person{
}
I need to implement a policy to check my code and warn me using camel case for my class name (use Person instead of person) How can I do it in Swift?
Suppose I have a class like this:
class person{
}
I need to implement a policy to check my code and warn me using camel case for my class name (use Person instead of person) How can I do it in Swift?
Copyright © 2021 Jogjafile Inc.
I think you make use of
SwiftLintfor all kinds of Coding guidelines and you can set rules in yourymlfile, Please refer to SwiftLint for more detailsAs an example, the
ymlfile looks like,