Documents `KVORepresentable` optional initializer.

This commit is contained in:
Krunoslav Zaher 2015-12-20 22:46:42 +01:00
parent 7c2b34a100
commit 5bb551438b
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ public protocol KVORepresentable {
}
extension KVORepresentable {
/**
Initializes `KVORepresentable` with optional value.
*/
init?(KVOValue: KVOType?) {
guard let KVOValue = KVOValue else {
return nil