{"id":3078,"url":"https://github.com/PhilippeBoisney/AlertOnboarding","last_synced_at":"2025-08-03T13:31:44.802Z","repository":{"id":37359671,"uuid":"54724122","full_name":"PhilippeBoisney/AlertOnboarding","owner":"PhilippeBoisney","description":"A simple and attractive AlertView to onboard your users in your amazing world.","archived":false,"fork":false,"pushed_at":"2022-09-05T20:21:31.000Z","size":10618,"stargazers_count":842,"open_issues_count":20,"forks_count":109,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-10-30T01:37:28.030Z","etag":null,"topics":["alertview","dialog","ios","onboarding","popup","swift","swift4"],"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/PhilippeBoisney.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":"2016-03-25T14:31:43.000Z","updated_at":"2024-06-26T06:14:16.000Z","dependencies_parsed_at":"2022-08-20T18:50:34.832Z","dependency_job_id":null,"html_url":"https://github.com/PhilippeBoisney/AlertOnboarding","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilippeBoisney%2FAlertOnboarding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilippeBoisney%2FAlertOnboarding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilippeBoisney%2FAlertOnboarding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilippeBoisney%2FAlertOnboarding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhilippeBoisney","download_url":"https://codeload.github.com/PhilippeBoisney/AlertOnboarding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228548567,"owners_count":17935221,"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":["alertview","dialog","ios","onboarding","popup","swift","swift4"],"created_at":"2024-01-05T20:16:30.756Z","updated_at":"2024-12-07T01:30:30.781Z","avatar_url":"https://github.com/PhilippeBoisney.png","language":"Swift","funding_links":[],"categories":["Walkthrough / Intro / Tutorial","Swift"],"sub_categories":["Web View","Other free courses"],"readme":"# AlertOnboarding\nA simple and attractive AlertView **to onboard your users** in your amazing world.\n\n[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat\n)](https://developer.apple.com/iphone/index.action)\n[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat\n)](https://developer.apple.com/swift)\n[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat\n)](http://mit-license.org)\n\n## PRESENTATION\nThis AlertOnboarding was inspired by [this amazing dribbble](https://dribbble.com/shots/2422143-Space-onboarding). It will help you to maximise, simply, onboarding process on your app.\n\n## DEMO\n\u003cp align=\"center\"\u003e\n \u003cimg src =\"https://raw.githubusercontent.com/PhilippeBoisney/AlertOnboarding/master/demo.gif\", width=200, height=350, align=\"left\"/\u003e\n \u003cimg src =\"https://raw.githubusercontent.com/PhilippeBoisney/AlertOnboarding/master/screenshot.png\", height=350/\u003e\n\u003c/p\u003e\n\n## INSTALLATION\n####COCOAPODS\n```\npod 'AlertOnboarding'\n```\n\n\n## USAGE\n```swift\n//First, declare datas\nvar arrayOfImage = [\"image1\", \"image2\", \"image3\"]\nvar arrayOfTitle = [\"CREATE ACCOUNT\", \"CHOOSE THE PLANET\", \"DEPARTURE\"]\nvar arrayOfDescription = [\"In your profile, you can view the statistics of its operations and the recommandations of friends\",\n\"Purchase tickets on hot tours to your favorite planet and fly to the most comfortable intergalactic spaceships of best companies\",\n\"In the process of flight you will be in cryogenic sleep and supply the body with all the necessary things for life\"]\n\n//Simply call AlertOnboarding...\nvar alertView = AlertOnboarding(arrayOfImage: arrayOfImage, arrayOfTitle: arrayOfTitle, arrayOfDescription: arrayOfDescription)\n\n//... and show it !\nalertView.show()\n\n//And maybe, if you want, you can hide it.\nalertView.hide()\n\n```\n**CUSTOMIZING**\n\nYou have to set options **BEFORE** call show() function.\n\n```swift\n//Modify background color of AlertOnboarding\nself.alertView.colorForAlertViewBackground = UIColor(red: 173/255, green: 206/255, blue: 183/255, alpha: 1.0)\n\n//Modify colors of AlertOnboarding's button\nself.alertView.colorButtonText = UIColor.whiteColor()\nself.alertView.colorButtonBottomBackground = UIColor(red: 65/255, green: 165/255, blue: 115/255, alpha: 1.0)\n\n//Modify colors of labels\nself.alertView.colorTitleLabel = UIColor.whiteColor()\nself.alertView.colorDescriptionLabel = UIColor.whiteColor()\n\n//Modify colors of page indicator\nself.alertView.colorPageIndicator = UIColor.whiteColor()\nself.alertView.colorCurrentPageIndicator = UIColor(red: 65/255, green: 165/255, blue: 115/255, alpha: 1.0)\n\n//Modify size of alertview (Purcentage of screen height and width)\nself.alertView.percentageRatioHeight = 0.5\nself.alertView.percentageRatioWidth = 0.5\n\n//Modify labels\nself.alertView.titleSkipButton = \"PASS\"\nself.alertView.titleGotItButton = \"UNDERSTOOD !\"\n\n```\n**TRACKING EVENTS**\n\nIf you want to know when the user completes onboarding, skips onboarding, or triggers the next step, you can use the `AlertOnboardingDelegate` to listen for these updates.\n\n```swift\n//Add delegate to your ViewController\nclass ViewController: UIViewController, AlertOnboardingDelegate\n\n//... when initialising AlertOnboarding\nalertView.delegate = self\n\n//... inside your class that conforms to AlertOnboardingDelegate\nfunc alertOnboardingSkipped(currentStep: Int, maxStep: Int) {\n    print(\"Onboarding skipped the \\(currentStep) step and the max step he saw was the number \\(maxStep)\")\n}\n\nfunc alertOnboardingCompleted() {\n   print(\"Onboarding completed!\")\n}\n\nfunc alertOnboardingNext(nextStep: Int) {\n   print(\"Next step triggered! \\(nextStep)\")\n}\n\n```\n\n## FEATURES\n- [x] Multi-Device Full Support\n- [x] Rotation Support\n- [x] Swift 3 Support\n- [x] Fully customisable\n- [x] Tracking Events\n\n## Version\n2.0\n\n## Author\nPhilippe BOISNEY (phil.boisney(@)gmail.com)\n\n## Design\n[Sasha Gorosh](https://dribbble.com/SashaGorosh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPhilippeBoisney%2FAlertOnboarding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPhilippeBoisney%2FAlertOnboarding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPhilippeBoisney%2FAlertOnboarding/lists"}