Not sure about all the ways to use the @rename directive.
I'm trying to rename a method
@available(*, deprecated, renamed: "setValueInTable")
public func setValue(table: String, key: String, value: String, autoDeleteAfter: Date? = nil) -> Bool {
to:
public func setValueInTable(_ table: DBTable, for key: String, to value: String, autoDeleteAfter: Date? = nil) -> Bool
Using the directive gives me the warning, but the auto-fix doesn't handle the parameter names. Is there a way to format the directive so the auto-fix works properly for parameter name changes?