SUINavigation icon indicating copy to clipboard operation
SUINavigation copied to clipboard

More simple examples

Open itc-developer-3 opened this issue 3 months ago • 1 comments

Hi! Thank your for your work! This lib looks too much PRO.

Comparing to https://github.com/rundfunk47/stinsen I do really lack of good real-world examples without too many protocols.

With Stinsen I came to the idea from the start and went into using it.

With SUIN I can barely figure out how to make basic navigation. Your examples don't help much.

Could you please make some simple not testable example without protocols handling:

  1. Root View with navigation to some Details View and Settings View
  2. Details view with navigation to some deeper level
  3. Settings view with navigation to some sub-view screens.

And merge this with deeplinking.

For example some merchant app:

For Now I see this as:

  1. CatalogView(Root) + RootRouter enum: .settings, .itemDetails(CatalogItem), .itemDetailsSubscreen
  2. ItemDetailsView using RootRouter? Ot should it have its own Router with .itemDetailsSubscreen ?
  3. Settings view. Should it have its own SettingsRouter for deeper push navigation?

If figure out I can help you with example

itc-developer-3 avatar Sep 20 '25 17:09 itc-developer-3

Hi, itc-developer-3. Thanks a lot for information and question.

In my understanding, a simple example should be completely without routers. Are you suggesting an example with a router?

I'll study the example provided and get back to you with an answer. I agree that there aren't enough good examples, and something needs to be done about that.

sofbix avatar Sep 26 '25 07:09 sofbix