Giter Club home page Giter Club logo

alradial's Issues

How to reload radial menu like [tableview reloadData]

First off, I LOVE your menu! It is so phenomenally well written and so easy to plug and play! By far best radial menu out there in my opinion.

Second, I was curious if there is a way you can reload the view, like if I have a outer button that changes its image every time it gets tapped.

Help with icons being cut off

- (IBAction)buttonPressed:(id)sender {

    [self.socialMenu buttonsWillAnimateFromButton:sender withFrame:self.socialButton.frame inView:self.navigationController.view];
}

I set this to "self.navigationController.view" because it is in a table view and i need it to overlay it, not slide with it. The only thing is then this happens :
ios simulator screen shot 2013-05-17 11 25 19 am

See at the top, that is what is happening... Heres the rest of my code for ALRadcial..

- (UIImage *) radialMenu:(ALRadialMenu *)radialMenu imageForIndex:(NSInteger) index {
if (radialMenu == self.socialMenu) {
    if (index == 1) {
        return [UIImage imageNamed:@"Home"];
    } else if (index == 2) {
        return [UIImage imageNamed:@"Information"];
    } else if (index == 3) {
        return [UIImage imageNamed:@"Tutorial"];
    } else if (index == 4) {
        return [UIImage imageNamed:@"Feedback"];
    }
}

    return nil;
}


- (void) radialMenu:(ALRadialMenu *)radialMenu didSelectItemAtIndex:(NSInteger)index {
if (radialMenu == self.socialMenu) {
    [self.socialMenu itemsWillDisapearIntoButton:self.socialButton];
    if (index == 1) {
        NSLog(@"Home");
    } else if (index == 2) {
        UIViewController *second = [self.storyboard instantiateViewControllerWithIdentifier:@"Information"];

        [self.navigationController presentViewController:second animated:NO completion:nil];
        NSLog(@"Information");
    } else if (index == 3) {
        UIViewController *second = [self.storyboard instantiateViewControllerWithIdentifier:@"Tutorial"];

        [self.navigationController presentViewController:second animated:NO completion:nil];            NSLog(@"Tutorial");
    } else if (index == 4) {
        UIViewController *second = [self.storyboard instantiateViewControllerWithIdentifier:@"Feedback"];

        [self.navigationController presentViewController:second animated:NO completion:nil];            NSLog(@"Feedback");
    }
}

}

#pragma mark - radial menu delegate methods
- (NSInteger) numberOfItemsInRadialMenu:(ALRadialMenu *)radialMenu {
//FIXME: dipshit, change one of these variable names
if (radialMenu == self.socialMenu) {
    return 4;
}

return 0;
}


- (NSInteger) arcSizeForRadialMenu:(ALRadialMenu *)radialMenu {
if (radialMenu == self.socialMenu) {
    return 90;
}

return 0;
}


- (NSInteger) arcRadiusForRadialMenu:(ALRadialMenu *)radialMenu {
if (radialMenu == self.socialMenu) {
    return 80;
}

return 0;
}


- (void)viewDidLoad {
[super viewDidLoad];

self.socialMenu = [[ALRadialMenu alloc] init];
self.socialMenu.delegate = self;
}

Add support to cocoapods

Hi alattis:

It would be a great idea to support cocoapods, it's better to manage the dependencies.

Thanks!

Double tap

Double tapping the center icon or triple tapping while its still animating seems to throw it off

New Pod

Can you release a new cocoa pod with the recent changes?

Tap 2 button simultaneously

Respected Sir,

when i am tap 2 button like Facebook & Twitter simultaneously then buttons are hide but when i am once again tap on " + " Button it is not open Facebook, Twitter etc. Just " + " button is animate. So how can i solve this issue? Do needful.

Thanking You.

Pan gesture for ALRadial

Hi,

Thanks for great control, but I need to implement Pan Gesture into ALRadial . I can move it but when it move to another position then all satellite buttons not showing.
Could you show me how?

Thanks in advance.

Menu behaviour with over UITableView layout

Hey!
Thank you for the great component!
Please find time to answer...
I have UITableView on my view controller.
I put ALRadial menu over the UITableView.
When UITableView is static (non scrolling state) - menu works great.
But when I start to scroll table and press menu during scroll - there is animation delay occurred - only after scroll did stop - menu shows it popup "children" buttons.
I assumed that this is because of timer, so how can I fix it?
I want to show expandable buttons every time - during table view scroll action too.
Please help ;)

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.