{"id":2157,"url":"https://github.com/Azuritul/AZExpandableIconListView","last_synced_at":"2025-08-02T23:31:59.940Z","repository":{"id":56901451,"uuid":"50576886","full_name":"Azuritul/AZExpandableIconListView","owner":"Azuritul","description":"An expandable/collapsible view component written in Swift.","archived":true,"fork":false,"pushed_at":"2019-10-09T07:22:34.000Z","size":240,"stargazers_count":288,"open_issues_count":1,"forks_count":35,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-13T21:19:17.333Z","etag":null,"topics":["accordion","collapsible","scrollview","swift","toy"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/Azuritul.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":"2016-01-28T10:58:43.000Z","updated_at":"2024-10-17T02:34:37.000Z","dependencies_parsed_at":"2022-08-20T18:10:10.552Z","dependency_job_id":null,"html_url":"https://github.com/Azuritul/AZExpandableIconListView","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azuritul%2FAZExpandableIconListView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azuritul%2FAZExpandableIconListView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azuritul%2FAZExpandableIconListView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azuritul%2FAZExpandableIconListView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azuritul","download_url":"https://codeload.github.com/Azuritul/AZExpandableIconListView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503132,"owners_count":17930517,"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":["accordion","collapsible","scrollview","swift","toy"],"created_at":"2024-01-05T20:16:06.148Z","updated_at":"2024-12-06T17:30:45.625Z","avatar_url":"https://github.com/Azuritul.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["Other free courses","Font","Other Testing"],"readme":"# AZExpandableIconListView\n[![Build Status](https://app.bitrise.io/app/fe6be37387be0f5a/status.svg?token=vylVe85CKuVfX5Wuzs_n0A\u0026branch=config/ci)](https://app.bitrise.io/app/fe6be37387be0f5a)\n[![Version](https://img.shields.io/cocoapods/v/AZExpandableIconListView.svg?style=flat)](http://cocoapods.org/pods/AZExpandableIconListView)\n[![License](https://img.shields.io/cocoapods/l/AZExpandableIconListView.svg?style=flat)](http://cocoapods.org/pods/AZExpandableIconListView)\n[![Platform](https://img.shields.io/cocoapods/p/AZExpandableIconListView.svg?style=flat)](http://cocoapods.org/pods/AZExpandableIconListView)\n[![Language](https://img.shields.io/badge/swift-5.0-orange.svg)](http://swift.org)\n\nAn expandable/collapsible UIView that holds an array of UIImageView. Something like accordion.  An interesting practice with auto layout and animation.\n\n## Screenshots\n![expandable](https://cloud.githubusercontent.com/assets/879197/12738681/49bc442c-c9a6-11e5-976e-68650cbe4af2.gif)\n\n## Requirements\n- iOS 11 or above\n- Xcode 11 or above\n- Swift 5\n\n## Demo Project\nTo run the example project, clone the repo with `git clone https://github.com/Azuritul/AZExpandableIconListView.git`, and run `pod install` from the Example directory first.\n\n## Usage\nInitialize the view with frame and an array of images, for example:\n```Swift\nlet expandable = AZExpandableIconListView(frame: CGRectMake(4, 30, UIScreen.mainScreen().bounds.size.width - 20, 70), images: [image1, image2, image3])\nview.addSubview(expandable)\n```\nNotice that the width and height of the icons in the view would always be 80% of the containing view's height.\n\n### Configurable options\nCurrently AZExpandableIconListView can be customized with the following properties. More will come in the future.\n\n- `imageSpacing` The space between icons. Default is 4.\n- `onExpanded` The method to be called when the menu is expanded. Default is null.\n- `onCollapsed` The method to be called when the menu is collapsed. Default is null.\n\n## Installation\n\nAZExpandableIconListView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\nuse_frameworks!\npod 'AZExpandableIconListView'\n```\n## Version\n- 1.0.1\n  - Fix lint warning\n- 1.0.0\n  - Updated for Swift 5\n- 0.2.0\n   - Updated for Swift 3\n- 0.1.1\n   - Updated README\n- 0.1.0\n   - Initial version\n\n## Credit\n\n- Avatar icon used in README's screenshot is [Designed by Skydesign - Freepik.com](http://www.freepik.com/free-photos-vectors/people)\n\n## Author\n\nChris Wu (Azuritul), azuritul@gmail.com\n\n## License\n\nAZExpandableIconListView is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAzuritul%2FAZExpandableIconListView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAzuritul%2FAZExpandableIconListView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAzuritul%2FAZExpandableIconListView/lists"}