Skip to content

Commit f5d0939

Browse files
committed
add FIXME
1 parent f7787cb commit f5d0939

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Ark/AnyNodable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ internal protocol _AnyNodableBox {
1616
/// Determine whether values in the boxes are equivalent
1717
///
1818
/// - Precondition: `self` and `box` are in canonical form.
19-
/// - Returns: `nil` to indicate thatt he boxes store different types, so
19+
/// - Returns: `nil` to indicate that the boxes store different types, so
2020
/// no comparison is possible. Otherwise, contains the result of `==`.
2121
func _isEqual(to box: _AnyNodableBox) -> Bool?
2222
var _diffIdentifier: AnyHashable { get }

Ark/Nodable.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ import AsyncDisplayKit
1313

1414

1515
/// A SectionInfaltor provides items for a section
16-
/// and act as section level element for diff processing.
16+
/// and act as section-level element for diff processing.
1717
public protocol SectionInflator: Diffable, Equatable {
1818
var items: [AnyNodable] { get }
1919
}
2020

2121
/// A struct implements `Nodable` provides
2222
/// info to construct a texture node and
23-
/// act as section or item level element for diff processing.
23+
/// act as item-level element for diff processing.
2424
public protocol Nodable: Diffable, Equatable {
2525

2626
var diffIdentifier: AnyHashable { get }

Ark/NodeEvent.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import Foundation
1010
import RxSwift
1111
import RxCocoa
1212

13+
// FIXME: rename Kind to Action, and case action to cta
1314
public struct NodeEvent {
1415
public let model: AnyNodable
1516
public let kind: Kind

0 commit comments

Comments
 (0)