a1anyip / AYVibrantButton

A stylish button with iOS 8 vibrancy effect
MIT License
1.14k stars 67 forks source link

Inheriting UIControl doesn't work... #18

Closed josefdlange closed 8 years ago

josefdlange commented 8 years ago

When inheriting UIControl, you don't have these methods to call, so compilation fails:

self.font = self.titleLabel.font;
self.icon = [self imageForState:UIControlStateNormal];
self.text = [self titleForState:UIControlStateNormal];

You'll probably want to figure that out... unless something about my build settings is screwing it up?

josefdlange commented 8 years ago

Egad! I was working off a bad fork, not your repo. My bad!