{"id":23143118,"url":"https://github.com/cleancocoa/mac-appdev-code","last_synced_at":"2025-08-17T14:33:06.771Z","repository":{"id":23396282,"uuid":"26758222","full_name":"CleanCocoa/mac-appdev-code","owner":"CleanCocoa","description":"Example project code for the book \"Develop Mac Apps With a Clean Architecture and Swift\"","archived":false,"fork":false,"pushed_at":"2016-11-03T07:48:48.000Z","size":190,"stargazers_count":43,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T08:41:18.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://cleancocoa.com","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/CleanCocoa.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}},"created_at":"2014-11-17T13:40:22.000Z","updated_at":"2024-08-16T17:02:15.000Z","dependencies_parsed_at":"2022-07-08T04:20:32.569Z","dependency_job_id":null,"html_url":"https://github.com/CleanCocoa/mac-appdev-code","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/CleanCocoa/mac-appdev-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2Fmac-appdev-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2Fmac-appdev-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2Fmac-appdev-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2Fmac-appdev-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleanCocoa","download_url":"https://codeload.github.com/CleanCocoa/mac-appdev-code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2Fmac-appdev-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270859309,"owners_count":24658182,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-17T15:12:11.653Z","updated_at":"2025-08-17T14:33:06.502Z","avatar_url":"https://github.com/CleanCocoa.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"Exploring Mac App Development Strategies\n========================================\n\nExample project code for the book \"[Exploring Mac App Development Strategies](http://leanpub.com/develop-mac-apps-clean-architecture-swift)\". Part of the [Clean Cocoa Project](http://cleancocoa.com/).\n\n## The App\n\nThere are 2 app targets in this project:\n\n1. `DDDViewDataExample` is the original application which I develop in the book.\n2. `CoreDataOnly` is the result of the 4th part of the book, where I remove the separation of Core Data objects and Domain Model entities.\n\n_Note:_ This repository contains two other branches for historic reason: `core-data-only` and `core-data-ui`. They exist to show how the changes were applied.\n\nThe application itself won't be very useful; it's just the result of what I teach in the book and not a piece of software you want to use in your day-to-day life. So the real star is the code and its organization.\n\n### Project Groups\n\nThese are the project groups that correspond to layers in the application architecture:\n\n* **Infrastructure** hosts the database access.\n* **Domain** is where the business logic and the entities reside; it's supposed to be relatively independent from the actual app, but the `CoreDataOnly` example deviates from that.\n* **Application** is glue-code that makes the app run. It's where the `AppDelegate` lives and other orchestrating service objects do their job. The real meat is pushed into Domain and Infrastructure.\n* **User Interface** is everything AppKit-related, with Nibs and view controllers and all.\n\n## License\n\nCopyright (c) 2014--2016 Christian Tietze.\n\nThe code is distributed under The MIT License (MIT). See the `LICENSE` file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleancocoa%2Fmac-appdev-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleancocoa%2Fmac-appdev-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleancocoa%2Fmac-appdev-code/lists"}