The keyboard shortcut for switching between the header file and the implementation file is Command-Control-UP arrow.
ESC | autocomplete |
SHIFT+COMMAND+UP | switch header/impl |
SHIFT+OPTION+COMMAND+? | help doc |
OPTION+DOUBLE CLICK | doc |
COMMAND+DOUBLE CLICK | doc |
OPTION+COMMAND+LEFT | fold(collapse) block |
OPTION+COMMAND+RIGHT | unfold(expand) block |
SHIFT+OPTION+COMMAND+LEFT | fold all blocks |
SHIFT+OPTION+COMMAND+RIGHT | unfold all blocks |
COMMAND+L | go to the line |
CONTROL+L | centers the current line |
CONTROL+COMMAND+LEFT | navigation history |
CONTROL+COMMAND+RIGHT | navigation history |
CONTROL+[1...6] | navigation within a file |
CONTROL+COMMAND+E | refactoring: edit all in scope |
COMMAND+SHIFT+{ OR } | cycling through tabs |
COMMAND+SHIFT+G(in Finder) | ~/Library/Application Support/iPhone Simulator to check sandbox |
#pragma mark - #pragma mark <title> (a '_' draws a separator) //TODO: blah //FIXME: blah
connections
Right click or CONTROL click on the File's Owner to bring up the connections panel.
Drag from the circle beside xxxfield to UIxxx.
You can automatically import a library in all of the source files of your project by adding the import to the prefix header of your project. To do this, simply add the import function to the Prefix.pch file located in the other sources folder of your project hierarchy.
// // Prefix header for all source files of the 'Locations' target in the 'Locations' project // #import <Availability.h> #ifndef __IPHONE_3_0 // #warning "Projects that use Core Data only build using iPhone SDK 3.0 and later" #endif #ifdef __OBJC__ #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import <CoreData/CoreData.h> #endif