Documents `KVORepresentable` optional initializer.
This commit is contained in:
parent
7c2b34a100
commit
5bb551438b
|
|
@ -24,6 +24,9 @@ public protocol KVORepresentable {
|
|||
}
|
||||
|
||||
extension KVORepresentable {
|
||||
/**
|
||||
Initializes `KVORepresentable` with optional value.
|
||||
*/
|
||||
init?(KVOValue: KVOType?) {
|
||||
guard let KVOValue = KVOValue else {
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue