{"id":23087262,"url":"https://github.com/yuhanle/wsguidepageview","last_synced_at":"2025-04-03T16:44:28.550Z","repository":{"id":217382927,"uuid":"45526860","full_name":"yuhanle/WSGuidePageView","owner":"yuhanle","description":"GuidePageView with mutative bgcolor","archived":false,"fork":false,"pushed_at":"2017-03-22T02:44:50.000Z","size":2712,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-09T05:25:42.983Z","etag":null,"topics":["guidepageview"],"latest_commit_sha":null,"homepage":"https://latehorse.github.io/","language":"Objective-C","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/yuhanle.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}},"created_at":"2015-11-04T08:58:01.000Z","updated_at":"2018-07-18T10:16:14.000Z","dependencies_parsed_at":"2024-01-16T03:39:39.287Z","dependency_job_id":"eadead7e-751d-4b7f-9a16-e9ae7e9a4871","html_url":"https://github.com/yuhanle/WSGuidePageView","commit_stats":null,"previous_names":["yuhanle/wsguidepageview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhanle%2FWSGuidePageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhanle%2FWSGuidePageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhanle%2FWSGuidePageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhanle%2FWSGuidePageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuhanle","download_url":"https://codeload.github.com/yuhanle/WSGuidePageView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247042943,"owners_count":20874081,"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":["guidepageview"],"created_at":"2024-12-16T19:55:45.021Z","updated_at":"2025-04-03T16:44:28.527Z","avatar_url":"https://github.com/yuhanle.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WSGuidePageView\n这是一个实用在app启动时添加引导页的分享\n\n### 功能：\n\n1.滑动时背景色渐变效果\n\n2.自定义索引形式\n\n### 配置：\n- 初始化背景图和覆盖图\n```\n    // Added Introduction View Controller\n    NSArray *coverImageNames = @[@\"p1\", @\"p2\", @\"p3\", @\"p4\"];\n    NSArray *backgroundImageNames = @[@\"p1_bg\", @\"p2_bg\", @\"p3_bg\", @\"p4_bg\"];\n```\n- 设置进入应用的button\n```\n    // Example 2\n    UIButton *enterButton = [UIButton new];\n    enterButton.titleLabel.font = [UIFont systemFontOfSize:16];\n    [enterButton setTitleColor:[UIColor colorWithRed:75 / 255.0 green:70 / 255.0 blue:71 / 255.0 alpha:1.0] forState:UIControlStateNormal];\n    [enterButton setTitle:@\"立即体验\" forState:UIControlStateNormal];\n    [enterButton setBackgroundImage:[UIImage imageNamed:@\"button\"] forState:UIControlStateNormal];\n    [enterButton setBackgroundImage:[UIImage imageNamed:@\"button_down\"] forState:UIControlStateHighlighted];\n    \n    self.introductionView = [[WSIntroductionViewController alloc] initWithCoverImageNames:coverImageNames backgroundImageNames:backgroundImageNames button:enterButton];\n```\n- 设置索引的形式 通过图片自定义\n```\n    // 设置索引图片\n    [self.introductionView setImage:[UIImage imageNamed:@\"index\"]\n                   highlightedImage:[UIImage imageNamed:@\"index_sel\"]\n                          dotRadius:6.0f];\n    \n    self.window.rootViewController = self.introductionView;\n    \n    __weak AppDelegate *weakSelf = self;\n    self.introductionView.didSelectedEnter = ^() {\n        [weakSelf.introductionView.view removeFromSuperview];\n        weakSelf.introductionView = nil;\n        \n        ViewController *mainVC = [[ViewController alloc] init];\n        weakSelf.window.rootViewController = mainVC;\n    };\n```\n\n### 效果图：\n![效果图](https://github.com/yuhanle/WSGuidePageView/blob/master/demo.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhanle%2Fwsguidepageview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuhanle%2Fwsguidepageview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhanle%2Fwsguidepageview/lists"}