xed

Seán Labastille reminds us about the xed tool: The xed tool launches the Xcode application and opens the given documents, or opens a new untitled document, optionally with the contents of standard in.