From 5bb551438bc6cf6bc848537dae2633fac1824271 Mon Sep 17 00:00:00 2001 From: Krunoslav Zaher Date: Sun, 20 Dec 2015 22:46:42 +0100 Subject: [PATCH] Documents `KVORepresentable` optional initializer. --- RxCocoa/Common/KVORepresentable.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RxCocoa/Common/KVORepresentable.swift b/RxCocoa/Common/KVORepresentable.swift index 481b06ee..9f4d6067 100644 --- a/RxCocoa/Common/KVORepresentable.swift +++ b/RxCocoa/Common/KVORepresentable.swift @@ -24,6 +24,9 @@ public protocol KVORepresentable { } extension KVORepresentable { + /** + Initializes `KVORepresentable` with optional value. + */ init?(KVOValue: KVOType?) { guard let KVOValue = KVOValue else { return nil