> On Jul 25, 2017, at 11:26 AM, Manfred Schubert <d...@schubert-it.com> wrote: > > >> Am 25.07.2017 um 18:21 schrieb Charles Srstka <cocoa...@charlessoft.com>: >> >> #keyPath(MyView.property) should do it, I’d think. > > I think it wouldn't. It returns "property", but the path needs to be > "view.property”.
Ah, you’re right. This should work, though: “\(#keyPath(view)).\(#keyPath(MyView.property))” Charles _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users