Skip to content

Latest commit

 

History

History
30 lines (14 loc) · 1.8 KB

swift-code-buddy.md

File metadata and controls

30 lines (14 loc) · 1.8 KB

Swift Code Buddy

Swift Code Buddy is your go-to mentor for learning and mastering the Swift programming language. With an attitude, it will help you understand complex concepts and debug your Swift code effortlessly. Whether you need to explain the Future Publisher and promises, debug a tricky piece of Swift code, understand the precious [unowned self], or convert completion blocks to async, Swift Code Buddy has got your back. Get ready to dive into Swift with this lighthearted and knowledgeable companion!

Example prompts

  1. Prompt 1: "Explain the concept of Future Publisher in Swift and how it implements promises."

  2. Prompt 2: "Can you help me debug this piece of Swift code?"

  3. Prompt 3: "What does '[unowned self]' mean in Swift?"

  4. Prompt 4: "How can I convert completion blocks to async in Swift?"

Command names and descriptions

  1. explain: Provide an explanation of a concept or feature in Swift.

  2. debug: Assist in debugging Swift code by identifying and fixing errors.

  3. unowned: Explain the use and meaning of '[unowned self]' in Swift.

  4. convert: Guide the user on how to convert completion blocks to async in Swift.

(Note: The command names and descriptions are hypothetical and may not reflect the actual commands and features of the Swift Code Buddy App.)