{"id":13696424,"url":"https://github.com/MrPans/PSCarouselView","last_synced_at":"2025-05-03T17:31:11.942Z","repository":{"id":36347247,"uuid":"40651991","full_name":"MrPans/PSCarouselView","owner":"MrPans","description":"A drop-in carousel view. Most of Apps put it in their first screen.","archived":false,"fork":false,"pushed_at":"2020-01-03T18:07:19.000Z","size":3075,"stargazers_count":150,"open_issues_count":0,"forks_count":42,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-08T04:03:44.781Z","etag":null,"topics":["carousel","cocoapods","cycling","pagecontrol","storyboard"],"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/MrPans.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-08-13T10:02:31.000Z","updated_at":"2024-10-28T11:41:42.000Z","dependencies_parsed_at":"2022-09-06T06:01:20.301Z","dependency_job_id":null,"html_url":"https://github.com/MrPans/PSCarouselView","commit_stats":null,"previous_names":["developerpans/pscarouselview"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPans%2FPSCarouselView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPans%2FPSCarouselView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPans%2FPSCarouselView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPans%2FPSCarouselView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrPans","download_url":"https://codeload.github.com/MrPans/PSCarouselView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224369532,"owners_count":17299917,"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":["carousel","cocoapods","cycling","pagecontrol","storyboard"],"created_at":"2024-08-02T18:00:39.793Z","updated_at":"2024-11-13T00:30:30.281Z","avatar_url":"https://github.com/MrPans.png","language":"Objective-C","funding_links":[],"categories":["Objective-C","UI Components"],"sub_categories":[],"readme":"\n\u003cp\u003e\n\u003ca href=\"https://shengpan.net\"\u003e\u003cimg alt=\"Logo\" width=\"36px\" src=\"https://www.gravatar.com/avatar/8fb2fa79ab3955307b074b65c3efc992\"\u003e\n\u003c/p\u003e\u003c/a\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"PSCarouselView Logo\" src=\"https://raw.githubusercontent.com/DeveloperPans/PSCarouselView/master/logo.png\"\u003e\n\u003c/p\u003e\n\n\n# PSCarouselView \n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/cf2dd4cfa809491e9513a69d538157c4)](https://app.codacy.com/app/DeveloperPans/PSCarouselView?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=DeveloperPans/PSCarouselView\u0026utm_campaign=Badge_Grade_Dashboard)\n[![docs][docs]][CocoaPods]\n[![Pod Version][version]][CocoaPods]\n[![License][license]][CocoaPods]\n[![Platform][platform]][CocoaPods]\n![SwiftCompatible][SwiftCompatible]\n\nA drop-in carousel view. Most Applications put it in their first screen. [中文](https://github.com/DeveloperPans/PSCarouselView/blob/master/README_CN.md)\n\n---\n\n### Preview \n![image](https://raw.githubusercontent.com/DeveloperPans/PSCarouselView/master/PSCarouselView.gif)\n\n#### **Enhancement**\n\nStoryboard inspector supported since version **1.1.0**\n\n![image](https://raw.githubusercontent.com/DeveloperPans/PSCarouselView/master/Inspector.png)\n\n\n### Installation with CocoaPods\n\nSpecify it in your `podfile`:\n\n```ruby\npod 'PSCarouselView'\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n### Install manually\n\nClone project, add `PSCarouselView` folder to your project and don't forget check the *copy item if needed* box. \n\n`SDWebImage` framework **required**. Make sure you had imported `SDWebImage` when install `PSCarouselView` manually. \n\n### Getting Start\n\n1.Drag a `UICollectionView` into your Storyboard and make sure your constraints has been set.\n\n2.Set `PSCarouselView` as a custom class for this collectionView in Storyboard Inspector.\n\n![custom class](https://raw.githubusercontent.com/DeveloperPans/PSCarouselView/master/customclass.png)\n\n3.Connect `IBOutlet` to Your ViewController.\n    \n```objc\n@interface ViewController ()\u003cPSCarouselDelegate\u003e\n\n@property (weak, nonatomic) IBOutlet PSCarouselView *carouselView;\n```\n\n4.Set value for PSCarouselView's `imageURL` property.\n\n5.Implement `PSCarouselDelegate` if you want to make a pageControl.\n\n```objc\n- (void)carousel:(PSCarouselView *)carousel didMoveToPage:(NSUInteger)page\n{\n    self.pageControl.currentPage = page;\n}\n\n- (void)carousel:(PSCarouselView *)carousel didTouchPage:(NSUInteger)page\n{\n    NSLog(@\"PSCarouselView did TOUCH No.%ld page\",page);\n}\n```\n\n### API Reference\n\n[shengpan.net](http://doc.shengpan.net/Classes/PSCarouselView.html) or [CocoaPods Doc](http://cocoadocs.org/docsets/PSCarouselView/1.3.0)\n\nFor more，download and see the demo。\n\n## LICENSE\n\n[MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89)\n\n[CocoaPods]: http://cocoapods.org/pods/PSCarouselView\n\n[travis]: (https://travis-ci.org/DeveloperPans/PSCarouselView)\n\n[docs]: https://img.shields.io/badge/docs-100%25-brightgreen.svg\n\n[version]: https://img.shields.io/cocoapods/v/PSCarouselView.svg?style=flat\n\n[status]: https://travis-ci.org/DeveloperPans/PSCarouselView.svg?branch=master\n\n[license]: https://img.shields.io/cocoapods/l/PSCarouselView.svg?style=flat\n\n[platform]: https://img.shields.io/cocoapods/p/PSCarouselView.svg?style=flat\n\n[SwiftCompatible]: https://img.shields.io/badge/Swift-compatible-orange.svg\n\n[blog]: http://shengpan.net\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMrPans%2FPSCarouselView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMrPans%2FPSCarouselView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMrPans%2FPSCarouselView/lists"}