GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.pmd-code.org — Best Practices | PMD Source Code Analyzer
Release date: 28-December-2026
Best PracticesRules which enforce generally accepted best practices.
Table of ContentsProhibitedInterfaceBuilderSince: PMD 7.0.0 Priority: Medium High (2) Creating views using Interface Builder should be avoided. Defining views by code allows the compiler to detect issues that otherwise will be runtime errors. It’s difficult to review the auto-generated code and allow concurrent modifications of those files. Consider building views programmatically. This rule is defined by the following XPath expression: Example(s): Use this rule by referencing it: UnavailableFunctionSince: PMD 7.0.0 Priority: Medium (3) Due to Objective-C and Swift interoperability some functions are often required to be implemented but aren’t really needed. It is extremely common that the sole implementation of the functions consist of throwing a fatal error. Marking these functions as unavailable prevents them from being executed while still making the compiler happy. This rule is defined by the following Java class: net.sourceforge.pmd.lang.swift.rule.bestpractices.UnavailableFunctionRule Example(s): Use this rule by referencing it: |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |