Xcode 6.1 button with segue


I am trying to do view change with segue which activated by login button. But I cannot find performSeguewithIdentifier function in Xcode 6.1. What is the proper way to do that ?

Here is my scenario

User enters mail and password then clicks login button (1) Application checks user information if it is correct, then next view will be activated (2)

I already did application server connection and information checking so I need a way of opening new view after checking information.


Here is Example:

self.performSegueWithIdentifier("push", sender: self) override func prepareForSegue(segue: UIStoryboardSegue!, sender: AnyObject!) { if segue.identifier == "push" { }

May be this can help you.


You first create IBAction for the button and connect the action to Login button.

after that,

<ol><li>Remove the current segue from UIButton </li> <li>ctrl+drag from the source UIViewController to destination UIViewController. (not from login button)</li> <li>select "push".</li> <li>Give an identifier to the segue.</li> </ol>

And add the below line after validating the fields,

[self performSegueWithIdentifier: @"segue_id" sender:self];


  • Python Floating Point Formatting
  • Zend Failed opening Zend/Application.php
  • Laravel 5 how to include autoload.php
  • Save and retrieve an image file in LibGDX
  • Access 2007 forms with parameterized RecordSource
  • Opening links in a new tab and only the new tab
  • JQM (jQueryMobile) Problem with AJAX content and focus()
  • How to count amount of elements in a row of a matrix in C
  • Javascript unload page condition
  • How to resolve dependencies from one gradle project to another gradle project in my Eclipse workspac
  • XBee Linux Serial Port on Rasberry Pi
  • Entity Framework ObjectContext: Concurrency
  • Opening two instances of InAppBrowser (_system and _blank) prevents events from triggering
  • Specifying virtual keyboard type for EditText in XML
  • auth.provider is not set to 'password' when user signs-in with email and password
  • Getting unread count in Sent Folder using Google Apps Script - GMail
  • Using MouseListener to select a range of cells in a grid
  • XSLT foreach repeating nodes to flat
  • Dart - Isolate Cross Window Communication
  • Does Apple allow the usage of sysctl.h within iOS applications?
  • Authentication in Play! and RestEasy
  • How to add git credentials to the build so it would be able to be used within a shell code?
  • MongoError: Incorrect arguments
  • Email verification using google app script and google forms
  • Django rest serializer Breaks when data exists
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • C# - Serializing and deserializing static member
  • DirectX11 ClearRenderTargetViewback with transparent buffer?
  • Sending data from AppleScript to FileMaker records
  • Why is the timeout on a windows udp receive socket always 500ms longer than set by SO_RCVTIMEO?
  • Web-crawler for facebook in python
  • How to include full .NET prerequisite for Wix Burn installer
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • Authorize attributes not working in MVC 4
  • Is it possible to post an object from jquery to bottle.py?
  • sending mail using smtp is too slow
  • Busy indicator not showing up in wpf window [duplicate]
  • UserPrincipal.Current returns apppool on IIS
  • Python/Django TangoWithDjango Models and Databases
  • Net Present Value in Excel for Grouped Recurring CF