A collection of hands-on examples demonstrating new features and APIs introduced in iOS 26, built with SwiftUI. Each example is self-contained and showcases a specific capability or UI enhancement available in the latest iOS release.
- AnimatableView: Demonstrates custom animatable shapes and interactive animation using SwiftUI's new
@Animatablemacro. - BackgroundExtensionEffectView: Shows how to use the new
.backgroundExtensionEffect()modifier for immersive backgrounds. - Chart3DView: Explores the new 3D charting capabilities with
Chart3DandSurfacePlot. - GlassEffectContainerView: Showcases advanced glassmorphism effects and container unions using
GlassEffectContainerand related APIs. - GlassEffectView: Demonstrates the new GlassEffect API for creating translucent, glass-like UI elements.
- LabelSpacingView: Demonstrates new label spacing and icon width customization with
.labelIconToTitleSpacingand.labelReservedIconWidth. - ListSectionIndexLabel: Uses
.sectionIndexLabeland.listSectionIndexVisibilityfor improved list navigation. - NativeWebView: Integrates a native
WebViewwith SwiftUI, loading a web page on appear. - NewTabView: Presents the enhanced
TabViewwith new tab roles, bottom accessories, and minimize behavior. - RichTextEditor: Utilizes the improved
TextEditorfor rich text editing with attributed strings. - SFSymbolsView: Animates and customizes SF Symbols with new symbol effects and variable values.
- ToolbarSpacerView: Demonstrates the new toolbar spacer API for flexible and adaptive toolbar layouts.
Contributions are welcome! If you have an example, improvement, or fix to share, feel free to open a pull request or submit an issue. Please ensure your code follows the style of the existing examples.
Artem Novichkov, https://www.artemnovichkov.com/
The project is available under the MIT license. See the LICENSE file for more info.
