Skip to content

How to pass optional URL to Kingfisher 6's new KF shorthand? #1614

Answered by onevcat
dhritzkiv asked this question in Q&A
Discussion options

You must be logged in to vote

Umm, it is a trade-off between strictness and flexibility. The reason is I was receiving a bunch of issues that complains the image is not loaded. And at last, I have to ask them to check whether the URL is nil or not again and again.

But on the other hand, I guess yes, you are right on it. In this particular case, flexibility is more important.

Converting a non-optional parameter to an optional one does not break the current API and I guess I can do it very soon. Stay tuned!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@onevcat
Comment options

Answer selected by dhritzkiv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants