A drop-in replacement for UIStackView that works on iOS 6+ with full Interface Builder support.
FDStackView is an open-source library that provides a backward-compatible implementation of Apple's UIStackView for iOS. It allows developers to use the exact same UIStackView API on iOS versions as old as iOS 6, solving the problem of having to maintain separate layout code for different iOS versions. The library works by automatically replacing UIStackView symbols at runtime on older iOS versions while using the native implementation on iOS 9+.
iOS developers who need to support older iOS versions (iOS 6-8) but want to use modern UIStackView APIs in their applications. This is particularly valuable for apps with large user bases on older iOS versions.
Developers choose FDStackView because it provides perfect API compatibility with native UIStackView, requires no code changes, offers full Interface Builder support, and has been proven safe for App Store submission. Unlike other alternatives, it doesn't require learning a new API or modifying existing UIStackView code.
Use UIStackView directly in iOS6+
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows developers to use the exact UIStackView API on iOS 6-8 without any code changes, mimicking native behavior perfectly as highlighted in the README.
Provides live preview and reactive options in Xcode's Interface Builder, identical to native UIStackView, enabling visual design across iOS versions.
Automatically replaces UIStackView symbols with FDStackView for iOS versions below 9 at runtime, eliminating the need for manual version checks or conditional code.
Proven to pass Apple's App Store review process after use in official applications, reducing deployment risks for production apps.
Requires Xcode 7+ and Base SDK iOS 9.0+, which may conflict with modern development environments targeting newer iOS versions or using latest Xcode features.
The project's last release was version 1.0.1 in 2016, raising concerns about long-term support, bug fixes, and compatibility with future iOS updates.
Relies on runtime symbol replacement, which can introduce subtle debugging challenges and unexpected behavior in edge cases, such as with dynamic linking or third-party libraries.