> Am 25.07.2017 um 18:31 schrieb Charles Srstka <[email protected]>: > >> On Jul 25, 2017, at 11:26 AM, Manfred Schubert <[email protected]> wrote: >> >> >>> Am 25.07.2017 um 18:21 schrieb Charles Srstka <[email protected]>: >>> >>> #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))”
Yes, that should work. Thank you, Charles! Manfred _______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
