tags:

views:

81

answers:

1

I'm kinda new to Xcode and even programming.

From Xcode, in my code, how do I show the console and clear the screen?

I know I could do it with the Xcode preferences, but I would like to do it programmatically.

+1  A: 

You can display the console window by pressing Shift + Command + R. You can clear the console window by pressing Control + Option + Command + R. Both options are available from the Run menu.

sentinel