Navigation in iOS like this image - ios

I like the navigation that can be seen here:
But I don't know how to do it. Could someone point me to a tutorial how to do it or could tell me some keywords

Add four buttons to your view..arrange them in 2x2 format.
You should do it in Interface Builder..then just make an IBAction for
each button..

For creating odd shaped buttons use - https://github.com/ole/OBShapedButton
It's a fantastic button class that allows buttons that are not just rectangles.

Related

iOS) How to add a divider(==separator) between tabbarItems

I searched this question many times but couldn't get enough information.
So I will use UIButton or UIView to replace UITabbar for customizing issue.
I want to put divider(separator) between two tabbarItems and bottom lines like the image below
But What I made now is below:
How can I make it as I want?
I did customize many view components(UIViewcontroller, UIButton, UITextfiled,UITableViewCell,UICollectionViewCell) but I don't know how to customize tabbarItem
I'm afraid there is no specific option to set a divider in UITabBar. But you can always use a custom tab bar. You can check this out, it has a special property for seperator image:
NMBottomTabBarController for iOS
There is also another option. You may like this :) I also used it myself in one of my app. I made an image that looks like a tab bar with seperator as a background image. Then put the items on it. Easy peasy. For example check this image:
Image Link
I hope this helps.

Swift - ios - creating ballon buttons

I want to create a set of buttons that will look like this:
(The selected buttons are those with a different background)
Any ideas for a simple implementation?
Are there any known open source implementations for this?
Thanks!
Following is the library which may be use to solve your problem,
For different appearance you need to give the conditional code for that but with out that your problem may solve with this library or code.
You can download the sample code of RRTagController project here.
For rounded corners use UIButton.layer.cornerRadius. if you set corner radius to half of the box you will get circle. For the border color use layer.borderColor = UIColor.redColor().CGColor.
For the background color of the button you can keep track with selected state of the button. Here is an example of using selected state: UIButton state selected
Next thing you could do is to keep data about selected ones, since the best way to do something like this would be UITableView - seems like every row of buttons have same height, and if you want to send that somewhere you can keep track about what items are selected.
I think the best way is to use UICollectionView.

Popover from UI Button to display Text

I'm attempting to make a Popover similar to the one seen here : http://i.imgur.com/wDNOo44.png
This popover is meant to be an IBAction from the button, which in this image is titled: "Ventral Primary Ramus". I've looked around the internet for tutorials and I have mainly seen tutorials on creating popovers from the UIBarButtonItem. For this popover as you can see I need to be able to title it, as well as in then display text information about the structure who's button was pressed. Along those same lines how would I go about making sure that the window will auto-fit to the text?
There is many tutorials for this. For example:
appcoda
raywenderlich
It's really easy to present some popover, just read this.

Designing a circular "selector" control

I'm developing an app that calculates poker odds, and now I'm facing some problems with the card selector.
This is a mockup of what I want.
I've found two ways to accomplish this. The first one is to use an entire UIImageView and detect touches, calculate where the touch has been generated, and set the corresponding value.
The second one is to use a lot of UIButtons, but in this case I get problems with the shape of the buttons.
Of course I can use a regular UIPickerView and so on but I think that the one I've designed is better.
if you have a UIButton with a background image that is shaped irregular. then that is the only point that the button can be pressed.
Change the type to custom and put your slices into buttons.
This has been my experience anyhow.
My buttons have to have a .01 alpha background to increase their pad size and people can push the button.
Hope that helps :)
After googled a little i've found https://github.com/ole/OBShapedButton .
it does anything what i need

Trying to mimic the Apple iPad popover style

My sincere apologies if this question has been asked, but I really couldn't find it.
Essentially, I am trying to mimic the look of the popovers used by the built-in Apple applications. In particular, not the popovers that use a tableview list, but rather those popovers that only have buttons inside.
For example, in the Mail app, clicking the left-facing arrow on the top right of the screen, a popover is shown with four buttons: Reply, Reply All, Forward, Print.
How is this particular popup created to give that look?
I have tried making my own UIViewController with a black background and Round Rect Buttons, but it doesn't look the same. Any help would be much appreciated!
Thank you.
It's a UIActionSheet. On iPad, it gets a "popover" appearance if it's not presented from within another popover.

Resources