{"id":29799804,"url":"https://github.com/xiaohange/jqflowview","last_synced_at":"2025-07-28T08:11:49.860Z","repository":{"id":295260758,"uuid":"90358098","full_name":"xiaohange/JQFlowView","owner":"xiaohange","description":"卡片式无限自动轮播图 ，无限/自动轮播，可自定义非当前显示view缩放和透明的特效等；喜欢❤️就star一下吧！","archived":false,"fork":false,"pushed_at":"2017-05-05T09:33:17.000Z","size":2649,"stargazers_count":24,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-24T15:03:27.460Z","etag":null,"topics":["carousel-3d","carousel-page","customview","flowview","objective-c"],"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/xiaohange.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-05-05T09:08:58.000Z","updated_at":"2021-08-19T10:46:01.000Z","dependencies_parsed_at":"2025-05-24T15:03:33.423Z","dependency_job_id":"a8eb266a-28cf-4074-b223-d2a3f28f173f","html_url":"https://github.com/xiaohange/JQFlowView","commit_stats":null,"previous_names":["xiaohange/jqflowview"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiaohange/JQFlowView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohange%2FJQFlowView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohange%2FJQFlowView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohange%2FJQFlowView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohange%2FJQFlowView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaohange","download_url":"https://codeload.github.com/xiaohange/JQFlowView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohange%2FJQFlowView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267482011,"owners_count":24094509,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-3d","carousel-page","customview","flowview","objective-c"],"created_at":"2025-07-28T08:10:42.205Z","updated_at":"2025-07-28T08:11:49.834Z","avatar_url":"https://github.com/xiaohange.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JQFlowView\n卡片式无限自动轮播图 ，无限/自动轮播，可自定义非当前显示view缩放和透明的特效等；喜欢❤️就star一下吧！\n\n![](https://github.com/xiaohange/JQFlowView/blob/master/1.gif?raw=true) \n![](https://github.com/xiaohange/JQFlowView/blob/master/2.gif?raw=true)\n![](https://github.com/xiaohange/JQFlowView/blob/master/3.gif?raw=true)\n![](https://github.com/xiaohange/JQFlowView/blob/master/4.gif?raw=true)\n## Instalation\n\nAdd the JQFlowView source files to your project.\n\n## Usage\n\n```objective-c\n_pageFlowView = [[JQFlowView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, (KScreenWidth - 84) * 9 / 16 + 24)];\n    \n    _pageFlowView.backgroundColor = [UIColor whiteColor];\n    _pageFlowView.delegate = self;\n    _pageFlowView.dataSource = self;\n    _pageFlowView.minimumPageAlpha = 0.4;\n    _pageFlowView.minimumPageScale = 0.90;\n    _pageFlowView.orginPageCount = self.imageArray.count;\n    _pageFlowView.isOpenAutoScroll = YES;\n    _pageFlowView.autoTime = 3.0;\n    _pageFlowView.orientation = JQFlowViewOrientationHorizontal;\n    //初始化pageControl\n    UIPageControl *pageControl = [[UIPageControl alloc] initWithFrame:CGRectMake(0, _pageFlowView.frame.size.height - 24 - 8, KScreenWidth, 8)];\n    _pageFlowView.pageControl = pageControl;\n    [_pageFlowView addSubview:pageControl];\n    \n    [_pageFlowView reloadData];\n    [_scrollView addSubview:_pageFlowView];\n```\n***JQFlowViewDelegate*** 代理方法：\n\n```\n- (CGSize)sizeForPageInFlowView:(JQFlowView *)flowView\n{\n    return CGSizeMake(KScreenWidth - 84, (KScreenWidth - 84) * 9 / 16);\n}\n- (void)didSelectCell:(UIView *)subView withSubViewIndex:(NSInteger)subIndex\n{\n    NSLog(@\"点击了第%ld张图\",(long)subIndex + 1);\n}\n```\n***JQFlowViewDatasource*** 代理方法：\n\n```\n- (NSInteger)numberOfPagesInFlowView:(JQFlowView *)flowView\n{\n    return self.imageArray.count;\n}\n- (UIView *)flowView:(JQFlowView *)flowView cellForPageAtIndex:(NSInteger)index\n{\n    JQIndexBannerSubview *bannerView = (JQIndexBannerSubview *)[flowView dequeueReusableCell];\n    if (!bannerView) {\n        bannerView = [[JQIndexBannerSubview alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth - 84, (KScreenWidth - 84) * 9 / 16)];\n        bannerView.layer.cornerRadius = 4;\n        bannerView.layer.masksToBounds = YES;\n        //        bannerView.mainImageView.image = [bannerView.mainImageView.image stretchableImageWithLeftCapWidth:30 topCapHeight:30];\n    }\n    \n    //在这里下载网络图片\n    [bannerView.mainImageView sd_setImageWithURL:[NSURL URLWithString:self.imageArray[index]] placeholderImage:nil];\n    \n    //    bannerView.mainImageView.image = self.imageArray[index];\n    \n    return bannerView;\n}\n\n- (void)didScrollToPage:(NSInteger)pageNumber inFlowView:(JQFlowView *)flowView\n{\n    NSLog(@\"滚动到了第%ld页\",pageNumber);\n}\n```\n\n## Star\n\u003eiOS开发者交流群：446310206 喜欢就❤️❤️❤️star一下吧！你的支持是我更新的动力！ Love is every every every star! Your support is my renewed motivation!\n\n## Other\n[JQTumblrHud-高仿Tumblr App 加载指示器hud](https://github.com/xiaohange/JQTumblrHud)\n\n[JQScrollNumberLabel：仿tumblr热度滚动数字条数](https://github.com/xiaohange/JQScrollNumberLabel)\n\n[TumblrLikeAnimView-仿Tumblr点赞动画效果](https://github.com/xiaohange/TumblrLikeAnimView)\n\n[JQMenuPopView-仿Tumblr弹出视图发音频、视频、图片、文字的视图](https://github.com/xiaohange/JQMenuPopView)\n\n## License\n\nThis code is distributed under the terms and conditions of the [MIT license](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohange%2Fjqflowview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaohange%2Fjqflowview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohange%2Fjqflowview/lists"}