307 introducing xcode 4

Upload: nicolasmartin4994

Post on 07-Apr-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 307 Introducing Xcode 4

    1/51

    Anders Bertelrud Brooke Callahan Ron Lue-SangXcode Architect Software Engineer Senior Software Engineer

    2

  • 8/6/2019 307 Introducing Xcode 4

    2/51

    Improved workflow

    Interface Builder inside

    Editor Assistant

    LLVM Compiler

    Fix-it Version Editor

    New Debugger

    3

  • 8/6/2019 307 Introducing Xcode 4

    3/51

    Workspaces

    Navigation

    Editing

    Organizer

    Version Editor Debugging

    Schemes

    4

  • 8/6/2019 307 Introducing Xcode 4

    4/51

    Workspaces

    Navigation

    Editing

    Organizer

    Version Editor Debugging

    Schemes

    5

  • 8/6/2019 307 Introducing Xcode 4

    5/51

    Whats where in the workspace window

    6

  • 8/6/2019 307 Introducing Xcode 4

    6/51

    7

  • 8/6/2019 307 Introducing Xcode 4

    7/51

    Represents your workflow

    Loose collection of references Projects

    Folders

    Any other kind of file (PDFs, etc.) Contains schemes

    Launch schemes

    Distribution schemes

    8

  • 8/6/2019 307 Introducing Xcode 4

    8/51

    Projects can be shared

    between workspaces Every workspace has its ownindex, build folder

    9

  • 8/6/2019 307 Introducing Xcode 4

    9/51

    What they contain

    References

    Schemes

    Breakpoints

    Window layout

    10

  • 8/6/2019 307 Introducing Xcode 4

    10/51

    Information sharing

    Each piece of information can be private or shared

    User decides, based on their desired workflow

    11

  • 8/6/2019 307 Introducing Xcode 4

    11/51

    Sharing model

    Can share workspaces through SCM, email, etc.

    12

  • 8/6/2019 307 Introducing Xcode 4

    12/51

    Sharing model

    Can share workspaces through SCM, email, etc.

    Other workspaces might be temporary and not shared

    13

  • 8/6/2019 307 Introducing Xcode 4

    13/51

    Work across all projects in the workspace

    Symbol lookup

    Documentation search

    Find and replace

    14

  • 8/6/2019 307 Introducing Xcode 4

    14/51

    Coordinated builds

    Custom build actions in schemes

    Arbitrary dependencies

    Custom scripts

    Implicit dependencies

    Projects dont need to know about each other

    15

  • 8/6/2019 307 Introducing Xcode 4

    15/51

    Workspaces

    Navigation

    Editing

    Organizer

    Version Editor Debugging

    Schemes

    16

  • 8/6/2019 307 Introducing Xcode 4

    16/51

    Workspaces

    Navigation

    Editing

    Organizer

    Version Editor Debugging

    Schemes

    17

  • 8/6/2019 307 Introducing Xcode 4

    17/51

    Structure navigation

    18

  • 8/6/2019 307 Introducing Xcode 4

    18/51

    Filtering

    19

  • 8/6/2019 307 Introducing Xcode 4

    19/51

    Open quickly

    20

  • 8/6/2019 307 Introducing Xcode 4

    20/51

    Workspaces

    Navigation

    Editing

    Organizer

    Version Editor Debugging

    Schemes

    21

  • 8/6/2019 307 Introducing Xcode 4

    21/51

    Workspaces

    Navigation

    Editing

    Organizer

    Version Editor Debugging

    Schemes

    22

  • 8/6/2019 307 Introducing Xcode 4

    22/51

    Xcode automatically shows related content

    Three types of editing behavior

    Standard

    Assistant

    Version

    23

  • 8/6/2019 307 Introducing Xcode 4

    23/51

    New ways to work with files Source Code

    Interface Builder (.nib and .xib)

    Data Model

    Hex

    Preview

    24

  • 8/6/2019 307 Introducing Xcode 4

    24/51

    New ways to work with editors Jump Bar Assistant Editor Support

    Inspector

    Library

    25

  • 8/6/2019 307 Introducing Xcode 4

    25/51

    Editing and searching

    26

  • 8/6/2019 307 Introducing Xcode 4

    26/51

    Workspaces

    Navigation

    Editing

    Organizer

    Version Editor Debugging

    Schemes

    27

  • 8/6/2019 307 Introducing Xcode 4

    27/51

    Workspaces

    Navigation

    Editing

    Organizer

    Version Editor Debugging

    Schemes

    28

  • 8/6/2019 307 Introducing Xcode 4

    28/51

    29

  • 8/6/2019 307 Introducing Xcode 4

    29/51

    Workspaces

    Navigation Editing

    Organizer

    Version Editor Debugging

    Schemes

    30

  • 8/6/2019 307 Introducing Xcode 4

    30/51

    Workspaces

    Navigation Editing

    Organizer

    Version Editor Debugging

    Schemes

    31

  • 8/6/2019 307 Introducing Xcode 4

    31/51

    Workspaces

    Navigation Editing

    Organizer

    Version Editor Debugging

    Schemes

    32

  • 8/6/2019 307 Introducing Xcode 4

    32/51

    Workspaces

    Navigation Editing

    Organizer

    Version Editor Debugging

    Schemes

    33

  • 8/6/2019 307 Introducing Xcode 4

    33/51

    scheme|skm|

    noun

    alarge-scalesystematicplanorar

    rangementfor

    attainingsomeparticularobjectorput

    tingaparticularideaintoeffect.

    34

  • 8/6/2019 307 Introducing Xcode 4

    34/51

    35

  • 8/6/2019 307 Introducing Xcode 4

    35/51

    36

  • 8/6/2019 307 Introducing Xcode 4

    36/51

    Feature Development

    App and library

    Debug configuration

    { MyNewUnitTests targetLaunch MyApp in the Debugger

    37

  • 8/6/2019 307 Introducing Xcode 4

    37/51

    Bug Fixing

    App and library

    Debug configuration

    { Launch MyApp in DebuggerDiagnostics (MallocStackLogging, etc.)

    38

  • 8/6/2019 307 Introducing Xcode 4

    38/51

    App and library

    Release configuration

    {Launch MyApp in Instruments

    Performance tests

    Performance Testing

    39

  • 8/6/2019 307 Introducing Xcode 4

    39/51

    App and library

    Release configuration

    {Launch MyApp in Instruments

    Performance tests{Performance TestingBug Fixing

    Feature Development

    40

  • 8/6/2019 307 Introducing Xcode 4

    40/51

    {LaunchSchemes Performance TestingBug Fixing

    Feature Development

    41

  • 8/6/2019 307 Introducing Xcode 4

    41/51

    {Build All, Create Debug DMG

    Create Application

    Build + Test + Create DMG

    Distribution

    Schemes

    42

  • 8/6/2019 307 Introducing Xcode 4

    42/51

    Build + Test + Create DMG

    App and library

    Release configuration

    {Archive MyApp to .dmg

    All unit tests

    43

  • 8/6/2019 307 Introducing Xcode 4

    43/51

    44

  • 8/6/2019 307 Introducing Xcode 4

    44/51

    45

  • 8/6/2019 307 Introducing Xcode 4

    45/51

    Workspaces

    Navigation Editing

    Organizer

    Version Editor Debugging

    Schemes

    46

  • 8/6/2019 307 Introducing Xcode 4

    46/51

    Workspaces

    Navigation Editing

    Organizer

    Version Editor Debugging

    Schemes

    47

  • 8/6/2019 307 Introducing Xcode 4

    47/51

    Michael JurewitzDeveloper Tools Evangelist

    [email protected]

    DocumentationMac OS X Human Interface Guidelineshttp://developer.apple.com/ue

    Apple Developer Forumshttp://devforums.apple.com

    48

  • 8/6/2019 307 Introducing Xcode 4

    48/51

    Developing Your App with Xcode 4 MissionWed 4:30PM

    Building and Distributing Your App with Xcode 4 Pacific HeightsThu 3:15PM

    Using Interface Builder in Xcode 4 Pacific HeightsThu 4:30PM

    49

  • 8/6/2019 307 Introducing Xcode 4

    49/51

    Xcode 4 LabDeveloper Tools Lab AThu 11:30AM

    Xcode 4 LabDeveloper Tools Lab BFri 9:00AM

    50

  • 8/6/2019 307 Introducing Xcode 4

    50/51

    51

  • 8/6/2019 307 Introducing Xcode 4

    51/51

    52