chrisdhaan / CDYelpFusionKit

An extensive Swift wrapper for the Yelp Fusion API.
MIT License
54 stars 18 forks source link

Stars Image doesn't work #16

Open Hsanka6 opened 5 years ago

Hsanka6 commented 5 years ago

ℹ Please fill out this template when filing an issue. All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag cdyelpfusionkit.

Please remove this line and everything above it before submitting.

What did you do?

star.image = UIImage.yelpStars(numberOfStars: .two, forSize: .regular)

What did you expect to happen?

I expected to get an image with stars

What happened instead?

No star image was populated

CDYelpFusionKit Environment

CDYelpFusionKit version:
Xcode version:10.1 Swift version:4 Platform(s) running CDYelpFusionKit:ios simulator iphone xr macOS version running Xcode: mojave

Demo Project

https://github.com/Hsanka6/FoodiesApp

chrisdhaan commented 5 years ago

@Hsanka6 I'll look into this

chrisdhaan commented 3 years ago

@Hsanka6 I just updated the example and ran it locally with two and regular and the image rendered fine:

https://github.com/chrisdhaan/CDYelpFusionKit/blob/master/Example/Source/ViewController.swift#L52

Are you still experiencing this issue? I think it may be related to your project.