We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm in a swift proj, i can't call
let img = UIImage(named: "launch") Log(.View, .Debug, img)
xcode will tell error Cannot convert value of type 'UIImage?' to expected argument type 'String'
Cannot convert value of type 'UIImage?' to expected argument type 'String'
I find the func Log's argument format is type if @autoclosure () -> String, that means i should do img?.description to call Log ?
format
@autoclosure () -> String
img?.description
what should i do to call Log func with types like String but not like Any.description
String
Any.description
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm in a swift proj, i can't call
xcode will tell error
Cannot convert value of type 'UIImage?' to expected argument type 'String'
I find the func Log's argument
format
is type if@autoclosure () -> String
, that means i should doimg?.description
to call Log ?what should i do to call Log func with types like
String
but not likeAny.description
The text was updated successfully, but these errors were encountered: