No "show" in segue action list in Xcode 6.1

I am new to the rapid development and development of iOS.

System Information: Xcode 6.1 OS X 10.10.1 Release Notes

There are two view controllers in my application: ViewA and ViewB (there is no navigation controller), and I want to go to ViewB from ViewA by clicking UIButton in ViewA. ViewA was installed as the initial view controller in the application.

Following some online instructions, I pressed ctrl and dragged UIButton to ViewA to point to ViewB in the storyboard window. However, I have only an incomplete list of transitions (4 items in total), since I could not see the "show" element.

#

Action Segue From myself modal order

#

It may look like in older versions, but it is done in Xcode 6.1.

I saw several on-screen copies of the menu from other people, they have much more items in their action list. Since there is no “show” in my segue action list, I used a “custom” element. It also helped me navigate to ViewB, but I got the following warning when compiling.

"User segments must have their own class" "Unsupported configuration User segments must have a client class"

My questions: 1) How can I access the built-in “show” time in the segue action list? 2) Since everything is working fine so far, are there any problems with sending a warning message?

Please feel free to let me know if you need more information to identify problems.

Since I'm new to iOS development, my questions may be dumb, but I need your help. I appreciate your implications with my questions.

+5
source share
3 answers

I am going to go step by step for the process:

  • Create a new project. I used the Single View app for iPhone.
  • Add a second view controller to the storyboard (the panel to the left of the storyboard should look like this). If you do not see the panel, click on the icon in the lower left corner of the storyboard.

enter image description here

  1. Drag the button into the storyboard

enter image description here

  1. Hold control and drag the button to free up space on the second view controller to get this menu.

enter image description here

  1. Click "show" to make a session.

enter image description here

  1. If you already have a segue, you can change its type by clicking on it. To the right of the storyboard, you should have a dashboard with information about segue. Here you can change the type. If you do not see the panel, click the icon on the toolbar to pull it out.

enter image description here

+4
source

Yes you are right. I had a menu as I started from the beginning. Thank you very much.

As well as the suggested comments, I need to include a size class to access the full segues menu.

Many thanks.

+3
source

As mentioned in the comment, I think this should be included as an answer (since this is an exact problem, many are facing).

It looks like you have disabled size classes. Return them back if you want to use other segue options.

Hope this helps anyone struggling with missing options.

Edit:

Size Classes have now been renamed to Trait Variations. 
+1
source

Source: https://habr.com/ru/post/1210233/


All Articles