Skip to content

Latest commit

 

History

History
84 lines (60 loc) · 2.23 KB

File metadata and controls

84 lines (60 loc) · 2.23 KB

Landmarks — GitHub Copilot for Xcode Workshop

← README


Quick Reference Guide — For detailed instructions, see the individual parts below.


📚 Lab Parts

Part Title
00 Overview & Checklist
01 Prerequisites & Setup
02 Understanding Code with Copilot Chat
03 Code Completion with Inline Suggestions
04 Agent Mode — Multi-File Refactoring
05 Plan Agent — Breaking Down Complex Tasks
06 GitHub MCP Server Integration
07 Copilot Vision (Optional)
08 Best Practices, Tips & Resources

⚡ Quick Checklist

  • Xcode 15 or later
  • GitHub Copilot for Xcode extension installed
  • Signed in to GitHub Copilot
  • Copilot Chat panel open

📋 Task Summary

Part 1: Setup

  • Install GitHub Copilot for Xcode
  • Grant required permissions
  • Sign in to GitHub Copilot
  • Open the workshop project

Part 2: Copilot Chat

  • Select a model
  • Use Ask mode to explore code
  • Try follow-up questions and @workspace

Part 3: Code Completion

  • Add inline suggestions with comments
  • Accept suggestions with Tab

Part 4: Agent Mode

  • Multi-file refactoring with Agent mode
  • Review proposed changes in diff view

Part 5: Plan Agent

  • Break down a complex feature into steps
  • Review and refine the plan

Part 6: MCP Server

  • Install GitHub MCP Server
  • Query repositories and pull requests

Part 7: Copilot Vision (Optional)

  • Generate SwiftUI code from a design mockup

💡 Tips

  1. Keep the Preview Canvas open for live UI updates
  2. Commit working code often
  3. Use Cmd + Z to revert unexpected changes
  4. Iterate on prompts for better results

🔗 Resources