cashapp / molecule

Build a StateFlow stream using Jetpack Compose
https://cashapp.github.io/molecule/docs/1.x/
Apache License 2.0
1.85k stars 80 forks source link

Ensure the iOS/tvOS clock will always work #240

Closed JakeWharton closed 1 year ago

JakeWharton commented 1 year ago

Previously it only worked if it ended up in the header exposed to Objective-C/Swift as that would cause it to extend from a base class which itself extended from NSObject. Instead, we use a type that always extends from NSObject as the selector target.