QuickHow*ToforXcode4& Installing&cis-linux2.temple.edu/.../00_IDE/install_xcode_MAC.pdf ·...

4
Quick HowTo for Xcode 4 Xcode can be used for this class. Installing it is quite simple. Below you will find steps on how to do that and then a quick example about creating a console application. Installing This is quite simple. 1. Open the “App Store” 2. Search for Xcode as seen below 3. Click install Creating a Console App 1. Open Xcode 2. Click “Create a new Xcode project

Transcript of QuickHow*ToforXcode4& Installing&cis-linux2.temple.edu/.../00_IDE/install_xcode_MAC.pdf ·...

Page 1: QuickHow*ToforXcode4& Installing&cis-linux2.temple.edu/.../00_IDE/install_xcode_MAC.pdf · 2017-12-21 · use Xcode's integrated source control features to work with your existing

Quick  How-­‐To  for  Xcode  4    Xcode  can  be  used  for  this  class.  Installing  it  is  quite  simple.  Below  you  will  find  steps  on  how  to  do  that  and  then  a  quick  example  about  creating  a  console  application.    Installing  This  is  quite  simple.    

1. Open  the  “App  Store”  2. Search  for  Xcode  as  seen  below  3. Click  install  

   Creating  a  Console  App  

1. Open  Xcode  2. Click  “Create  a  new  Xcode  project

   

Page 2: QuickHow*ToforXcode4& Installing&cis-linux2.temple.edu/.../00_IDE/install_xcode_MAC.pdf · 2017-12-21 · use Xcode's integrated source control features to work with your existing

3. Navigate  to  “Application”  under  the  OS  X  banner,  click  on  “Command  Line  Tool”  and  then  click  Next

   

4. Name  your  project  and  be  sure  to  select  “C”  under  Type  and  then  click  next

   

5. Choose  a  folder  to  store  the  project  in  and  click  “Create”.  I  like  to  store  my  stuff  on  dropbox.  This  provides  a  good  way  to  backup  your  stuff.  http://www.dropbox.com.                  

Page 3: QuickHow*ToforXcode4& Installing&cis-linux2.temple.edu/.../00_IDE/install_xcode_MAC.pdf · 2017-12-21 · use Xcode's integrated source control features to work with your existing

6. To  edit  your  code  file  navigate  to  the  main.c  file  on  the  left  side  of  the  interface.  

   

Page 4: QuickHow*ToforXcode4& Installing&cis-linux2.temple.edu/.../00_IDE/install_xcode_MAC.pdf · 2017-12-21 · use Xcode's integrated source control features to work with your existing

7. To  test  this,  click  Run.  The  output  from  your  program  is  seen  on  the  bottom  right  under  “All  Output”  as  seen  below.