Xcode6 Creating a window with a xib file
1. Create with Xib file1. Open Xcode file--> New ...-->view2.View and Views make an association
(1) Open nib file
(2) Click "File S Owner", press COMMAND+4, set class to Xxxviewcontroler
(3) Press control+ "Files ' Owner", there is a default Iboutlet variable view, see if there is no link in the back, if not pull to the following view and views to do an association
4. Create a view interface with the Xib file
firstviewcontroller *  firstviewcontroller =[[ firstviewcontroller alloc ] initwithnibname : @ "firsttt" bundle : nil
2. Create the view interface with the view Controller in storyboard1. Create the View controller interface in storyboard 2. Set the View controller Sotryboard ID in storyboard to first
3. Add Code Creation Interface
uistoryboard *futurestoryboard = [uistoryboardstoryboardwithname:@ "Main" Bundle:nil];
Firstviewcontroller * Firstviewcontroller = [Futurestoryboard instantiateviewcontrollerwithidentifier:@ "first"];
In order to write code for everyone can have a complete reference, special transmitted on the source
http://download.csdn.net/detail/liuyinghui523/8491405
Xcode6 Creating a window with a xib file