Inspectopedia Help

Redundant attribute

Reports usages of the @objc attributes on declarations that already have an inferred @objc attribute.

Suggests removing redundant @objc and @nonobjc.

Example:

@objc class C : NSObject { }

After the quick-fix is applied:

class C : NSObject { }

Inspection Details

Available in:

AppCode 2023.3

Plugin:

Swift Language Support, 233.SNAPSHOT

Last modified: 13 July 2023