JWAutumn / ACarousel

A carousel view for SwiftUI | SwiftUI 旋转木马效果
MIT License
381 stars 78 forks source link

Need access to identify current Item #1

Closed AjazDev closed 3 years ago

AjazDev commented 3 years ago

@TheAuttom @JWAutumn It's an awesome library for this feature, First in SwiftUI I think. However there is an improvement that will make it more useful.

There is no way to access the information what object is currently in Focus. a) In case of Auto Scrolling turned ON b) In case of Auto Scrolling turned OFF and user is manually dragging etc.

There is an AState Observable Object but it is set to private. Can you please provide a way to get that information?

JWAutumn commented 3 years ago

Thank you for your issue. I revised and updated it. Feel free to visit