{"id":18028469,"url":"https://github.com/interactivetech/tipcalculator","last_synced_at":"2026-01-31T12:31:53.145Z","repository":{"id":74752239,"uuid":"99949599","full_name":"interactivetech/tipCalculator","owner":"interactivetech","description":"A simple tip calculator app, with an ARKit twist! :). Submission for Code Path Fall 2016 ios program ","archived":false,"fork":false,"pushed_at":"2017-08-11T23:54:50.000Z","size":10113,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-16T00:14:38.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/interactivetech.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":"2017-08-10T17:39:51.000Z","updated_at":"2017-08-11T16:00:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d32998f-bbf1-4c99-bb8a-458af2f652df","html_url":"https://github.com/interactivetech/tipCalculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/interactivetech/tipCalculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactivetech%2FtipCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactivetech%2FtipCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactivetech%2FtipCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactivetech%2FtipCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interactivetech","download_url":"https://codeload.github.com/interactivetech/tipCalculator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactivetech%2FtipCalculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28942926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T12:10:04.904Z","status":"ssl_error","status_checked_at":"2026-01-31T12:09:58.894Z","response_time":128,"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":[],"created_at":"2024-10-30T08:42:16.967Z","updated_at":"2026-01-31T12:31:53.130Z","avatar_url":"https://github.com/interactivetech.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pre-work - tipCalculator\n\ntipCalculator is a tip calculator application for iOS.\n\nSubmitted by: Andrew Mendez\n\nTime spent: 8 hours spent in total\n\n## User Stories\n\nThe following **required** functionality is complete:\n\n* [x] User can enter a bill amount, choose a tip percentage, and see the tip and total values.\n* [x] Settings page to change the default tip percentage.\n\nThe following **optional** features are implemented:\n* [x] UI animations\n* [x] Remembering the bill amount across app restarts (if \u003c10mins)\n* [x] Using locale-specific currency and currency thousands separators.\n* [x] Making sure the keyboard is always visible and the bill amount is always the first responder. This way the user doesn't have to tap anywhere to use this app. Just launch the app and start typing.\n\nThe following **additional** features are implemented:\n* [x] ARKit experience of viewing final bill with tip included\n\n## Video Walkthrough \n\nHere's a walkthrough of implemented user stories:\n\u003cp\u003eCalculate Tip\u003c/p\u003e\n\u003cimg src='https://media.giphy.com/media/3o6vXSvzaBwL6m8M8M/giphy.gif' title='Calculate Tip' width='' alt='Video Walkthrough' /\u003e\n\u003cp\u003eEdit Settings\u003c/p\u003e\n\u003cimg src='https://media.giphy.com/media/l1J3DgxxW7c9gxCxi/giphy.gif' title='Change Default Tip' width='' alt='Edit Settings' /\u003e\n\u003cp\u003eView Final Bill in AR!\u003c/p\u003e\n\u003cimg src='https://thumbs.gfycat.com/BonyFrequentAsiaticlesserfreshwaterclam-size_restricted.gif' title='ARKit Experience' width='' alt='' /\u003e\n\nGIF created with GIF Brewery\n\n## Project Analysis\n\nAs part of your pre-work submission, please reflect on the app and answer the following questions below:\n\n**Question 1**: \"What are your reactions to the iOS app development platform so far? How would you describe outlets and actions to another developer? Bonus: any idea how they are being implemented under the hood? (It might give you some ideas if you right-click on the Storyboard and click Open As-\u003eSource Code\")\n\n**Answer:**\n\nFrom my experiene with iOS dev, it is easy to get started, but it takes time and skill to master, just like any other software development paradigm. What excites me about ios development is how much control you have over the design and the user experience as a developer, and makes me wear different hats and think about my work in an interdisciplinary way.\n\nIn the view of web development IBActions are the eventlisteners for your app window. You set up connection you set up with UI element and listen to a specific event you want, like when the value has changed. IBOutlets is like a variable you create so you can use the data and information from UI elements in your code i.e. view controllers.\n\n\nQuestion 2: \"Swift uses [Automatic Reference Counting](https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/AutomaticReferenceCounting.html#//apple_ref/doc/uid/TP40014097-CH20-ID49) (ARC), which is not a garbage collector, to manage memory. Can you explain how you can get a strong reference cycle for closures? (There's a section explaining this concept in the link, how would you summarize as simply as possible?)\"\n\n**Answer:** A Strong reference cycle occurs when setting references to members. If not careful, setting a member of an instance can accidentally increase the reference count of an instance and prevent the ARC from correctly deinitalizing instances. A strong reference cycle can occur for closures due to closures being references. If you set a member of an instance to a closure, and the body of the closure refers to \"self\", that is another reference to an instance that prevents correct deallocation by ARC.\n\n\n\n\n\n## License\n\n    Copyright 2017 Andrew Mendez\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractivetech%2Ftipcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finteractivetech%2Ftipcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractivetech%2Ftipcalculator/lists"}