Hi Alex, There’s a particular process to adding tabs to tabbars. heres the process: 1-first create all your view controllers with the names of the tabs you want, as sub classes of UIViewController 2-open the default view controller.swift and make the view controller an instance of UITabBarController like follows class viewController: UITabBarController {} > 3-In mainstoryboard’s document outline, select the default view controller, > and delete it 4-drag the UITabBarController from the library to the document outline. On this one, don’t drag and drop in the document outline but on the scroll area of mainstorybard. Doing it this way will work everytime while trying to put it in the outline will give you no result 5-The UITabBarController contains 2 view controllers by default. Change the UITabBarController as root view controller in the attributes inspector by checking root view 6-back in the document outline, expand the views called (item 1 and item2), select the tab, go to atrributes inspector and change its name to whatever your view controller is for reading purposes. 7-still in the document outline, find either view controller whose names you changed and go to identity inspector, and change the base class to your custom viewcontroller class 8-If you want to add more tabs, drag a new view controller into the outline and make sure that you are placing it on the root view controller to create the relationship between root and sub view controller or tab. 9-You can alternatively look for connections in the connections inspector of the main controller and look for something like cconnect subview or something like that. the process is the same, shift vo command space, go to outline, find the sub view controller, and release.
Hope this helps > 12/08/2015, at 6:09 AM, Alex Hall <mehg...@icloud.com> wrote: > > I'm watching this thread, as segues are one thing I've never managed to get > working. Is this Xcode 6.x or 7? > > On a related note, has anyone worked out how to add tabs to tab bars, or > views to grids, and so on? No matter what I try, I can't get new tabs onto a > tab bar in N iOS app. >> On Aug 11, 2015, at 10:59 AM, Barry Hadder <bhad...@gmail.com >> <mailto:bhad...@gmail.com>> wrote: >> >> Hi Venkatesh, >> >> >> >> First select the view controller to segue to. >> >> Then from the inspector, drag from the presenting segue that you want, I.e. >> show segue to the button in the outline. >> >> When you unlock the mouse button on the button in the outline, wait until >> you hear vo say Xcode has new window. >> >> Vo-f2 twice to bring up the windows list and choose the one that says action >> or something like that. >> >> Next, rout the mouse to vo and click. >> >> >> >> So, instead of dragging from the source to the destination, you want to drag >> from the dest to the source. By doing that you are giving Xcode more >> information about what you are trying to do and usually you won’t have to >> respond to one of those boxes that pop up except in this case. >> >> I don’t know why you have to respond to that box at the end, but I’ve never >> had any problems. Just clicking the mouse in it always works. I suspect it >> is an Xcode bug. It messed me up for a little while when I was first >> learning how to do this. >> >> >> >> To set the storyboard entry point: >> >> select the view controller and in the view controller section of the >> attributes inspector, check the box for is designated entry point. >> >> >> >> On Monday, August 10, 2015 at 11:55:06 PM UTC-5, Venkatesh Potluri wrote: >> Hi, >> How do we add segWays in xCode? >> I have a demo app with 2 viewControllers (2 viewController scenes in >> effect). My aim is to add a button to 1 ViewController that would take me to >> the other. I could partially do this. >> From the library, I dragged a button on to the view inside the first >> viewController in the main storyboard. From the connections inspector of the >> button, I dragged the button next to action to the second viewController. >> Here, I would want to select the show option. However, VoiceOver does not >> speak any options in the small pop over that is displayed. I was told about >> a popover being present with cited assistance. How do I accomplish this with >> VoiceOver? I thought dragging a button next to show in the connections >> inspector would help. However, under the trigger segways, action is the only >> option. >> also, How do I change the storyboard entry point from 1 viewController to >> the other? >> Thank you. >> Regards, >> Venkatesh >> >> -- >> You received this message because you are subscribed to the Google Groups >> "MacVisionaries" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to macvisionaries+unsubscr...@googlegroups.com >> <mailto:macvisionaries+unsubscr...@googlegroups.com>. >> To post to this group, send email to macvisionaries@googlegroups.com >> <mailto:macvisionaries@googlegroups.com>. >> Visit this group at http://groups.google.com/group/macvisionaries >> <http://groups.google.com/group/macvisionaries>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > > -- > Have a great day, > Alex Hall > mehg...@icloud.com <mailto:mehg...@icloud.com> > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to macvisionaries+unsubscr...@googlegroups.com > <mailto:macvisionaries+unsubscr...@googlegroups.com>. > To post to this group, send email to macvisionaries@googlegroups.com > <mailto:macvisionaries@googlegroups.com>. > Visit this group at http://groups.google.com/group/macvisionaries > <http://groups.google.com/group/macvisionaries>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to macvisionaries+unsubscr...@googlegroups.com. To post to this group, send email to macvisionaries@googlegroups.com. Visit this group at http://groups.google.com/group/macvisionaries. For more options, visit https://groups.google.com/d/optout.