{"id":18270834,"url":"https://github.com/JaviSoto/JSAnimatedImagesView","last_synced_at":"2025-04-05T01:30:53.175Z","repository":{"id":2475793,"uuid":"3448714","full_name":"JaviSoto/JSAnimatedImagesView","owner":"JaviSoto","description":"UIView subclass to easily add a cool animated photo carrusel to your iOS app","archived":false,"fork":false,"pushed_at":"2015-11-09T17:15:01.000Z","size":1369,"stargazers_count":407,"open_issues_count":0,"forks_count":57,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-30T07:11:12.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://javisoto.github.com/JSAnimatedImagesView/","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/JaviSoto.png","metadata":{"files":{"readme":"README.markdown","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":"2012-02-15T11:03:00.000Z","updated_at":"2024-12-18T11:57:27.000Z","dependencies_parsed_at":"2022-08-25T05:20:31.167Z","dependency_job_id":null,"html_url":"https://github.com/JaviSoto/JSAnimatedImagesView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaviSoto%2FJSAnimatedImagesView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaviSoto%2FJSAnimatedImagesView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaviSoto%2FJSAnimatedImagesView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaviSoto%2FJSAnimatedImagesView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaviSoto","download_url":"https://codeload.github.com/JaviSoto/JSAnimatedImagesView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276043,"owners_count":20912286,"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-11-05T11:38:53.780Z","updated_at":"2025-04-05T01:30:51.765Z","avatar_url":"https://github.com/JaviSoto.png","language":"Objective-C","readme":"## Description:\nEasy to use UIView subclass to quickly add a cool animated carrousel of pictures to your app.\n\nDocumentation: http://cocoadocs.org/docsets/JSAnimatedImagesView/\n\n## Sample:\n\n![Video](http://cl.ly/1x0P2o2I053L1W2B2h3J/Screen%20Shot%202012-02-15%20at%202.33.09%20PM.png)\n\nhttp://jsoto.es/xmKcLb\n\n## Usage\n\n- Using [CocoaPods](http://cocoapods.org/):\n- Add `pod 'JSAnimatedImagesView', '~\u003e 1.0.'` to your `Podfile`.\n- You're done!\n\n-- or --\n\n- Clone the repository:\n\n```bash\n$ git clone git@github.com:JaviSoto/JSAnimatedImagesView.git\n```\n\n- Update the submodules:\n\n```bash\n$ git submodule update --init\n```\n\n- Check out the sample project.\n- Drag the two files ```JSAnimatedImagesView.(h/m)``` onto your project.\n- Drag `Dependencies/MSWeakTimer/MSWeakTimer.(h/m)` onto your project.\n- Include the header file ```JSAnimatedImagesView.h``` into the controller where you want to use it.\n- Create a ```JSAnimatedImagesView``` instance either via code, or in interface builder (by creating a UIView and changing its class to ```JSAnimatedImagesView```).\n- Set the data source property on the view (probably on the ```viewDidLoad``` method):\n\n```objc\nself.animatedImagesView.dataSource = self;\n```\n\n- Implement the data source methods:\n\n```objectivec\n\n@interface MyViewController () \u003cJSAnimatedImagesViewDataSource\u003e // Conform to the protocol\n\n@end\n```\n\n```objc\n@implementation MyViewController\n\n- (NSUInteger)animatedImagesNumberOfImages:(JSAnimatedImagesView *)animatedImagesView\n{\n\treturn self.myImageNames.count;\n}\n\n- (UIImage *)animatedImagesView:(JSAnimatedImagesView *)animatedImagesView imageAtIndex:(NSUInteger)index\n{\n\treturn [UIImage imageNamed:[self.myImageNames objectAtIndex:index]];\n}\n\n@end\n```\n\n## Configuration\n\n```objc\n@property (nonatomic, assign) NSTimeInterval timePerImage;\n```\n\nSpecifies the time each image is viewed until the next image is faded in.\n\n```objc\n@property (nonatomic, assign) NSTimeInterval transitionDuration;\n```\n\nSpecifies the duration of the transition (fade-out/fade-in) animation.\n\n\n## Compatibility\n- ```JSAnimatedImagesView``` is compatible with iOS5.0+\n- ```JSAnimatedImagesView``` requires ARC.\n\n## Attributions (Creative Commons Images)\n+ http://www.flickr.com/photos/blmiers2/\n+ http://www.flickr.com/photos/niamor/\n+ http://www.flickr.com/photos/macieklew/\n\n## License\n`JSAnimatedImagesView` is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJaviSoto%2FJSAnimatedImagesView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJaviSoto%2FJSAnimatedImagesView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJaviSoto%2FJSAnimatedImagesView/lists"}