GithubHelp home page GithubHelp logo

remenu's People

Contributors

86 avatar atomkirk avatar cxa avatar danielbowden avatar doctorg avatar domhof avatar foreigner6 avatar hsoi avatar lluisgerard avatar matsu911 avatar michel-loenngren avatar midnightsuyama avatar romaonthego avatar snown avatar weiran 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  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

remenu's Issues

With the addition of REMenuItem layout properties, there is a problem of updating them instantly.

When you update a REMenuItem layout property, it doesn't update the appearance instantly. It will only get picked up when the menu is redrawn. For example:

REMenuItem *homeItem = [[REMenuItem alloc] initWithTitle:@"Home"
                                                       image:nil
                                            highlightedImage:nil
                                                      action:^(REMenuItem *item) {
                                                          item.backgroundColor = [UIColor blueColor];
                                                      }];

Doesn't make your item's backgroundColor blue until you redraw (or reopen) the menu. I will try to fix it and submit a pull request. #53

`REMenu` should close the menu view before the `REMenu` object got deallocated

Is it possible to close the menu automatically if any place outside of the menu has been touched?

Currently, if the menu is left open and the user navigation to another view, eventually the app will crash. Looks like some memory related issue.

Assertion failed: (slab->magic == SLAB_MAGIC (bucket_idx)), function slab_dealloc, file /SourceCache/QuartzCore_Sim/QuartzCore-330.0.8/util/x-alloc.c, line 567.

iOS7 Frosted / Blur Effect?

It would be awesome if you could implement an option to create a frosted menu background.

Similar to something like this!

example

Tapping UINavigationBar should dismiss menu.

Currently, with the menu displayed, I can tap items on the UINavigationBar. Tapping the back button allows the view controller to be dismissed, yet the menu continues to stay displayed and eventually causes crash due to the parent view becoming nil even if I close the menu in viewWillDisappear.

Scrolling menu

Is there any way to add scrolling posibility to the menu ? My menu has a lot of items and I need it to scroll up and down.

Icon on UIBarButton

This is not exactly an issue, but I would say an improvement. There should be an icon on the UIBarButton, so it would be like Vine.

Badge?

Like the number badge on activity menu in vine? :D

Dynamic items on menu

Hi,

I´m using this great component in my app, and i´d like to know if it´s there way to add items to it while the app is running. I can remove them, but when i try to add some nothing happens until i reboot the app and building the menu again.

Any ideas??

Thank you in advance.

split row

It would be great if you can add function that can splits "row" to 2 items. Any idea?

customView.frame.size.width is set to 640px width

Just found out that my customView frame is set unexpectedly to 640px width

        item.customView.frame = itemView.bounds;
        item.customView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
        [itemView addSubview:item.customView];

I removed this line, and works fine:
item.customView.autoresizingMask = UIViewAutoresizingFlexibleWidth;

Issue when using with RETableViewManager

I'm trying to combine the REMenu with RETableViewManager, but when I try to touch on the button that navigate to the controller use RETableViewManager, the app crashed, the Reason is: "reason: 'UINavigationControllers are not allowed in a navigation controller"
Is this an issue?
Thanks!

REMenu with StoryBoard

Is there any possibility of creating a demo using storyboard?
That would help a lot ;)

Scrollable ?

I don't know wether I am doing something wrong, but if I have a bigger list of items in the menu - I cannot scroll to see all items. Shouldn't it be scrollable ?

Option for right-side layout

It would be great to be able to easily flip the layout of the menu tabs, so the image appeared on the right side of the text. This would be useful for using the menu triggered from a button on the right side of the navigation bar.

Scrollable list

make the drop down list scrollable if the options go off screen

1.8.5 Tag missing

Cocoapods fails because the tag for 1.8.5 is missing
" Couldn't find remote ref tags/1.8.5"

Property 'barTintColor' not found on object of type 'UINavigationBar *'

Today, I git clone REMenu project, but when I run the sample project, I meet an error, the error message as follow. By the way, when I checkout the latest tag 1.4.2. The example project run ok.

/REMenu/REMenuExample/REMenuExample/Classes/Controllers/NavigationViewController.m:29:28: Property 'barTintColor' not found on object of type 'UINavigationBar *'; did you mean 'tintColor'?

Change Image On Selection

I want to be able to change the image on selection, toggling between two different images. Not a on highlight image however.

CornerRadius add pixels that shifts the image

I was using your library, and I noticed the last View my image was shifted a little bit to right. After running a few tests I concluded that cornerRadius shift the image.

I guess it's because it adds 4 pixels (in my case, was _menu.cornerRadius = 4 ) at right and bottom (I guess at the left too)

Well here are some pictures without cornerRadius:

nocorner

And here with cornerRadius (You can notice the bottom has 4 more pixels than the other views)

alinment

If you have any questions about my project, or the images, feel free to ask.

Thank you!

ios/

It does not work properly with ios7. The menu does not go down entirely

hiding the menu?

Is there any way to toggle or hide the menu? For example if it's already visible, then hide it: [self.menu toggleFrom...] or something like [self.menu hide] or even [self.menu.menuView removeFromSuperview]?

Thanks!

Need to close until showFromRect: animation finished.

If you press "back" on navigation bar until open animation finished, menu remains open on other view. It's simple to solve: simply comment "if (self.isAnimating) return;". It works good, but update from pods cleans it, and exist variable "BOOL waitUntilAnimationIsComplete;".

To close menu i'm used [menu close]; in viewWillDisappear:, maybe exist better way to do it?

No Longer Supports iOS 5

This project no longer supports iOS 5, since #48 was merged in. boundingRectWithSize: is not available before iOS 6, so the app will crash on iOS 5 if badges are used.

Hello,I have a question

Hello,writer!
The demo is really wonderful! I used it in my project. but I don't know how to change the left and right view's width.please help me.Thank u very much!

REMenuImageAlignmentCenterLeft and REMenuImageAlignmentCenterRight?

It would be great to see 2 new alignment options:

REMenuImageAlignmentCenterLeft would place the image immediately left of the titleLabel (which has been sized to fit it's width) and apply the imageMargin to it for spacing, then center the image + text-label group within the menu item.

REMenuImageAlignmentCenterRight would place the image immediately right of the titleLabel (which has been sized to fit it's width) and apply the imageMargin to it for spacing, then center the text-label + image group within the menu item.

Thoughts?

Reposition Drop-Down

Hi Romaonthego,

I would like to say, great job on the class, it works well and easy to integrate into my app. I just have a few questions.

I am attempting to use the drop down menu to instead "push down" the bottom half of my main view while keeping the top half of the view still. Heres a pic of what I am trying to do
screen shot 2013-07-17 at 9 40 08 am 3

If you notice the arrow on the top part of the UIView, thats basically where I want the drop down to begin, not from the top of the navigation bar... If I can reposition the drop down to start from the arrow or rather right under the view that labels "Morone Residence" that would be a good start. Then I would want to push down the view under the view that has the label "Morone Residence" and scroll the rest of the view DOWN, so the entire main view is visible at all times.

Hopefully I am making sense :P. If not please reply back. I haven't made any modifications to your code other than changing the weak reference - i just commented it out because it was giving me errors... not really sure as I haven't went into deep investigations :P.

//__typeof (&*self) __weak weakSelf = self;
REMenuItem *activityItem = [[REMenuItem alloc] initWithTitle:@"Activity"
                                                    subtitle:@"Perform 3 additional activities"
                                                       image:[UIImage imageNamed:@"Icon_Activity"]
                                            highlightedImage:nil
                                                      action:^(REMenuItem *item) {
                                                          NSLog(@"Item: %@", item);
                                                          MainViewController *controller = [[MainViewController alloc] init];
                                                          [self.navigationController setViewControllers:@[controller] animated:NO];
                                                      }];

Hopefully this is possible... but i'm sure it is with some tweeking :)

Warning on REUIKitIsFlatMode

Hello, the last versione of the REMenu give me a warning in the RECommonFunctions.h on the static BOOL REUKitIsFlatMode() method, how can i fix it? the warning is "Unused function 'ReUIKitIsFlatMode'.

Custom Fonts not rendering for REMenu.font or REMenu.subtitleFont

I've been having trouble getting custom fonts (added to project's plist) to work with the initializers for REMenuItems. I thought it may have been a Cocoapods issue, but did the manual install and am having the same issue. I was only to get the custom fonts to display by using initWithCustomView:.

Am I just missing something or is this a bug?

Best way to have a grid of menu items of a list

Like the menu would pop down and be a 3x3 grid with menu choices instead of vertically stacking the choices

Any suggestion how to do this?

Also the grid could dynamically change the number of items in a row on orientation change

ToggleMenu Button needs to be clicked twice

Hello, i'm trying to implement REMenu in one of my apps, and everything is working fine, but for some reason, the "Menu" button needs to be clicked Twice, so the menu opens.

After the first time you click twice, you just need to click one and everything works fine, any ideas?

Force selection

Is there a way to force the user to select an item from the list? The intended behaviour being that this would be the only way to close the menu once opened.

set an action that goes to UIViewController

Hi, I'm trying to set an action for the button with the following title "Explore", I'd like to set an action that when I tap on this button, i will be redirected to the UIView ""TestViewController".
How can I do it?
Thanks

REMenu seperatorColor not working

Everything seems to up and running without issue, except for some reason the instance of REMenu doesn't seem to respond to the setSeperatorHeight and setSeperatorColor properties.

Any advice?

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.