{"id":24665631,"url":"https://github.com/batyrrasulov/recipes-mac-catalyst","last_synced_at":"2026-05-19T19:38:22.347Z","repository":{"id":273131726,"uuid":"918792140","full_name":"batyrrasulov/recipes-mac-catalyst","owner":"batyrrasulov","description":"Swift-based recipes app built with Mac Catalyst for Mac and iPhone.","archived":false,"fork":false,"pushed_at":"2025-01-24T23:35:21.000Z","size":6054,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T00:24:26.015Z","etag":null,"topics":["ios","mac-catalyst","swift","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/batyrrasulov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE/LICENSE.txt","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,"publiccode":null,"codemeta":null}},"created_at":"2025-01-18T21:33:02.000Z","updated_at":"2025-01-24T23:35:24.000Z","dependencies_parsed_at":"2025-01-25T00:24:28.930Z","dependency_job_id":null,"html_url":"https://github.com/batyrrasulov/recipes-mac-catalyst","commit_stats":null,"previous_names":["batyrrasulov/mac-catalyst-recipes-app","batyrrasulov/recipes-mac-catalyst"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batyrrasulov%2Frecipes-mac-catalyst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batyrrasulov%2Frecipes-mac-catalyst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batyrrasulov%2Frecipes-mac-catalyst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batyrrasulov%2Frecipes-mac-catalyst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/batyrrasulov","download_url":"https://codeload.github.com/batyrrasulov/recipes-mac-catalyst/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244781737,"owners_count":20509659,"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":["ios","mac-catalyst","swift","swiftui"],"created_at":"2025-01-26T07:12:57.817Z","updated_at":"2026-05-19T19:38:12.334Z","avatar_url":"https://github.com/batyrrasulov.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mac Catalyst Recipes App\n\nA **Mac Catalyst** application built with **Swift**, allowing users to create, edit, and manage their favorite recipes across **macOS, iPadOS, and iOS**. Originally inspired by an **Apple Developer tutorial**, this project evolved into a fully functional **CRUD-based** recipes app with persistent data storage.\n\n## Features\n### Core Functionality:\n- **Browse Recipes** – View a list of saved recipes with ingredients and instructions.\n- **Create, Edit, Delete** – Add new recipes, modify existing ones, and remove unwanted ones.\n- **Search \u0026 Filter** – Quickly find recipes using keyword search.\n- **Image Support** – Add photos to recipes for better visual representation.\n- **Persistent Data** – Recipes remain saved even after closing the app (using **Core Data**).\n  \n### UI \u0026 User Experience:\n- **Dark Mode Support** – Seamlessly adapts to macOS and iOS dark mode.\n- **Multi-Device Compatibility** – Runs on **macOS, iPadOS, and iOS** with a unified UI.\n- **Adaptive Layout** – Responsive design with **Auto Layout** to fit different screen sizes.\n- **Smooth Animations** – Uses UIKit animations for better user experience.\n\n### Integration \u0026 Performance:\n- **Built with Mac Catalyst** – A fully functional macOS app derived from iPadOS.\n- **Optimized for Performance** – Uses lightweight data models and efficient queries.\n- **SwiftLint Used** – Maintains clean and readable Swift code.\n\n\n## Technologies Used\n| Component         | Technology |\n|------------------|------------|\n| **Language**     | Swift (UIKit) |\n| **Framework**    | Mac Catalyst |\n| **Data Storage** | Core Data |\n| **UI Components** | SwiftUI \u0026 Storyboards |\n| **Development Tool** | Xcode |\n| **Version Control** | Git \u0026 GitHub |\n\n\n\n## Installation \u0026 Setup\nFollow these steps to set up and run the app on your Mac or iPad:\n\n### Clone the Repository\n```sh\ngit clone https://github.com/batyrrasulov/mac-catalyst-recipes-app.git\ncd mac-catalyst-recipes-app\n```\n\n### Open in Xcode\n- Open the `.xcodeproj` file in Xcode.\n- Ensure **Mac Catalyst** is enabled in **Project Settings**.\n\n### Build \u0026 Run\n- Select the target device: **Mac, iPad, or iPhone**.\n- Click **Run** in Xcode to launch the app.\n\n\n## How It Works\n### **Data Management (Core Data)**\n- Recipes are stored in a **Core Data model**, ensuring persistent storage.\n- When a recipe is **added, edited, or deleted**, changes are saved in the local database.\n- Uses **NSFetchedResultsController** for real-time UI updates.\n\n### **Recipe Display \u0026 Search**\n- Recipes are displayed in a **UITableViewController** with sections for categories.\n- Search functionality filters recipes dynamically as users type.\n\n### **Multi-Device Support**\n- Uses **Mac Catalyst** to run the same codebase on macOS, iPadOS, and iOS.\n- **Auto Layout \u0026 Stack Views** ensure a responsive UI across different devices.\n\n\n## Challenges \u0026 Solutions\n### **Challenge:** Persistent Data Storage\n**Issue:** Ensuring that recipes remain saved after closing the app.  \n**Solution:** Implemented **Core Data** with an `NSPersistentContainer` to store and retrieve recipes efficiently.\n\n### **Challenge:** UI Adaptability Across Devices\n**Issue:** Maintaining a clean UI for different screen sizes.  \n**Solution:** Used **Auto Layout**, Stack Views, and adaptive UI components.\n\n### **Challenge:** Optimizing Performance\n**Issue:** Preventing slow UI updates when managing large recipe lists.  \n**Solution:** Used **NSFetchedResultsController** to handle updates efficiently.\n\n\n## Future Improvements\n- **iCloud Sync** – Sync recipes across all Apple devices.\n- **Advanced Search** – Search by ingredients, categories, and cooking time.\n- **Meal Planning** – Add meal scheduling and grocery list features.\n- **Voice Commands** – Use **SiriKit** to add and retrieve recipes.\n- **Widgets \u0026 Shortcuts** – Add iOS/macOS home screen widgets.\n\n## Screenshots \u0026 Demo\n![Simulator Screenshot - iPhone 16 Pro - 2025-01-18 at 14 19 22](https://github.com/user-attachments/assets/67566e50-e62e-48f8-9090-38f75b127186)\n\n![Simulator Screenshot - iPhone 16 Pro - 2025-01-18 at 14 19 55](https://github.com/user-attachments/assets/1c298c5e-f757-48bf-97f2-17bbbb37b1d2)\n\n\u003cimg width=\"1022\" alt=\"Screenshot 2025-01-18 at 14 23 06\" src=\"https://github.com/user-attachments/assets/5dcb7246-d606-425a-bffd-5a0cdfc05f52\" /\u003e\n\n**Demo Video:** [Click Here](https://1drv.ms/v/c/b29dbbf12dfc7458/EeuGUJjGRHBAjYDl14lFHlkBx_fW1WcvV1Fakmec41jDPw?e=4fb1CC)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatyrrasulov%2Frecipes-mac-catalyst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatyrrasulov%2Frecipes-mac-catalyst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatyrrasulov%2Frecipes-mac-catalyst/lists"}