Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
p-x9 committed Apr 1, 2024
1 parent 0766095 commit 8938b8f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// ReferenceWritableKeyPathValueApplier.swift
//
//
//
// Created by p-x9 on 2022/11/04.
//
//
//

import Foundation
Expand All @@ -17,7 +17,7 @@ public struct ReferenceWritableKeyPathValueApplier<Root: AnyObject> {
public let _apply: (Any, Root) -> Bool

/// initialize with keyPath
public init<Value>(_ keyPath: ReferenceWritableKeyPath<Root,Value>) {
public init<Value>(_ keyPath: ReferenceWritableKeyPath<Root, Value>) {
self.keyPath = keyPath
self._apply = {
guard let value = $0 as? Value else { return false }
Expand Down
4 changes: 2 additions & 2 deletions Sources/KeyPathValue/ReferenceWritableKeyPathWithValue.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// ReferenceWritableKeyPathWithValue.swift
//
//
//
// Created by p-x9 on 2022/11/04.
//
//
//

import Foundation
Expand Down
6 changes: 3 additions & 3 deletions Sources/KeyPathValue/WritableKeyPathValueApplier.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// WritableKeyPathValueApplier.swift
//
//
//
// Created by p-x9 on 2022/11/04.
//
//
//

import Foundation
Expand All @@ -17,7 +17,7 @@ public struct WritableKeyPathValueApplier<Root> {
private let _apply: (Any, inout Root) -> Bool

/// initialize with keyPath
public init<Value>(_ keyPath: WritableKeyPath<Root,Value>) {
public init<Value>(_ keyPath: WritableKeyPath<Root, Value>) {
self.keyPath = keyPath
self._apply = {
guard let value = $0 as? Value else { return false }
Expand Down
4 changes: 2 additions & 2 deletions Sources/KeyPathValue/WritableKeyPathWithValue.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// WritableKeyPathWithValue.swift
//
//
//
// Created by p-x9 on 2022/11/04.
//
//
//

import Foundation
Expand Down

0 comments on commit 8938b8f

Please sign in to comment.