Swift - Deprecating a Renamed Function

To deprecate a renamed function that takes no arguments:

@available(*, deprecated, renamed: "reloadData")
func updateData() { }

func reloadData() { }

Or to deprecate a renamed function that takes arguments:

@available(*, deprecated, renamed: "reloadData(updatedUI:)")
func updateData() { }

func reloadData(updateUI: Bool) { }