Skip to content
New issue

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

Fixes last force cast. #43

Merged
merged 2 commits into from
Oct 5, 2015
Merged

Fixes last force cast. #43

merged 2 commits into from
Oct 5, 2015

Conversation

RamonGilabert
Copy link
Contributor

No description provided.

let image = UIImage(named: name, inBundle: bundle, compatibleWithTraitCollection: traitCollection)

return image!
if let image = UIImage(named: name, inBundle: bundle, compatibleWithTraitCollection: traitCollection) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But what about 💂‍♂️ ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return UIImage(named: name, inBundle: bundle, compatibleWithTraitCollection: traitCollection) ?? UIImage()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

zenangst added a commit that referenced this pull request Oct 5, 2015
@zenangst zenangst merged commit 627f88a into master Oct 5, 2015
@zenangst zenangst deleted the fix/flash branch October 5, 2015 11:48
@zenangst
Copy link
Contributor

zenangst commented Oct 5, 2015

@RamonGilabert 🍕

@RamonGilabert
Copy link
Contributor Author

😮

@zenangst
Copy link
Contributor

zenangst commented Oct 5, 2015

Don't worry, its crustless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants