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
SwiftLint
for all kinds of Coding guidelines and you can set rules in youryml
file, Please refer to SwiftLint for more detailsAs an example, the
yml
file looks like,