Popularity
5.0
Growing
Activity
0.0
Stable
303
14
78

Code Quality Rank: L5
Programming language: Objective-C
Tags: UI     Button    

VCFloatingActionButton alternatives and similar libraries

Based on the "Button" category

Do you think we are missing an alternative of VCFloatingActionButton or a related project?

Add another 'Button' Library

README

VCFloatingActionButton

A Floating Action Button inspired from Google inbox for iOS.

Using this in your project

  • Import the VCFloatingActionButton to your project
  • Use VCFloatingActionButton.h

Initialize the button and add it as a subview

VCFloatingActionButton *addButton = [[VCFloatingActionButton alloc]initWithFrame:floatFrame normalImage:[UIImage imageNamed:@"plus"] andPressedImage:[UIImage imageNamed:@"cross"] withScrollview:_dummyTable];

Add Images and label names for the actions

addButton.imageArray = @[@"fb-icon",@"twitter-icon",@"google-icon",@"linkedin-icon"];
addButton.labelArray = @[@"Facebook",@"Twitter",@"Google Plus",@"Linked in"];

Add Optional hide while scrolling

addButton.hideWhileScrolling = YES;

Use Delegate to handle actions

-(void) didSelectMenuOptionAtIndex:(NSInteger)row

P.S: This was done in a short time, please feel free to contribute

License

MIT License


*Note that all licence references and agreements mentioned in the VCFloatingActionButton README section above are relevant to that project's source code only.