forXifLess / LinkNavigator

🌊 Easy & Powerful navigation library in SwiftUI
Other
397 stars 29 forks source link

Deprecated LinkItem class #44

Closed r0otx closed 1 month ago

r0otx commented 1 month ago

Hello, thank you for this beautiful library. I'm have warning if use Link Item with params.

            navigator.next(
                linkItem: LinkItem(
                    path: AppScreens.otp.path,
                    items: PhoneNumberParam(phoneNumber: text)
                        .encoded()),
                isAnimated: true)

'init(path:items:)' is deprecated: Please use init(path:itemsString:isBase64EncodedItemsString:) instead.

How I can fix it?

interactord commented 1 month ago

hi @r0otx

Thank you for using our library.

We have made additional improvements for a better experience.

Please refer to the method below.

image image

interactord commented 1 month ago

The link below is an example of an enterprise sample created using TCA, Tuist, and Clean Architecture.

I apologize for the delayed ReadMe update.

https://github.com/interactord/favorite/tree/main