{"id":23136293,"url":"https://github.com/landonepps/timecrumbs","last_synced_at":"2025-04-04T09:13:51.526Z","repository":{"id":145953330,"uuid":"222988980","full_name":"landonepps/TimeCrumbs","owner":"landonepps","description":"An iOS time tracking app that encourages users to track tasks under 30 minutes.","archived":false,"fork":false,"pushed_at":"2020-04-06T00:29:33.000Z","size":1703,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T19:50:19.794Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/landonepps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-11-20T17:14:09.000Z","updated_at":"2024-08-16T16:39:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"058b31b6-9aaa-496c-aadd-bba4f3dc2b6e","html_url":"https://github.com/landonepps/TimeCrumbs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landonepps%2FTimeCrumbs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landonepps%2FTimeCrumbs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landonepps%2FTimeCrumbs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landonepps%2FTimeCrumbs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/landonepps","download_url":"https://codeload.github.com/landonepps/TimeCrumbs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149510,"owners_count":20891954,"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-17T12:20:09.970Z","updated_at":"2025-04-04T09:13:51.521Z","avatar_url":"https://github.com/landonepps.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TimeCrumbs\nA time tracking app that encourages users to track tasks under 30 minutes.\n\n## Core Data\n\nThe persistent container is created in the App Delegate.\nAccess it by getting a reference to the App Delegate.\n\n```swift\nlet appDelegate = UIApplication.shared.delegate as? AppDelegate\nappDelegate?.persistentContainer\n```\n\nInstead of using a singleton, we use dependency injection to set the managed object context for the view controllers.\n\ne.g. In `SceneDelegate.swift`\n```swift\nif let rootVC = window?.rootViewController as? ViewController {\n    let appDelegate = UIApplication.shared.delegate as? AppDelegate\n    rootVC.moc = appDelegate?.persistentContainer.viewContext\n}\n```\n\n## Git\n\n#### Feature branch workflow\n\nCreate feature branch\n```bash\n# switch to develop\ngit checkout develop\n# fetch the latest changes\ngit pull origin develop\n# create feature branch\ngit checkout -b feature/add-some-feature\n```\nCommit changes \u0026 push to remote\n```bash\n# make changes, add, and commit\ngit add .\ngit commit -m \"Commit message\"\n# push feature branch to remote repo\ngit push -u origin feature/add-some-feature\n```\nPull feature branch into develop\n```bash\n# switch to develop\ngit checkout develop\n# pull changes to develop\ngit pull\n# pull changes from (remote) feature to (local) develop\ngit pull origin feature/add-some-feature\n# push merged local develop branch to remote\ngit push\n```\nDelete feature branch when done\n```bash\n# delete remote feature branch\ngit push origin --delete feature/add-some-feature\n# delete local feature branch\ngit branch -d feature/add-some-feature\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandonepps%2Ftimecrumbs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flandonepps%2Ftimecrumbs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandonepps%2Ftimecrumbs/lists"}