Publishes the values of three key paths as a tuple.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
Framework
- Combine
Declaration
func map<T0, T1, T2>(_ keyPath0: Key Path<(A.Output, B.Output), T0>, _ keyPath1: Key Path<(A.Output, B.Output), T1>, _ keyPath2: Key Path<(A.Output, B.Output), T2>) -> Publishers.Map Key Path3<Publishers.Combine Latest<A, B>, T0, T1, T2>
Parameters
keyPath1
The key path of a property on
Output
.keyPath2
The key path of a second property on
Output
.keyPath3
The key path of a third property on
Output
.
Return Value
A publisher that publishes the values of three key paths as a tuple.