StickyAsyncImageSwiftUI

How to use

Follow all the steps for 3rd party Swift packages and add the package to your project. If you have no idea, have a look here 👉🏻 Click here.

Then add it to your project as follows.

// MARK: STEP 1
import StickyAsyncImageSwiftUI 

Recommended Usage

import StickyAsyncImageSwiftUI 

struct ExampleView: View {
    var body: some View {
        NavigationView {
            ScrollView {
                AnimatableAsyncImageView(urlPath: "url") { image in // Your Sticky View
                    image
                        .resizable()
                        .scaledToFill()
                }.modifier(StickyTopViewModifier(height: 40.0.responsiveH))
                
                // Your Views
            }
        }
    }
}

Preview

Simulator Screen Recording - iPhone 13 - 2022-10-10 at 22 28 00