Xcode shortcuts: 4 favorites and a cheat sheet

By ITworld tips  Add a new comment

by Amy Bennett -- Whether you're just getting started with Xcode or have been developing iPhone apps for a while, you're probably looking for ways to do things better and faster.

Here, courtesy of the Twitter community, are some keyboard shortcuts and time savers to add to your arsenal.

Ready to speed things up? Start now!

Shortcuts

  • omphal My favourite Xcode shortcut : ctrl-2 to switch keyboard focus to the messages/functions popup menu in the code editor.
  • mz2 My favourite keyboard shortcut of the day: Cmd+Alt+UpArrow (swaps between .h and .m in Xcode)
  • aaronjensen if you're working in xcode, the most important keyboard shortcut is cmd+shift+d, it's like your R# goto type/file/symbol all in one.
  • A_11 @ay23 Xcode tips: Apple-] and Apple-[ to shift a block of code right/left.

There are, of course, more Xcode shortcuts than you can reasonably be expected to remember. Lucky for you, @mgratzer points out this handy printable list of Xcode shortcuts from CocoaSamurai.

Yet more time savers

ulisdevdiary Nice obscure feature of the day: Xcode Edit -> Insert text Macro -> C -> Parenthesize Selection. Define a shortcut for it & rejoice.

iCuriosity Tips: In Xcode Editor, Option+Double Click on a word, will jump directly to the API doc. #xcode #mac #iphone

smplnerd SetFile. One of the greatest hidden gems of the Developer Tools. #adc #Xcode #osx

tomkinsc fixing Xcode annoyance: when using a 3rd-party keyboard, fix Home and End key behavior in Xcode prefs -> Key Bindings -> move to begin/end

mannytan nice xCode tip from #stackoverflow, put your dealloc right by all the synthesize declarations for simple and obvious memory management.

ITworld LIVE

DevelopmentWhite Papers & Webcasts

Webcast On Demand

How to Distribute Apps to Your Mobile Workforce

When considering enterprise app deployment, you may find some unexpected challenges and a number of options that range from simple distribution to running your own enterprise market. How can you determine the best approach for your organization? MOTODEV for Enterprise can help you understand and evaluate current enterprise deployment technologies and learn best practices that support your choice.

Sponsor: Motorola Mobility

Webcast On Demand

Authentication, Certificates and VPNs

MOTODEV for Enterprise can help get you up to speed quickly on key topics such as how to enable secure access to a company intranet from outside the firewall. This webinar provides a clear explanation of terms and technologies and what they can do for your enterprise app development.

Sponsor: Motorola Mobility

Webcast On Demand

Improving Enterprise App Quality with MOTODEV App Validator

MOTODEV for Enterprise supports quality app development for businesses, government, and institutions with technical resources and tools such as the MOTODEV App Validator, a free static analysis testing tool.

Sponsor: Motorola Mobility

White Paper

HR Analytics: Driving Return on Human Capital Investments

In today's economy, it's critical for organizations to make employee retention and development a major business focus, to ensure that valuable employees are not lost as the economy improves. With advanced BI solutions, organizations can be supported by workforce analytics to drive return on human capital investment and to see the value the workforce delivers to organizational performance. This white paper demonstrates how the increased power of having metrics and analytic insight can align core HR business processes with organizational goals and strategies and help ensure organizations make the right business decisions today for tomorrow.

White Paper

Positioning the CIO as a Powerful Business Partner with IT Portfolio Governance

In this whitepaper, learn how you can become a visionary portfolio manager and transform IT into a streamlined revenue and profit center.

See more White Papers | Webcasts

Ask a question

Ask a Question