Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sabarnett/filedialogsapp
Content to go with the file dialogs article
https://github.com/sabarnett/filedialogsapp
Last synced: 25 days ago
JSON representation
Content to go with the file dialogs article
- Host: GitHub
- URL: https://github.com/sabarnett/filedialogsapp
- Owner: sabarnett
- Created: 2024-07-21T10:51:40.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T15:34:42.000Z (4 months ago)
- Last Synced: 2024-07-21T16:52:03.208Z (4 months ago)
- Language: Swift
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
When I started trying to write a Mac app for the first time, I started out knowing what I wanted to achieve but not knowing how to go about it. I spent a lot of time googling for Mac development help and found very little of it. What i did find was mostly related to Objective-C and not Swift/SwiftUI.
So, I spent a lot of time going round in circles, extracting the bits that I thought relevant and heading down a lot of blind alleys.
This project is part of a series of development notes I want to write to document some of the stuff I learnt along the way. The note that goes with it can be found on my web site.
[File Dialogs](http://www.sabarnett.co.uk/blogPage.php?id=fileDialogs)
[Custom File Extensions](http://www.sabarnett.co.uk/blogPage.php?id=fileExtensions)
The File Dialogs note deals with the three basic file related dialogs.
### Opening a file
![Opening a file](selectTextFile.png)
### Save a file as
![Save File As](saveAsDialog.png)
### Selecting a folder
![Selecting A Folder](folderSelectDialog.png)
### Custom File Types
While the first note deals with 'standard' or built-in file types, a second note expands on this topic to show how we can define our own file type handlers.
![Custom File Types](fileTypeSettings.png)