Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Playgrounds to DocC Interactive Tutorials #325

Open
3 of 22 tasks
cbaker6 opened this issue Jan 21, 2022 · 1 comment
Open
3 of 22 tasks

Convert Playgrounds to DocC Interactive Tutorials #325

cbaker6 opened this issue Jan 21, 2022 · 1 comment
Labels
type:docs Only change in the docs or README

Comments

@cbaker6
Copy link
Contributor

cbaker6 commented Jan 21, 2022

New Feature / Enhancement Checklist

Current Limitation

The SDK supports DocC Interactive Tutorials, but currently has no interactive tutorials. These tutorials can be used to teach developers how to use the SDK.

All of the current tutorials are in Swift Playgrounds.

Feature / Enhancement Description

Use the Swift Playgrounds as a baseline to make Interactive tutorials. These tutorials should include images/screenshots. This is useful when:

  1. A developer wants view our tutorials online at https://parseplatform.org/Parse-Swift/release/tutorials/parseswift/
  2. A developer depends on the Parse-Swift SDK using SPM and goes to "Xcode->Product->Build Documentation" in their project locally

image

The initial tutorial file that should be edited is here: https://github.com/parse-community/Parse-Swift/blob/main/Sources/ParseSwift/Documentation.docc/Your%20First%20Object.tutorial

The Swift Playgrounds should be left intact as they give developers a real way to test the SDK against a Parse Server. Feel free to tackle individual tutorials in separate PR's. You can leverage text from the original Objective-C SDK guide. Much of the Swift Playground code uses completion handlers for asynchronous code. It will be beneficial to write most of the code in the tutorial using try await instead.

Tutorials with a checkbox have already been converted from their Swift Playgrounds counterparts:

  • 1 - Your first Object
  • 2 - Finding Objects
  • 3 - User - Sign Up
  • 4 - User - Continued
  • 5 - ACL
  • 6 - Installation
  • 7 - GeoPoint
  • 8 - Pointers
  • 9 - Files
  • 10 - Cloud Code
  • 11 - LiveQuery
  • 12 - Roles and Relations
  • 13 - Operations
  • 14 - Config
  • 15 - Custom ObjectId
  • 16 - Analytics
  • 17 - SwiftUI - Finding Objects
  • 18 - SwiftUI - Finding Objects With Custom ViewModel
  • 19 - SwiftUI - LiveQuery

Example Use Case

Completed tutorials will look like: https://developer.apple.com/tutorials/swiftui

Videos for Designing DocC Tutorials

Alternatives / Workarounds

Solely depend on Playground implementations for demonstrating how to use SDK.

3rd Party References

https://developer.apple.com/tutorials/swiftui

@parse-github-assistant
Copy link

parse-github-assistant bot commented Jan 21, 2022

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@cbaker6 cbaker6 pinned this issue Jan 21, 2022
@mtrezza mtrezza added the type:docs Only change in the docs or README label Jan 21, 2022
@mtrezza mtrezza unpinned this issue Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:docs Only change in the docs or README
Projects
None yet
Development

No branches or pull requests

2 participants