exyte / fan-menu

Menu with a circular layout based on Macaw
MIT License
728 stars 58 forks source link

Receiving warning: CUICatalog: Invalid asset name supplied: '' #10

Closed jtressle closed 6 years ago

jtressle commented 6 years ago

When an image string is left blank (like in the TaskViewController example), one gets the warning:

CUICatalog: Invalid asset name supplied: ''

Easy fix is to add:

if (!button.image.isEmpty) {...}

around the two places an UIImage is loaded.

Thanks!

zapletnev commented 6 years ago

Thanks for reporting @jtressle. The issue is fixed in the master branch.

alanjturn commented 2 months ago

how can I find the line of code in my project that is giving this error? Is there a way to do this using the console?