ReactiveCocoa / ReactiveCocoa

Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type 'Lifetime' has no member 'of'

iby opened this issue · comments

Am I being an idiot or is something wrong? I can navigate to the definition, I can see it exist, but the following gives me a compile error. Also tried passing AnyObject.

import ReactiveCocoa
import ReactiveSwift

func foo() {
    _ = Lifetime.of(NSObject()) // Type 'Lifetime' has no member 'of'
}

image

This works fine in the playground and in a different project. Frameworks are 💯 being linked as everything else I can think of inside of them is available without problems.

And this is me opening Carthage fails to update a single dependency!

tenor