Code Monkey home page Code Monkey logo

ayvibrantbutton's People

Contributors

a1anyip avatar evildime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ayvibrantbutton's Issues

Won't compile

Won't compile due to

 @import UIKit

it needs to be

  #import <UIKit/UIKit.h>

Pixelated Button

Hello! I implemented this library but it looks like certain fill versions of the button come out pixelated. Any thoughts on why?

screen shot 2016-05-08 at 5 38 47 pm

screen shot 2016-05-08 at 5 39 05 pm

Inheriting UIControl doesn't work...

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?

你好,这个导入项目用不了。。

  • (void)setCornerRadius:(CGFloat)cornerRadius {
    _cornerRadius = cornerRadius;
    [self.buttons.firstObject setCornerRadius:cornerRadius];
    [self.buttons.lastObject setCornerRadius:cornerRadius];
    }
    在这里会报错!

Font, title, and title color are not in line with UIButton behavior

AYVibrantButtons are gorgeous, but the non-standard button attributes are a huge drawback. Rather than an AYVibrantButton being a drop-in replacement for a UIButton, users must set the font, title, and title color properties in alternate ways. Worse, because of UIButton's default Auto Layout behavior, I end up having to set these attributes in BOTH the AYVibrantButton ways and the UIButton ways in order to get proper sizing behavior. I end up with code like this:
screen shot 2014-08-18 at 3 47 38 pm

It would be great if AYVibrantButton pulled these properties from the UIButton's standard implementation rather than providing its own, alternate properties.

Invert style not working in ios 8

Hi there,
Pretty self-explanatory. But when I try using the invert style for a button, it doesn't work in ios8. Any ideas?
I tried removing the code for ios8 but unfortunately that also removes the title of the button itself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.