# Swift Rules

Index of all built-in rules available for Swift
Table of Contents

## Best Practices

Rules which enforce generally accepted best practices.

- ProhibitedInterfaceBuilder: Creating views using Interface Builder should be avoided. Defining views by code allo…
- UnavailableFunction: Due to Objective-C and Swift interoperability some functions are often required to be implemented…

## Error Prone

Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors.

- ForceCast: Force casts should be avoided. This may lead to a crash if it’s not used carefully. F…
- ForceTry: Force tries should be avoided. If the code being wrapped happens to raise and exception, our appl…

Tags: rule_references