{"id":28104352,"url":"https://github.com/aranfononi/pinch-app-swiftui-masterclass","last_synced_at":"2026-05-17T08:32:25.347Z","repository":{"id":285895765,"uuid":"959348192","full_name":"AranFononi/Pinch-App-SwiftUI-MasterClass","owner":"AranFononi","description":"A simple SwiftUI pinch-to-zoom image viewer built as part of a SwiftUI Masterclass course (Chapter 11). The core idea was to work with gestures like pinch, drag, and tap. I also added my own touch by breaking the layout into clean, reusable components to keep the codebase modular and easier to manage.","archived":false,"fork":false,"pushed_at":"2025-04-27T13:42:54.000Z","size":14888,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T09:07:36.878Z","etag":null,"topics":["ios","ios-developer","ios-development","iosdeveloper","swift","swiftui","swiftui-animations","swiftui-components","swiftui-example","swiftui-framework","swiftui-learning"],"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/AranFononi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-04-02T16:39:53.000Z","updated_at":"2025-04-27T13:42:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"2520ba5b-3807-4ee7-9c4e-9ea0aa1a807a","html_url":"https://github.com/AranFononi/Pinch-App-SwiftUI-MasterClass","commit_stats":null,"previous_names":["aranfononi/pinch-app-swiftui-masterclass"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AranFononi/Pinch-App-SwiftUI-MasterClass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AranFononi%2FPinch-App-SwiftUI-MasterClass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AranFononi%2FPinch-App-SwiftUI-MasterClass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AranFononi%2FPinch-App-SwiftUI-MasterClass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AranFononi%2FPinch-App-SwiftUI-MasterClass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AranFononi","download_url":"https://codeload.github.com/AranFononi/Pinch-App-SwiftUI-MasterClass/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AranFononi%2FPinch-App-SwiftUI-MasterClass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33131890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ios","ios-developer","ios-development","iosdeveloper","swift","swiftui","swiftui-animations","swiftui-components","swiftui-example","swiftui-framework","swiftui-learning"],"created_at":"2025-05-13T20:49:52.621Z","updated_at":"2026-05-17T08:32:25.330Z","avatar_url":"https://github.com/AranFononi.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pinch \u0026 Zoom Viewer 📱🖼️\n\n### Learning SwiftUI Gestures, Animations \u0026 Component Design\n\nThis project is from Chapter 11 of the SwiftUI Masterclass. The main goal was to build a pinch-to-zoom image viewer using tap, drag, and magnification gestures. I also took it a step further by breaking everything into small, clean components for better code structure.\n\n## 📌 Project Overview  \nA minimal SwiftUI image viewer with smooth zoom, drag, and tap-to-reset interactions. UI updates in real-time and stays responsive while scaling or moving the image.  \n\n## 🚀 What I Focused On  \n- **Gestures in SwiftUI:** Tap, drag, and magnification  \n- **Custom Components:** Split UI into small reusable views  \n- **Smooth Animations:** Used `withAnimation` and `symbolEffect`  \n- **View Coordination:** Managed state across different parts of the app  \n\n## 🔥 Features  \n✅ Pinch to zoom in and out  \n✅ Double tap to zoom and reset  \n✅ Drag to move image around  \n✅ Info panel with scale and position values  \n✅ Drawer with thumbnails to switch images  \n✅ Clean and modular structure  \n\n---\n\n## 📸 Preview ( might take few seconds to load )  \n![Pinch App Demo](./Documents/Readme.gif)\n\n---\n\n## 🛠️ How to Use  \n1. Clone the repo  \n2. Open the project in Xcode  \n3. Run on iPhone simulator or physical device (iOS 16+)  \n\n---\n\n## 📬 Contact  \nFor any questions or feedback, feel free to reach out:  \n- **Email**: [aranfononi@gmail.com](mailto:aranfononi@gmail.com)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faranfononi%2Fpinch-app-swiftui-masterclass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faranfononi%2Fpinch-app-swiftui-masterclass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faranfononi%2Fpinch-app-swiftui-masterclass/lists"}