Skip to content

Conversation

fwcd
Copy link
Owner

@fwcd fwcd commented Jan 22, 2023

Fixes #1. We'd need to investigate how well this works in the Swift Playgrounds sandbox and whether we might be able to provide a different startup flow from the 'plain' file picker.

Also we'd want to handle the synchronization in a less ad-hoc way. One option would be to move to a ReferenceFileDocument (like in this example) that we pass to EditorViewModel and then use as the source of truth for the raw recipe there.

Finally it would be cool if we could get the menu bar items working (open, save etc.). This could be a Catalyst limitation too though.

@fwcd fwcd added enhancement New feature or request polish Polishing view View-related labels Jan 22, 2023
@fwcd fwcd changed the title WIP. Add document support WIP: Add document support Jan 22, 2023
@fwcd fwcd force-pushed the document-group branch 2 times, most recently from 1f02a86 to 650ee4b Compare February 19, 2023 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request polish Polishing view View-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use SwiftUI document APIs to implement support for reading/writing recipes
1 participant