abm-adnan / Radar

iOS Radar view similar to LOVOO app
https://github.com/abm-adnan/Radar
MIT License
63 stars 19 forks source link

Image in dot #2

Open ivandiazmolina opened 8 years ago

ivandiazmolina commented 8 years ago

Is possible set image instead of dot?

abm-adnan commented 8 years ago

Hey ivandiazmolina,

Yes, it's possible to use image instead of dot. Inside the View folder there is Dot.h file: https://github.com/abm-adnan/Radar/blob/master/Radar/Views/Dot.h

@interface Dot : UIView {

}

The Dot inherits UIView, you can change it to inherit from UIImageView and set any UIImage to it's image property.

That should work! :+1:

ivandiazmolina commented 8 years ago

thanks you so much! :+1: