What are the advantages and disadvantages of creating following function in a project:
@warn_unused_result
public func NSLocalizedString(key: String) -> String {
return NSLocalizedString(key)
}
Mostly, we fill NSLocalizedString
like this: NSLocalizedString("somekey", comment: "")
. Therefore, the code would be more readable, but are there any tools that could be not used, or any other problems we are not aware of?