{"id":13631189,"url":"https://github.com/betzerra/MosaicLayout","last_synced_at":"2025-04-17T18:32:15.631Z","repository":{"id":6983028,"uuid":"8244865","full_name":"betzerra/MosaicLayout","owner":"betzerra","description":"MosaicLayout using UICollectionViews","archived":true,"fork":false,"pushed_at":"2017-04-18T14:53:50.000Z","size":2501,"stargazers_count":508,"open_issues_count":7,"forks_count":73,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-08-01T22:48:01.886Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/betzerra.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":"2013-02-17T02:26:08.000Z","updated_at":"2024-08-01T22:48:01.887Z","dependencies_parsed_at":"2022-09-16T18:41:15.918Z","dependency_job_id":null,"html_url":"https://github.com/betzerra/MosaicLayout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betzerra%2FMosaicLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betzerra%2FMosaicLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betzerra%2FMosaicLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betzerra%2FMosaicLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betzerra","download_url":"https://codeload.github.com/betzerra/MosaicLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223762878,"owners_count":17198384,"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-08-01T22:02:14.720Z","updated_at":"2024-11-08T22:31:13.131Z","avatar_url":"https://github.com/betzerra.png","language":"Objective-C","funding_links":[],"categories":["Objective-C","UI","CollectionView"],"sub_categories":[],"readme":"# MosaicLayout\nA layout very similar to [MosaicUI](https://github.com/betzerra/MosaicUI) that uses **Lightbox algorithm** described in @vjeux's blog and takes advantage of **UICollectionView**.\n\n![Landscape on iPad](http://www.betzerra.com.ar/wp-content/uploads/2013/02/Photo-Feb-17-6-29-14-PM.png)\n\n## Instructions\n- Import all the files from Libs/MosaicLayout folder.\n- Add a UICollectionView view, change its layout to \"Custom\" and set its class to \"MosaicLayout\".\n- Implement UICollectionView's delegates.\n- Implement **MosaicLayoutDelegate** protocol.\n\n## MosaicLayoutDelegate\n```objc\n-(float)collectionView:(UICollectionView *)collectionView relativeHeightForItemAtIndexPath:(NSIndexPath *)indexPath;\n-(BOOL)collectionView:(UICollectionView *)collectionView isDoubleColumnAtIndexPath:(NSIndexPath *)indexPath;\n-(NSUInteger)numberOfColumnsInCollectionView:(UICollectionView *)collectionView;\n```\n\n## Requirements\n- iOS 6\n- ARC\n\n## License\nThis project is under MIT License. See LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetzerra%2FMosaicLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbetzerra%2FMosaicLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetzerra%2FMosaicLayout/lists"}