GithubHelp home page GithubHelp logo

mikeahmarani / maconfirmbutton Goto Github PK

View Code? Open in Web Editor NEW
457.0 457.0 82.0 193 KB

MAConfirmButton is an animated subclass of UIButton that replicates and improves upon the behavior of the AppStore “Buy Now” buttons. Built and animated with Core Animation layers, it is completely image free.

License: Other

Objective-C 100.00%

maconfirmbutton's People

Contributors

caoer avatar chocochipset avatar mikeahmarani 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

maconfirmbutton's Issues

UIColor-Expanded Category Method in primary class

In the UIColor-Expanded category class that comes with the project I noticed a warning that says: Category is implementing a method which will also be implemented by its primary class.

Can you make this a subclass instead or how should I resolve this and make the warning disappear?

Regards/
Jacob Lindgren

Red status bar

Hello,
when I import MAComfimButton library my statusbar on the iPhone turns red.
Can I avoid this behavior?

Tapping quickly causes crash

Has anyone else experienced any crashes from this if tapping quickly?
I use the button for buying objects in a game and if you tap quickly to buy more and more, it eventually crashes with this error:
*** -[MAConfirmButton performSelector:withObject:withObject:]: message sent to deallocated instance 0x1e04afd0

Triple Tapping or more in button has unexpected behaviour

When triple tapping or more in button, then click outside of the button will make unexpected behaviour

I think it's because the cancelOverlay added more than once

I try to add this code before adding cancelOverlay button in touchesEnded function and it runs well :
if(cancelOverlay!=nil){
[cancelOverlay removeFromSuperview];
cancelOverlay = nil;
}

Method to change titles?

I am trying to add this to a subclassed UITableViewCell. I add the button in initWithCoder and set a temp title.
Now in cellForRowAtIndexPath I need to set the title depending on the row. Is there a method to change the title of the buttons once they've been created?

Thanks

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.