Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 2.51 KB

swiftgpt.md

File metadata and controls

30 lines (16 loc) · 2.51 KB

SwiftGPT

SwiftGPT is a handy app that serves as your personal guide to Swift and Apple SDKs. Whether you need help debugging code, improving a function, or understanding complex algorithms, SwiftGPT is here for you. With access to a vast amount of knowledge, you can rely on this app to provide insightful explanations and suggestions. Along with its friendly welcome message, SwiftGPT offers useful tools like a browser, Python interpreter, and DALL·E image generation. Get ready to enhance your Swift coding skills and explore the world of Apple SDKs with SwiftGPT!

Example prompts

  1. Prompt 1: "Debug this code: I'm getting an 'unexpected nil' error when trying to access a value from an optional variable."

  2. Prompt 2: "What's wrong with this function? It's not returning the correct result when multiplying two numbers."

  3. Prompt 3: "Suggest an improvement for this class: It's not handling edge cases properly when parsing user input."

  4. Prompt 4: "Explain this algorithm: How does the bubble sort algorithm work in Swift?"

  5. Prompt 5: "In Swift: How can I securely store user credentials in my iOS app?"

Features and commands

Feature/Command Description
debugCode This command allows you to get help with debugging Swift code. You can provide the code snippet that is causing an issue, and the AI will try to identify and explain the problem.
suggestImprovement This command lets you ask for suggestions to improve a piece of Swift code. You can provide the code snippet, and the AI will offer suggestions to enhance its functionality or efficiency.
explainAlgorithm With this command, you can ask the AI to explain how a specific algorithm works in Swift. You need to provide the name of the algorithm, and the AI will provide a high-level explanation of its process and purpose.
storeCredentials This command provides guidance on securely storing user credentials in iOS apps developed with Swift. The AI will suggest best practices and techniques to ensure the security and protection of sensitive user data.