{"id":18270365,"url":"https://github.com/andreagiavatto/AGPhotoBrowser","last_synced_at":"2025-04-05T01:30:31.766Z","repository":{"id":56900519,"uuid":"12550369","full_name":"andreagiavatto/AGPhotoBrowser","owner":"andreagiavatto","description":"A photo browser for iOS inspired by Facebook.","archived":false,"fork":false,"pushed_at":"2017-07-26T21:51:10.000Z","size":543,"stargazers_count":448,"open_issues_count":16,"forks_count":84,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-03-02T00:23:38.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreagiavatto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-02T22:40:55.000Z","updated_at":"2024-12-08T10:36:22.000Z","dependencies_parsed_at":"2022-08-20T18:20:34.205Z","dependency_job_id":null,"html_url":"https://github.com/andreagiavatto/AGPhotoBrowser","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/andreagiavatto%2FAGPhotoBrowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreagiavatto%2FAGPhotoBrowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreagiavatto%2FAGPhotoBrowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreagiavatto%2FAGPhotoBrowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreagiavatto","download_url":"https://codeload.github.com/andreagiavatto/AGPhotoBrowser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276021,"owners_count":20912285,"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:32.341Z","updated_at":"2025-04-05T01:30:31.461Z","avatar_url":"https://github.com/andreagiavatto.png","language":"Objective-C","funding_links":[],"categories":["etc"],"sub_categories":[],"readme":"[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n\nAGPhotoBrowser\n==============\n\nA photo browser for iOS6 and iOS7 inspired by Facebook iOS app.\n\nDemo project included.\n\nIt currently supports:\n- Any number of images through a data source\n- Optional title and description (with support for long description through a 'See more' button)\n- Full screen view\n- Pinch to zoom in/out\n- Double tap to zoom in/out\n- Orientation changes\n- \"Swipe up/down\" to hide the photo browser\n- \"Done/Action buttons\" to dismiss the browser or perform a few operations on the selected image\n\n\n## Install\nThe suggested way to install the component is using [CocoaPods](http://cocoapods.org/), just include the following line in your Podfile to get the latest version:\n`pod \"AGPhotoBrowser\"`\n\n\n## Usage\nThere is a demo project included that shows how to use the photo browser.\n- import `AGPhotoBrowserView.h` in your class\n- create a new instance of `AGPhotoBrowserView` and set the delegate and the dataSource to your class\n- implement `- (NSInteger)numberOfPhotosForPhotoBrowser:(AGPhotoBrowserView *)photoBrowser` and `- (UIImage *)photoBrowser:(AGPhotoBrowserView *)photoBrowser imageAtIndex:(NSInteger)index` methods from the datasource\n- (optional) provide a title and a description for each image implementing `- (NSString *)photoBrowser:(AGPhotoBrowserView *)photoBrowser titleForImageAtIndex:(NSInteger)index` and `- (NSString *)photoBrowser:(AGPhotoBrowserView *)photoBrowser descriptionForImageAtIndex:(NSInteger)index`\n- show the browser calling the `- (void)show` or `- (void)showFromIndex:(NSInteger)initialIndex` methods\n- dismiss the photo browser with a completion block calling `- (void)hideWithCompletion:( void (^) (BOOL finished) )completionBlock`\n\n## TO-DO\n- ~~add pinch to zoom gesture on images~~ (from 1.0.4, thanks @dtsolis)\n- ~~support orientation changes~~ (from 1.0.6)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreagiavatto%2FAGPhotoBrowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreagiavatto%2FAGPhotoBrowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreagiavatto%2FAGPhotoBrowser/lists"}