Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. AEAccordion

AEAccordion

MITSwift

A simple and lightweight UITableViewController with accordion effect for expanding and collapsing cells in iOS apps.

GitHubGitHub
209 stars23 forks0 contributors

What is AEAccordion?

AEAccordion is a Swift library for iOS that enables developers to easily create accordion effects in UITableViewControllers. It solves the problem of managing expandable and collapsible table view cells, allowing users to toggle detailed content visibility with smooth animations.

Target Audience

iOS developers building apps that require expandable list interfaces, such as FAQ sections, settings menus, or data-detail views.

Value Proposition

Developers choose AEAccordion for its simplicity, lightweight design, and ease of integration, providing a ready-made solution for accordion interactions without the overhead of custom implementations.

Overview

Simple and lightweight UITableViewController with accordion effect (expand / collapse cells)

Use Cases

Best For

  • Implementing FAQ or help sections in iOS apps
  • Creating expandable settings or preference menus
  • Building data-detail views with collapsible sections
  • Adding interactive list interfaces with show/hide functionality
  • Developing mobile apps that require space-efficient content presentation
  • Enhancing UITableView with animated expand/collapse features

Not Ideal For

  • Projects built with SwiftUI or declarative UI frameworks
  • Apps requiring nested or multi-level accordion structures
  • Teams looking for pre-designed, themed accordion components without custom cell work

Pros & Cons

Pros

Simple Implementation

Subclassing AccordionTableViewCell and AccordionTableViewController provides a straightforward way to add accordion effects, as demonstrated in the usage examples with minimal boilerplate.

Flexible Animations

Optional animation control for expansion and collapsing allows developers to customize transition effects, such as duration and visibility toggling, enhancing user experience.

Automatic Scroll Support

Built-in optional scrolling ensures expanded cells are fully visible on screen, reducing the need for manual layout adjustments in table views.

Lightweight and Focused

The library is minimalistic, focusing solely on accordion functionality without unnecessary dependencies, making it easy to integrate into existing projects.

Cons

UIKit-Only Dependency

Tied to UIKit and UITableViewControllers, it is incompatible with modern SwiftUI projects without complex bridging, limiting its use in contemporary iOS development.

Manual Configuration Required

Developers must override methods like setExpanded and manually handle cell heights, which adds verbosity and potential for errors, as shown in the usage code.

Limited to Simple Structures

Only supports flat, single-level accordions in table views, lacking features for hierarchical or nested expandable content, restricting advanced use cases.

Frequently Asked Questions

Quick Stats

Stars209
Forks23
Contributors0
Open Issues3
Last commit7 years ago
CreatedSince 2015

Tags

#ios#swift-package-manager#uitableview#ui-components#mobile-development#cocoapods#swift#carthage#accordion

Built With

S
Swift

Included in

iOS51.7k
Auto-fetched 20 hours ago

Related Projects

folding-cellfolding-cell

:octocat: 📃 FoldingCell is an expanding content cell with animation made by @Ramotion

Stars10,184
Forks1,136
Last commit2 years ago
expanding-collectionexpanding-collection

:octocat: ExpandingCollection is an animated material design UI card peek/pop controller. iOS library made by @Ramotion

Stars5,513
Forks518
Last commit6 years ago
ExpandableCellExpandableCell

✨ Awesome expandable, collapsible tableview cell for iOS written in Swift 5

Stars768
Forks123
Last commit17 days ago
YNExpandableCellYNExpandableCell

✨ Awesome expandable, collapsible tableview cell for iOS written in Swift 4

Stars451
Forks35
Last commit16 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub