Has anyone successfully used cupertino-adaptive <h...
# compose-ios
c
Has anyone successfully used cupertino-adaptive https://github.com/alexzhirkevich/compose-cupertino I've added it to my project, but I don't know how to actually use it. I tried removing material imports and re-importing but trying to look for cupertino but no dice. I additionally thought maybe I need to just use a theme and it would know how to style everything, but still no dice.
j
That's not how Compose UI works. These will have to be entirely separate composables that you use.
You need to replace all your composables with ones from the library
a
There are no docs yet, but you can look at example app. It demonstrates all available features
Shortly speaking, you have to replace root MaterialTheme call with AdaptiveTheme and then use the same components but with ‘Adaptive’ prefix
K 1
c
I've had a little play in Tivi: https://github.com/chrisbanes/tivi/pull/1722 Still not sure whether I'll carry on with the full migration though
m
is it UIKit “looking” elements or actually constructing layout using UIKit. wonder how it might impact Accessibility
a
It’s compose widgets and they mostly have the same semantics as material3 and fully support RTL mode. On iOS they even support “reduce transparency” and “increase contrast” accessibility features. I’m also planning to support “reduce motion”