Wednesday, August 7, 2013

10 Useful Xcode(5) Things

1. Documentation Integration!

option + click or Quick Help can show built-in help(document)

Now, you can describe own code documents.

- Doxygen Syntax


http://www.doxygen.org
https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/HeaderDoc/intro/intro.html

+ New feature : Documentation Window


2. Ctrl + 1

Show related files in jump bar










3. Cmd + Option Click

Jump to definition in assistant editor

(or) cmd + option + shift click can select editor area

--> option / option + shift work same behaviour other places(jump bar, navigator...)


4. Open Quickly

Cmd + shift + O



5. Custom Code Snippets

- Adding : Just source code (hold click and) drag in to snippet panel.
- Customizing :
    1) Create Token : <# token #>
    2) Shortcut


6. Replace - Except certain result in found

 +

select and just type "delete key"



7. Analyze single file

Product -> Perform Action -> Analyze "ooo.o"



8. Custom Behavior

In preferences.

9. Run Instruments while app running

10. Quick view when debugging.



In WWDC 2013 - 401 Xcode Core Concepts

+ Control + Shift + Click in Xcode5 Interface builder, you can select behind object
(In WWDC 2013 - 406 Taking control of Auto layout in Xcode5)

No comments:

Post a Comment