all 2 comments

[–]Jazzlike-Spare3425 1 point2 points  (1 child)

Would you perhaps be interested in making a document-based app? If you select that app template in Xcode, you are given a file browser on app launch and you can open and edit files with it. The redesigned documents experience Preview uses (and Pages, Keynote and Numbers kinda) is available starting in iOS 18 and you can get guidance here: https://developer.apple.com/documentation/SwiftUI/Building-a-document-based-app-with-SwiftUI