{"id":13743143,"url":"https://github.com/mokagio/UICollectionViewLeftAlignedLayout","last_synced_at":"2025-05-09T00:32:53.515Z","repository":{"id":16250060,"uuid":"18997929","full_name":"mokagio/UICollectionViewLeftAlignedLayout","owner":"mokagio","description":"A layout for UICollectionView that aligns the cells to the left.","archived":false,"fork":false,"pushed_at":"2023-01-20T11:53:43.000Z","size":790,"stargazers_count":1297,"open_issues_count":18,"forks_count":178,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-11-03T04:32:52.436Z","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":"wilddeer/stickyfill","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mokagio.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":"2014-04-21T16:09:36.000Z","updated_at":"2024-10-31T06:57:13.000Z","dependencies_parsed_at":"2023-02-12T02:00:44.763Z","dependency_job_id":null,"html_url":"https://github.com/mokagio/UICollectionViewLeftAlignedLayout","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mokagio%2FUICollectionViewLeftAlignedLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mokagio%2FUICollectionViewLeftAlignedLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mokagio%2FUICollectionViewLeftAlignedLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mokagio%2FUICollectionViewLeftAlignedLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mokagio","download_url":"https://codeload.github.com/mokagio/UICollectionViewLeftAlignedLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223066954,"owners_count":17082198,"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-03T05:00:41.319Z","updated_at":"2024-11-15T14:30:56.859Z","avatar_url":"https://github.com/mokagio.png","language":"Objective-C","readme":"UICollectionView Left Aligned Layout\n====================================\n\nA `UICollectionViewLayout` implementation that aligns the cells to the left. \n\n\u003cimg src=\"https://raw.githubusercontent.com/mokagio/UICollectionViewLeftAlignedLayout/master/screenshot.png\" /\u003e\n\n_Check out the twin project [`UICollectionViewRightAlignedLayout`](https://github.com/mokagio/UICollectionViewRightAlignedLayout)_\n\n## Installation with CocoaPods\n\n```ruby\nplatform :ios, '6.0'\n\npod 'UICollectionViewLeftAlignedLayout'\n```\n\n## Usage\n\nSimply set `UICollectionViewLeftAlignedLayout` as the layout object for your collection view either via code:\n\n```objc\nCGRect frame = ...\nUICollectionViewLeftAlignedLayout *layout = [[UICollectionViewLeftAlignedLayout alloc] init];\nUICollectionView *leftAlignedCollectionView = [[UICollectionView alloc] initWithFrame:frame collectionViewLayout:layout];\n```\n\nor from Interface Builder:\n\n_img needed here_\n\n`UICollectionViewLeftAlignedLayout` is a subclass of `UICollectionViewFlowLayout`, so your collection view delegate can use all the delegate methods of [`UICollectionViewDelegateFlowLayout`](https://developer.apple.com/library/ios/documentation/uikit/reference/UICollectionViewDelegateFlowLayout_protocol/Reference/Reference.html).\n\nFor those of you who like consistency there is an `UICollectionViewDelegateLeftAlignedLayout` protocol that your delegate object can conform to. Is nothing more than an empty extension of `UICollectionViewDelegateFlowLayout`.\n\n## License\n\n`UICollectionViewLeftAlignedLayout` is released under the [MIT license](https://github.com/mokagio/UICollectionViewLeftAlignedLayout/blob/master/LICENSE).\n\n---\n\nHacked together with passion by [@mokagio](https://twitter.com/mokagio)\n","funding_links":[],"categories":["Objective-C  Stars 1000以内排名整理","etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmokagio%2FUICollectionViewLeftAlignedLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmokagio%2FUICollectionViewLeftAlignedLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmokagio%2FUICollectionViewLeftAlignedLayout/lists"}