{"id":16964044,"url":"https://github.com/sabarnett/mactemplateapp","last_synced_at":"2026-05-06T12:37:39.018Z","repository":{"id":194379787,"uuid":"690712932","full_name":"sabarnett/MacTemplateApp","owner":"sabarnett","description":"A template for Mac desktop apps","archived":false,"fork":false,"pushed_at":"2024-02-21T15:21:27.000Z","size":36649,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T11:45:12.979Z","etag":null,"topics":["macos","swiftui","template"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sabarnett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-09-12T18:11:27.000Z","updated_at":"2024-08-21T20:02:31.000Z","dependencies_parsed_at":"2024-02-21T16:36:05.573Z","dependency_job_id":"2df28870-03a5-4d0e-844a-04855f3be477","html_url":"https://github.com/sabarnett/MacTemplateApp","commit_stats":null,"previous_names":["sabarnett/mactemplateapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabarnett%2FMacTemplateApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabarnett%2FMacTemplateApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabarnett%2FMacTemplateApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabarnett%2FMacTemplateApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sabarnett","download_url":"https://codeload.github.com/sabarnett/MacTemplateApp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244828306,"owners_count":20517090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos","swiftui","template"],"created_at":"2024-10-13T23:27:01.419Z","updated_at":"2026-05-06T12:37:38.969Z","avatar_url":"https://github.com/sabarnett.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mac Template\n\nI'm a bit new to writing Mac applications with SwiftUI. I've written a few iOS apps (entirely for my\nown amusement) but my exposure to Mac development is minimal. As an ex-Windows developer\nit's a natural progression to do Mac development, so I need to pull together some of the basic\nconcepts.\n\nThe best way to document this stuff is to create a template for a Mac application that includes all of\nthe basics like window layout, dialogs, menus and a few other things.\n\nThat's what this project is. It's a template that I am developing along side the creation of some\ndocumentation on Mac development with SwiftUI. \n\n## Documentation\n\nThe documentation is in a Scrivener file, which I have not included here. It's a work in progress\nand a long way from public release. However, in the Docs folder, you will find the latest PDF version\nof the file. Until I get all the basic elements sorted out I'm not intending to do a proper review of the\ncontent, so it's a little rough and the language isn't necessarily what you would expect of a \nprofessional publication. But, then, this isn't a professional publication and I have no intention of\npublishing it, so that's all good.\n\n## Updates\n\nI intend to update this on a regular basis. The document may lag behind the code just because it's easier\nto push the code than it is to re-generate the document. Sorry about that.\n\n### Feb 2024\nI have extended the Notifications section to simplify the code and to remove the boilerplate\nthat we added to define the notification handler and the cleanup code. This has been replaced with the onReceive\nmodifier, forcing the SwiftUI engine to do the heavy lifting for us. I have also extended the Notifications struct\nto provide computed properties that simplify the code in the view greatly. \n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabarnett%2Fmactemplateapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsabarnett%2Fmactemplateapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabarnett%2Fmactemplateapp/lists"}