Adding a stretchable header to a SwiftUI ScrollView
A tutorial on implementing a stretchable header effect in a SwiftUI ScrollView, similar to the one seen in Spotify's iOS app.
Daniel Saidi is a freelance engineer specializing in app and product development for Apple platforms. He writes and builds open-source tools focused on Swift, SwiftUI, and modern iOS/macOS development.
105 articles from this blog
A tutorial on implementing a stretchable header effect in a SwiftUI ScrollView, similar to the one seen in Spotify's iOS app.
Learn how to use the open-source SystemNotification library to create iOS-style system notifications in your SwiftUI apps.
Fixes a SwiftUI bug in Xcode 16 where DocumentGroup apps show duplicate back buttons, using a toolbarRole modifier.
A technical guide on implementing complex gestures like presses, drags, and taps in SwiftUI using a custom GestureButton.
Explains how to implement complex gestures in SwiftUI ScrollViews without blocking scrolling, with updates for iOS 18 compatibility.
Introducing LicenseKit, an on-device license engine SDK for protecting closed-source software with commercial licenses.
A developer details the process of rewriting the Wally app for iOS 16 using SwiftUI 4, focusing on architecture, package management, and data migration.
Explores AI image generation tools like DALL·E 2 and Stable Diffusion, and the emerging market for specialized prompts on platforms like Promptbase.
A guide to implementing content tagging in SwiftUI using the TagKit library, covering slugification and customizable tag views.
A tutorial on using SwiftUI 4's new NavigationSplitView component to create sidebar-based navigation for iPad and macOS apps.
A guide to implementing conditional searchable modifiers in SwiftUI, allowing developers to toggle search functionality based on user needs.
How to hide the iOS home indicator in SwiftUI 4 using the new persistentSystemOverlays modifier, with backward compatibility tips.
A guide to implementing image resizing extensions for both UIKit (iOS) and AppKit (macOS) in Swift, enabling cross-platform code.
A tutorial on using the QuickLook framework to preview images and PDFs in SwiftUI apps for iOS and macOS.
Introducing StoreKitPlus, a Swift library that adds extra functionality and simplifies using StoreKit 2 in SwiftUI apps.
A guide to backporting SwiftUI 4's ImageRenderer to work on iOS 13, enabling view-to-image conversion for older iOS versions.
A guide to creating SwiftUI sheets that don't dim the underlying view, enabling interactive overlays like Apple Maps.
A tutorial on using SwiftUI 4's new ImageRenderer to convert views into images, covering setup, async handling, and resolution fixes.
Explores the new variable colors feature in SF Symbols 4 for Apple platforms, allowing icons to adapt dynamically to numeric values like signal strength.
Explains how to use SwiftUI's new .presentationDetents modifier in iOS 16 to create custom-sized sheets with multiple detents and handle controls.