{"id":23335053,"url":"https://github.com/workwithafridi/calc-swiftui_calculatorapp","last_synced_at":"2025-04-07T12:28:54.315Z","repository":{"id":169375165,"uuid":"645328313","full_name":"WorkWithAfridi/CalC-SwiftUI_CalculatorApp","owner":"WorkWithAfridi","description":"A simple SwiftUI Calculator app designed for beginners to learn the basics of SwiftUI and building user interfaces. The app allows users to perform basic arithmetic calculations like addition, subtraction, multiplication, and division.","archived":false,"fork":false,"pushed_at":"2023-05-25T12:16:55.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T15:17:27.823Z","etag":null,"topics":[],"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/WorkWithAfridi.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}},"created_at":"2023-05-25T12:11:39.000Z","updated_at":"2023-05-26T03:43:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"b919a826-bbc5-4b0c-bbe1-1f109323f3de","html_url":"https://github.com/WorkWithAfridi/CalC-SwiftUI_CalculatorApp","commit_stats":null,"previous_names":["workwithafridi/swiftui-calculatorapp","workwithafridi/calc-swiftui_calculatorapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkWithAfridi%2FCalC-SwiftUI_CalculatorApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkWithAfridi%2FCalC-SwiftUI_CalculatorApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkWithAfridi%2FCalC-SwiftUI_CalculatorApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorkWithAfridi%2FCalC-SwiftUI_CalculatorApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WorkWithAfridi","download_url":"https://codeload.github.com/WorkWithAfridi/CalC-SwiftUI_CalculatorApp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247652034,"owners_count":20973548,"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":[],"created_at":"2024-12-21T01:16:00.379Z","updated_at":"2025-04-07T12:28:54.294Z","avatar_url":"https://github.com/WorkWithAfridi.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"Beginner Level SwiftUI Calculator App\nCalculatorApp\n\nThis is a simple SwiftUI Calculator app designed for beginners to learn the basics of SwiftUI and building user interfaces. The app allows users to perform basic arithmetic calculations like addition, subtraction, multiplication, and division.\n\nFeatures\nSimple and intuitive user interface.\nPerforms basic arithmetic calculations.\nSupports addition, subtraction, multiplication, and division.\nClear button to reset the input and result.\nError handling for division by zero.\nRequirements\nXcode 12 or later\niOS 14 or later\nGetting Started\nTo get started with the Calculator app, follow these steps:\n\nClone the repository:\n\nbash\nCopy code\ngit clone https://github.com/WorkWithAfridi/SwiftUI-CalculatorApp.git\nOpen the project in Xcode.\n\nBuild and run the app on the iOS simulator or a physical device.\n\nUsage\nOnce you have the app running, you can use it to perform basic calculations. The user interface consists of buttons for numbers, operators, and a display for the input and result.\n\nTap the number buttons to input numbers.\nTap the operator buttons to perform calculations.\nTap the equal (=) button to get the result.\nTap the clear (AC) button to reset the input and result.\nImplementation Details\nThe Calculator app is implemented using SwiftUI, Apple's modern declarative UI framework. The UI is constructed using SwiftUI's view components, such as Text, Button, and VStack.\n\nThe calculation logic is implemented using Swift functions and operators. The input and result are stored in @State properties that trigger UI updates when their values change.\n\nContributing\nContributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.\n\nLicense\nThis project is licensed under the MIT License. You can find the license details in the LICENSE file.\n\nAcknowledgments\nThe Calculator app was inspired by the SwiftUI tutorials and documentation provided by Apple.\nContact\nIf you have any questions or need further assistance, feel free to reach out to me at afridi.khondakar@gmail.com\n\nHappy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkwithafridi%2Fcalc-swiftui_calculatorapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkwithafridi%2Fcalc-swiftui_calculatorapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkwithafridi%2Fcalc-swiftui_calculatorapp/lists"}