Ultime
News
Ultimi
Articoli
Numeri
Fortunati
eLibrary
Xcode: Add a storyboard to an empty project
- From contextual menu select "New File..."
- Choose "User Interface" file type and Storyboard template
- Select the "Device Family" of the storyboard (iPhone, iPad)
- Give it a name and press "Create" button
- Go into "Supporting Files" group into project tree and select the "xxx-info.plist" file where xxx is the name of your project
- Add a key value row with "Main storyboard file base name" as key and the name you've given to your storyboard (only the name and not the suffix)
- Go into "AppDelegate.m" file and into the "didFinishLaunchingWithOptions" method code but the instruction "return YES;"
- Add a scene as entry point to your storyboard dragging a "View Controller" object into the storyboard space
- Give to your new View Controller a consistent name in this way "xxxxxx View Controller" with xxxxxx as name
- Now again from contextual menu select "New File..."
- Choose "Cocoa Touch" file type and "Objective-C class" template
- Give it a name like "xxxxViewController" with xxxxxx as name
- Select "UIViewController" for "Subclass of" property
- Uncheck if necessary "With XIB for user interface" property
- Create it
- Now select the storyboard and its graphical View Controller
- Go into the "Identity Inspector" and as Custom class select your new UI View Controller class just create (it should be in the list of the available "Custom Class"
- Now you are ready to code!
- 02/12/2012
- Fonte: Titano
Tutti gli articoli
05/03/2013 Publish on iTunes 3/3 - Publish an app on the App Store1-1) To obtain a Certificate Signing Request (CSR)...
25/02/2013 Publish on iTunes 2/3 - Prepare an app to be published1) Go to yourapp-info.plist and edit "Bundle ident...
20/02/2013 Publish on iTunes 1/3 - Create app position on iTunes Connect1) Log in iTunes Connect web site (itunesconnect.a...
10/01/2013 Xcode: Create a list of items with db data- First of all create or select a Controller class...
08/12/2012 Xcode: Passing by ref variables - UPDATED!!Example of how to pass a variable by ref in iOS
07/12/2012 Android: Risoluzione degli schermi per dispositivi AndroidSviluppare con Android può creare non poche d...
04/12/2012 Xcode: Create a list of items with db data- First of all create or elect a Controller class ...
02/12/2012 Xcode: Add a storyboard to an empty project- From contextual menu select "New File..."
...
01/12/2012 Xcode: Workspace and projects creation in Xcode- Create a folder to save workspace files in
...
01/12/2012 Xcode: Add a reference to a project- In the Project Navigator select the project item...
01/12/2012 Xcode: Steps to add a new project to SVN - UPDATED!!- Be sure to have the project or workspace structu...
02/11/2012 Xcode: Passing by ref variablesExample of how to pass a variable by ref in iOS
20/10/2012 Xcode: Web Request PUSHNSMutableString *postString = [NSMutableString str...
13/09/2012 Xcode: Steps to add a new project to SVN1 - Be sure to have your project working folder in...

