{"id":2733,"url":"https://github.com/zjmdp/GoAutoSlideView","last_synced_at":"2025-08-03T00:32:32.665Z","repository":{"id":52370974,"uuid":"48413835","full_name":"zjmdp/GoAutoSlideView","owner":"zjmdp","description":"GoAutoSlideView extends UIScrollView by featuring infinitely and automatically slide.","archived":false,"fork":false,"pushed_at":"2021-04-30T10:34:59.000Z","size":1785,"stargazers_count":59,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-08T06:42:51.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/zjmdp.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":"2015-12-22T06:09:24.000Z","updated_at":"2024-06-06T23:24:41.000Z","dependencies_parsed_at":"2022-08-20T20:50:24.476Z","dependency_job_id":null,"html_url":"https://github.com/zjmdp/GoAutoSlideView","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/zjmdp%2FGoAutoSlideView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjmdp%2FGoAutoSlideView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjmdp%2FGoAutoSlideView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjmdp%2FGoAutoSlideView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zjmdp","download_url":"https://codeload.github.com/zjmdp/GoAutoSlideView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228510787,"owners_count":17931765,"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-01-05T20:16:21.402Z","updated_at":"2024-12-06T18:30:45.446Z","avatar_url":"https://github.com/zjmdp.png","language":"Objective-C","readme":"# GoAutoSlideView\n\n[![Version](https://img.shields.io/cocoapods/v/GoAutoSlideView.svg?style=flat)](http://cocoapods.org/pods/GoAutoSlideView)\n[![License](https://img.shields.io/cocoapods/l/GoAutoSlideView.svg?style=flat)](http://cocoapods.org/pods/GoAutoSlideView)\n[![Platform](https://img.shields.io/cocoapods/p/GoAutoSlideView.svg?style=flat)](http://cocoapods.org/pods/GoAutoSlideView)\n\n\n`GoAutoSlideView` extends `UIScrollView` by featuring *infinitely* and *automatically* slide.\n\n#ScreenShot\n![Screenshot](./Screenshots/screenshot.gif \"screenshot\")\n\n## Installation\n###CocoaPods\n```ruby\n\npod 'GoAutoSlideView', '~\u003e 0.7'\n\n```\n\n###Manually\n1. Downloads the source files in directory `GoAutoSlideView/Classes`.\n2. Add the source files to your project.\n3. import `\"GoAutoSlideView.h\"` in your files.\n\n## Usage\n#### Create GoAutoSlideView\n\n```objc\n\nGoAutoSlideView *slideView = [[GoAutoSlideView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 250)];\nslideView.slideDuration = 5;\nslideView.slideDelegate = self;\nslideView.slideDataSource = self;\nslideView.currentPageIndicatorColor = [UIColor blueColor];\n[self.view addSubView:slideView];\n[slideView reloadData];\n\n```\n\n#### Implement GoSlideViewDataSource\n\n```objc\n\n- (NSInteger)numberOfPagesInGoAutoSlideView:(GoAutoSlideView *)goAutoSlideView{\n    return 5;\n}\n\n- (UIView *)goAutoSlideView:(GoAutoSlideView *)goAutoSlideView viewAtPage:(NSInteger)page{\n    UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 250)];\n\t[image setImage:[UIImage imageNamed:images[page]]]\n    return imageView;\n}\n\n```\n\n#### Implement GoSlideViewDelegate\n\n```objc\n\n- (void)goAutoSlideView:(GoAutoSlideView *)goAutoSlideView didTapViewPage:(NSInteger)page{\n\tNSLog(@\"didTapViewPage at index: %@\", @(page));\n}\n\n```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Credits\n\n* zjmdp\n\n## License\n\nMIT license\n","funding_links":[],"categories":["UI"],"sub_categories":["ScrollView","Layout","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjmdp%2FGoAutoSlideView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzjmdp%2FGoAutoSlideView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjmdp%2FGoAutoSlideView/lists"}