Re: Xcode: adding navigation bars and bar buttons

2015-08-09 Thread Barry Hadder
Hi Venkatesh. Sounds cool. 1. If you understand the model view controller pattern and the target action paradigm, then it isn’t very hard to understand how things are supposed to be wired up in the nib. In the case of the target action, a button has a target and a message to send to that

Re: Xcode: adding navigation bars and bar buttons

2015-08-08 Thread venky . 92
Hi Barry, Thank you so much for the help. I was able to do it and I built a stopwatch app! I have a few more questions, not specific to navigation bars. 1. How do we figure these things out? procedures to do certain tasks are quite different for voiceOver and non VoiceOver users in xCode. How do

Re: Xcode: adding navigation bars and bar buttons

2015-08-04 Thread Alex Hall
For the record, VoiceOver doesn't play very nice with simulators most of the time. To get the best idea of how your app is looking and what is where, you should run it on an iOS device. Xcode 7 will let you do this on anything running iOS9 or newer, so in a couple months, you can start using a

Re: Xcode: adding navigation bars and bar buttons

2015-08-04 Thread venky . 92
Hi Alex, Thank U. I'm happy to know that we can run our Xcode project on the device starting Xcode seven and iOS 9 without having to purchase a developer license. As much as I would love to go ahead and install the public Beta, I have only one iOS device, my iPhone. And if it's going to make the

Re: Xcode: adding navigation bars and bar buttons

2015-08-04 Thread Barry Hadder
Hi, When you set the title of the navigation item, it renames the view controller as well, so there’ isn’t any problem with that. The reason you aren't seeing the button is that you have it connected to the backBarButtonItem. Since the navigation bars app is the top most view controller, the

Re: Xcode: adding navigation bars and bar buttons

2015-08-03 Thread Barry Hadder
This is the way you add a navigation bar to a view controller. Select the view controller and in the editor-embed in menu choose navigation controller. To add UIBarButtonItems, drag on to the view controller seen. Then in that same seen, you should find a navigation item. You set the title

Re: Xcode: adding navigation bars and bar buttons

2015-08-03 Thread Barry Hadder
Hi, You drag a bar button from the library to the view controller seen. To connect the bar button to the nav bar, you find the navigation item in the view controller seen and drag from one of it’s outlets to the bar button. Let me know if that still isn’t clear. On Aug 3, 2015, at 10:10 AM,

Re: Xcode: adding navigation bars and bar buttons

2015-08-03 Thread venky . 92
Thank U! That makes things a bit more clear. You said, to add UIBarButton items, drag onto the view controller seen. What exactly do I drag on to the view controller seen? You said, you drag from one of the navigation barButtonItems outlets. Didn't really get that part. If explaining through

Re: Xcode: adding navigation bars and bar buttons

2015-08-02 Thread venky . 92
Thank you for the help! Could you explain in a bit more elaborate way? Do I do what you suggested after adding in navigation bar? Moreover, is the procedure similar for adding a toolbar? Sent from my iPhone On 02-Aug-2015, at 8:35 pm, Barry Hadder bhad...@gmail.com wrote: Hi, First,

Xcode: adding navigation bars and bar buttons

2015-08-02 Thread venky . 92
Hi, Using voice over, I typically add labels, buttons and text fields by dragging them from the library to the document outlin in the Interface builder. I change the attributes such as the title, label text, et cetera using the attributes inspector. However, I am unable to change the title of

Re: Xcode: adding navigation bars and bar buttons

2015-08-02 Thread Barry Hadder
Hi, First, you would embed the view controller in a navigation controller from the editor menu. You should then find a navigation item in the controller seen when you expand the controller. You set the title of the bar in it’s inspector and make connections as well. In the connections