All Projects → Azuritul → Azexpandableiconlistview

Azuritul / Azexpandableiconlistview

Licence: mit
An expandable/collapsible view component written in Swift.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Azexpandableiconlistview

BeefUp
Just a jQuery accordion plugin
Stars: ✭ 41 (-85.56%)
Mutual labels:  accordion, collapsible
React Sanfona
Accessible react accordion component
Stars: ✭ 248 (-12.68%)
Mutual labels:  accordion, collapsible
React Collapsible
React component to wrap content in Collapsible element with trigger to open and close.
Stars: ✭ 402 (+41.55%)
Mutual labels:  accordion, collapsible
react-collapse
Component-wrapper for collapse animation with CSS for elements with variable and dynamic height
Stars: ✭ 143 (-49.65%)
Mutual labels:  accordion, collapsible
React Native Collapsible
Animated collapsible component for React Native, good for accordions, toggles etc
Stars: ✭ 2,178 (+666.9%)
Mutual labels:  accordion, collapsible
react-native-panel
A Customizable React Native Panel for Android and iOS
Stars: ✭ 35 (-87.68%)
Mutual labels:  accordion, collapsible
FadingEdgesCollectionView
A UICollectionView that fades it's edges to hint about more content
Stars: ✭ 82 (-71.13%)
Mutual labels:  scrollview
react-native-dual
ScrollView, FlatList, SectionList and ListView with dual background
Stars: ✭ 28 (-90.14%)
Mutual labels:  scrollview
InfiniteScrollRecyclerView
Enables the RecyclerView to Auto scroll for indefinite time.
Stars: ✭ 49 (-82.75%)
Mutual labels:  scrollview
squeezy
1 kB React component for accessible accordions / collapse UI
Stars: ✭ 31 (-89.08%)
Mutual labels:  accordion
Containercontroller
UI Component. This is a copy swipe-panel from app: Apple Maps, Stocks. Swift version
Stars: ✭ 273 (-3.87%)
Mutual labels:  scrollview
accordion
Android accordion emulator
Stars: ✭ 23 (-91.9%)
Mutual labels:  accordion
fullcontrols
Reworked version of the wpf controls, plus new controls and features.
Stars: ✭ 28 (-90.14%)
Mutual labels:  accordion
ScrollViewProxy
ScrollViewProxy for SwiftUI on iOS 13 and up
Stars: ✭ 135 (-52.46%)
Mutual labels:  scrollview
AutoScrollTextView
android 上下滚动播放与走马灯效果结合
Stars: ✭ 27 (-90.49%)
Mutual labels:  scrollview
TableScrollViewPage
IOS轮播图: tableView表格做的图片轮播器 ,性能非常稳定,可加载网络图片 TableScrollViewPage
Stars: ✭ 20 (-92.96%)
Mutual labels:  scrollview
SPKeyBoardAvoiding
It's a smart KeyBoard manager with active text field using Scroll View along with Constraints in Objective C & Swift 4
Stars: ✭ 22 (-92.25%)
Mutual labels:  scrollview
SPPhotoViewer
A customisable smart photoviewer of your photos!!!
Stars: ✭ 14 (-95.07%)
Mutual labels:  scrollview
yuanful-ui
(微信小程序插件) yuanful-ui是一套可添加到微信小程序内直接使用的免费功能插件,无需重复开发,为用户提供更丰富的服务。
Stars: ✭ 30 (-89.44%)
Mutual labels:  accordion
EmbeddedScrollView
Embedded UIScrollView for iOS.
Stars: ✭ 55 (-80.63%)
Mutual labels:  scrollview

AZExpandableIconListView

Build Status Version License Platform Language

An expandable/collapsible UIView that holds an array of UIImageView. Something like accordion. An interesting practice with auto layout and animation.

Screenshots

expandable

Requirements

  • iOS 11 or above
  • Xcode 11 or above
  • Swift 5

Demo Project

To 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.

Usage

Initialize the view with frame and an array of images, for example:

let expandable = AZExpandableIconListView(frame: CGRectMake(4, 30, UIScreen.mainScreen().bounds.size.width - 20, 70), images: [image1, image2, image3])
view.addSubview(expandable)

Notice that the width and height of the icons in the view would always be 80% of the containing view's height.

Configurable options

Currently AZExpandableIconListView can be customized with the following properties. More will come in the future.

  • imageSpacing The space between icons. Default is 4.
  • onExpanded The method to be called when the menu is expanded. Default is null.
  • onCollapsed The method to be called when the menu is collapsed. Default is null.

Installation

AZExpandableIconListView is available through CocoaPods. To install it, simply add the following line to your Podfile:

use_frameworks!
pod 'AZExpandableIconListView'

Version

  • 1.0.1
    • Fix lint warning
  • 1.0.0
    • Updated for Swift 5
  • 0.2.0
    • Updated for Swift 3
  • 0.1.1
    • Updated README
  • 0.1.0
    • Initial version

Credit

Author

Chris Wu (Azuritul), [email protected]

License

AZExpandableIconListView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].