Goal: Learn how to select a model and use Copilot Chat to explore codebases.
- Open the Landmarks project in Xcode
- Navigate to ContentView.swift
Path:
Landmarks/Views/ContentView.swift - Open the Copilot Chat panel (see Setup step 6)
- Select a model: In the chat input area, look for the model selector (to the right of the wrench/settings icon), click it and choose the model you want. If GPT-5 mini is available, you can try that first.
- Different models may provide different response styles and capabilities
- You can experiment with different models to see which works best for you
- Select Ask mode using the mode toggle
- Try these prompts:
Explain what this file doesWhat SwiftUI components are used in this view?
Copilot provides clear explanations of the code structure and functionality.
- You can ask follow-up questions to dive deeper
- Use
@workspaceto query across the entire project - Reference specific code by selecting it before asking
- Try switching between different models to compare their responses
You've learned how to:
- Select and switch between AI models
- Use Ask mode to explore codebases
- Ask follow-up questions for deeper understanding
- Use
@workspacefor project-wide queries