How to map the icon name to the library's enum?
klwoon opened this issue · 2 comments
klwoon commented
ranesr commented
@klwoon Unfortunately, there is no direct mapping. The only reason why there is no direct mapping for examples like 5-star-hotel
is because Apple
does not allow to start case values for enum with an integer. Also, Apple
does not allow keywords to be case values for enum. All the other icons should be mapped to there icon name.
klwoon commented
Thanks for the reply, this library is great!