This question already has an answer here:
I know that I can just change names, but is there another way to solve this?
class MyClass{
func print(_ string: String) {
// I'm trying to call a native print method.
// Results in error, because it's trying to do recursion.
print(string, terminator: ";")
}
}
For global Swift builtins you can call
Swift.whatever(argument)
, so in this case: