{"id":25195949,"url":"https://github.com/simplisticated/start","last_synced_at":"2025-08-18T13:08:11.798Z","repository":{"id":62456005,"uuid":"146336860","full_name":"simplisticated/Start","owner":"simplisticated","description":"App launch handler for iOS","archived":false,"fork":false,"pushed_at":"2018-08-31T21:05:26.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T07:09:59.235Z","etag":null,"topics":["swift","uiapplication","uiapplicationdelegate","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplisticated.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}},"created_at":"2018-08-27T18:20:42.000Z","updated_at":"2021-12-23T11:05:07.000Z","dependencies_parsed_at":"2022-11-02T00:01:26.792Z","dependency_job_id":null,"html_url":"https://github.com/simplisticated/Start","commit_stats":null,"previous_names":["igormatyushkin014/start"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/simplisticated/Start","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplisticated%2FStart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplisticated%2FStart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplisticated%2FStart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplisticated%2FStart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplisticated","download_url":"https://codeload.github.com/simplisticated/Start/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplisticated%2FStart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270996973,"owners_count":24681953,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["swift","uiapplication","uiapplicationdelegate","xcode"],"created_at":"2025-02-10T01:39:11.830Z","updated_at":"2025-08-18T13:08:11.774Z","avatar_url":"https://github.com/simplisticated.png","language":"Swift","readme":"\u003cp align=\"center\" \u003e\n\t\u003cimg src=\"/Images/logo_2048_2048.png\" alt=\"Start\" title=\"Start\" width=\"300px\" height=\"300px\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://swift.org\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://cocoapods.org\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/cocoapods/v/Start.svg\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://cocoapods.org\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/cocoapods/dt/Start.svg\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://tldrlegal.com/license/mit-license\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/badge/License-Apache 2.0-blue.svg?style=flat\"\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n## At a Glance\n\n`Start` is a tool that handles different things occurring on app launch.\n\n## How To Get Started\n\n- Copy content of `Source` folder to your project.\n\nor\n\n- Use `Start` cocoapod\n\n## Requirements\n\n* iOS 9 and later\n* Xcode 9 and later\n* Swift 4\n\n## Usage\n\n### Launch count\n\nIn your `AppDelegate`, increment the number of launches stored by `Start` library:\n\n```swift\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -\u003e Bool {\n    // ...\n    \n    Start.launches.increment()\n    \n    // ...\n    \n    return true\n}\n```\n\nNow you can retrieve number of app's launches:\n\n```swift\nlet launchCount = Start.launches.count\n```\n\nIt's very easy to check if the app is launched for the first time:\n\n```swift\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -\u003e Bool {\n    // ...\n    \n    Start.launches.increment()\n    \n    // ...\n    \n    switch Start.launches.count {\n    case 1:\n        // The first launch\n        break\n    default:\n        // Not the first launch\n        break\n    }\n    \n    // ...\n    \n    return true\n}\n```\n\nSometimes you might need to reset the number of launches:\n\n```swift\nStart.launches.reset()\n```\n\n## License\n\n`Start` is available under the Apache 2.0 license. See the [LICENSE](./LICENSE) file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplisticated%2Fstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplisticated%2Fstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplisticated%2Fstart/lists"}