{"id":15038509,"url":"https://github.com/halilozel1903/moonweight","last_synced_at":"2025-04-09T23:40:48.174Z","repository":{"id":91423772,"uuid":"120138147","full_name":"halilozel1903/MoonWeight","owner":"halilozel1903","description":"Moon Weight 🌙 is an iOS application developed with Swift 5.5.","archived":false,"fork":false,"pushed_at":"2022-12-02T04:42:03.000Z","size":983,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-24T01:35:12.445Z","etag":null,"topics":["appledev","appledeveloper","ios","ios-app","ios-app-development","ios-application","ios-demo","ios-game","ios-swift","mobile-app","mobile-development","mobile-game","swift","swift-basic","swift-example","swift-game","swift-language","swift-tutorial","swift-tutorials","swift5"],"latest_commit_sha":null,"homepage":"https://medium.com/@halilozel1903","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/halilozel1903.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":"2018-02-03T23:14:34.000Z","updated_at":"2023-07-02T03:23:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"b94b5861-0e99-455f-ade0-223c3cfe2947","html_url":"https://github.com/halilozel1903/MoonWeight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilozel1903%2FMoonWeight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilozel1903%2FMoonWeight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilozel1903%2FMoonWeight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilozel1903%2FMoonWeight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halilozel1903","download_url":"https://codeload.github.com/halilozel1903/MoonWeight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131467,"owners_count":21052819,"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":["appledev","appledeveloper","ios","ios-app","ios-app-development","ios-application","ios-demo","ios-game","ios-swift","mobile-app","mobile-development","mobile-game","swift","swift-basic","swift-example","swift-game","swift-language","swift-tutorial","swift-tutorials","swift5"],"created_at":"2024-09-24T20:38:44.531Z","updated_at":"2025-04-09T23:40:48.164Z","avatar_url":"https://github.com/halilozel1903.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moon 🌙 Weight 🏋🏻‍♂️ App 💻\n\n![Screenshot](world.jpg)\n\nOur Mass in the Moon is an iOS application developed with Swift-5.5. It is an application that learns how many kilos the user weighs and calculates how many kilos we would have had if we were on the Moon. To find our mass on the Moon, we find the normal mass by dividing by 6. \n\n## App Design 👨🏻‍💻\n\n\u003cimg src=\"res1.png\" width=\"400\" /\u003e \n\nThe application uses many different components such as image, button, textfield and label. The user will be able to find his mass on the Moon by entering his mass in the required field and then pressing the calculate button.\n\n## App Demo 🎬\n\n\u003cimg src=\"screen1.png\" width=\"500\" /\u003e \n\nThe user can enter his weight and see the monthly equivalent. The user only has a mass that is directly divisible by 6\nSince it would be absurd to think that it has, we defined the values as double and performed the operations.\n\n## Detailed Description of the Application 👀\n\nI wrote a blog post about the app. You can access the article from the link below:\n\n[Swift-4 ile iOS Uygulaması - Aydaki Ağırlığımız Ne Kadar ?](https://medium.com/@halilozel1903/swift-4-ile-ios-uygulamas%C4%B1-aydaki-k%C3%BCtlemiz-ne-kadar-73084561f838)\n\n\n## Explanation of Application Codes 🔎\n\n```swift \n @IBOutlet weak var kutleText: UITextField!\n @IBOutlet weak var sonucText: UILabel!\n```\nWe defined a Text Field to get the mass value. We defined a label to process the received value and display it to the user.\n\n\n```swift \n @IBAction func calculate(_ sender: Any) {\n        \n        var kutle = Double(kutleText.text!)\n        var sonuc = kutle! / 6.0\n        \n        sonucText.text = \"Aydaki kilonuz : \\(sonuc)\"\n        \n    }\n```\n\nWe want an action to be taken when the button is pressed. The value received from the user is divided by 6 and assigned to a variable. We show this value to the user on the screen. We assigned this value to the result label.\n\n## License ℹ️\n```\nMIT License\n\nCopyright (c) 2022 Halil OZEL\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalilozel1903%2Fmoonweight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalilozel1903%2Fmoonweight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalilozel1903%2Fmoonweight/lists"}