52inc / Pulley

A library to imitate the iOS 10 Maps UI.
https://cocoapods.org/pods/Pulley
MIT License
2.02k stars 265 forks source link

SwiftUI? #346

Open jtayler opened 5 years ago

jtayler commented 5 years ago

Have folks considered the SwiftUI version of this concept?

cyvaluer commented 5 years ago

It would be a great idea! Especially if they also consider including a Mac version!!!

amyleecodes commented 5 years ago

SwiftUI is interoperable with Pulley, so I don’t see a big benefit to be gained here.

SwiftUI is primarily about data binding, which Pulley doesn’t need. Infrastructure components are less suited to SwiftUI than things like lists, stacks, and scrollable screens.

mkidev commented 5 years ago

Is it in general possible to use pulley with SwiftUI?

jtayler commented 5 years ago

Another comment is correct to say that it basically sin’t much of a good candidate for being written in SwiftUI since you could use Combine and SwiftUI to list and report data while still using the UIKit part of Pulley

I would still like to see a more comprehensive and modern demo for Pulley, and that could be an example using SwiftUI

A demonstration like Stocks or Places search or something that can show a bit of data and stack some modal views that use the X to dismiss.

Getting the controls right, setting a standard step size for the Pulley is all stuff that would make a great demo hardness and basically show a standard way to do some common UI stuff for iOS

That’s what I’d like to see - a SwiftUI / modern demo app with a bit more to it.

Perhaps that is as simple as an open-source project that takes the UI experience a bit further since it is really building upon this core Pulley stuff here.

On Jul 31, 2019, at 12:20 PM, Marcel Kisilowski notifications@github.com wrote:

Is it in general possible to use pulley with SwiftUI?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/52inc/Pulley/issues/346?email_source=notifications&email_token=AAHVLOGHTOT2SD2WZXFZMQDQCG3UHA5CNFSM4H33KFEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3HZHKI#issuecomment-516920233, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHVLOHKOY4FAKILZFAVVVTQCG3UHANCNFSM4H33KFEA.