DropDown menu in uinavigationbar - ios

Any thoughts about a dropdown menu in the navigation bar in iOS like the one shown in these pictures?
dropdown closed image
dropdown opened image

here is what I was using (I am not an author).
https://github.com/nmattisson/DropdownMenu
and another one
https://github.com/eternityz/RWDropdownMenu

Related

how to select a menu item in menu bar using eggplant

I recently started working on eggplant tool. In one of the screen I have Menu bars like File, View, help etc., Each menu bars contains menu items. some time I have to select the first menu item in menu bar and sometimes I have to select the other menu item in menu bar.
How to select a menu item in menu bar.
Could someone pls reply if anyone has an answer.
You can use shortcuts or hotkeys on the menu items.
For example: to reach "About" menu item in the expamle.
typeText altKey&H
typeText A
If you don't have any hotkeys.
You can search for the image "Help" and click then use downArrow
WaitFor 10, "helpButtonImage"
Click FoundImageLocation()
typeText downArrow,downArrow,return
We can do this by building search rectangle with a reference image

How do I use both solid and outline icons in a tab bar like the App Store app?

I would like to have my tab bar similar to the App Store app (picture below). The active section has a coloured solid icon, and the other non-active sections will have the uncoloured outline icons. How can I switch from outline icon to solid icon depending on if it is selected or not? I would preferably want to accomplish this in interface builder but if thats not possible please explain how to do it in code. I have also provided a picture of my current tab bar. Notice how all of the icons are "outline" icons including the active section icon (I want the active section icon to be "solid"). I do have both the outline and solid icon sets, i'm just not sure how to use them both.
My current tab bar:
App Store tab bar (what I want but with my color not blue):
"You can use storyboard to set selected image of tabbar. I tried and it worked for me. Select the UITabbarItem and add a run-time attribute 'selectedImage', select Type as 'Image' and give the name of your image as its value."
iamge that shows how it's done
Had the same problem, answer from here: Setting Selected Image in Tab Bar Controller with Storyboard

Swift - SWRevealViewController change programmatically

I'm currently working on a swift project and I'm using SWRevealViewController (https://github.com/John-Lluch/SWRevealViewController). I got it done to show few items inside the side menu.
My question now is: Is it possible and how is it possible to disable or better to skip on possible item in the side menu for some special cases.
Example:
Case-1: The side menu will have 3 items
Item-1
Item-2
Item-3
Case-2: The same side menu will have just 2 out of 3 items
Item-1
Item-3
So is it possible to hide/skip one item in the side menu with code?

How to customize tab bar item image on runtime

I need to change the image of the tab bar item based on one of the option selected in my first tab at runtime. Whenever user changes the option the tab bar item image should change.
For example: I have 3 tabs. In first tab I have following options:
"Red"
"Green"
"Blue"
According to the option which user selects, the tab bar item image should change. (ie. for red, all 3 tabs should have red icons and so on)
How can I achieve this?
Thanks for helping :)

Richfaces popup disappearing when clicked on the dropdown menu item

I need to display the context menu when clicked on a rich:dataTable column,and need to show a rich:popupPanel when clicked on a menu item. I could able to get the popup but it is disappearing instantly.Does anyone have an idea on this?
I am using rich:dropDownMenu (RichFaces 4.0.0.Final).
Thanks in Advance.
If you have a domElementAttachment="parent" in your popup, than change it to domElementAttachment="form". If you still have the problem I can insert the full code here.

Resources