Thread
#multiplatform
    Olenyov Kirill

    Olenyov Kirill

    2 years ago
    Hi, how can I share actual/expect code for iOS and tvOS. For example, “expect” CoroutineDispatcher implementation is the same for iOS and tvOS but I need to copy/paste it in each ios/tvos source sets..
    Artyom Degtyarev [JB]

    Artyom Degtyarev [JB]

    2 years ago
    If you want to share the
    expect
    part, it can be done by specifying some “appleCommon” source set with your iOS&tvOS depending on it.
    actual
    can also be shared, but should not be resolving correctly, as those targets have different platform libraries sets.
    Olenyov Kirill

    Olenyov Kirill

    2 years ago
    Thanks, I will try