Skip to content

Commit 05599c6

Browse files
committed
Cleanup.
1 parent 91479a0 commit 05599c6

File tree

9 files changed

+15
-9
lines changed

9 files changed

+15
-9
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,10 @@ A text field that binds values and formats them as you type.
7171
|---|---------|-------------|
7272
| :iphone: | SwiftUI | Value, style, done |
7373
| :mountain: | Environment | Uses environment values |
74-
| :mag_right: | Focusable | Supports use of @FocusState |
74+
| :mag_right: | Focusable | Supports SwiftUI.FocusState |
7575
| :sewing_needle: | Customizable | Exposes [ProxyTextField](Sources/DiffableTextKitXUIKit/Views/ProxyTextField.swift) |
7676
| :zzz: | Convenient | Styles use sensible defaults |
7777
| :balance_scale: | Monospaced | Standard font is monospaced |
78-
| :smiley: | Emojis | Uses native offsets |
7978

8079
# Styles
8180

Sources/DiffableTextKit/Models/Symbol.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public struct Symbol: Equatable {
3434
}
3535

3636
//=------------------------------------------------------------------------=
37-
// MARK: Initializers - Static
37+
// MARK: Initializers
3838
//=------------------------------------------------------------------------=
3939

4040
@inlinable @inline(__always) public static func content(_ character: Character) -> Self {

Sources/DiffableTextKit/Support/Info.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public struct Info: CustomStringConvertible, Error {
7575
}
7676

7777
//=--------------------------------------------------------------------=
78-
// MARK: Initializers - Static
78+
// MARK: Initializers
7979
//=--------------------------------------------------------------------=
8080

8181
@inlinable public static func note(_ value: Any) -> Self {

Sources/DiffableTextKitXUIKit/BasicTextField.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ import UIKit
1616
// MARK: * BasicTextField
1717
//*============================================================================*
1818

19+
/// An as-you-type formatting compatible UITextField.
20+
///
21+
/// UITextField has two selection methods: drag and drop and keyboard inputs.
22+
///
23+
/// - Use static selection for drag and drop.
24+
/// - Use momentum selection for keyboard inputs.
25+
///
1926
public final class BasicTextField: UITextField {
2027

2128
//=------------------------------------------------------------------------=

Sources/DiffableTextKitXUIKit/Helpers/&NSTextAlignment.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extension NSTextAlignment {
3131
}
3232

3333
//=------------------------------------------------------------------------=
34-
// MARK: Initializers - Static
34+
// MARK: Initializers
3535
//=------------------------------------------------------------------------=
3636

3737
@inlinable static func adaptive(_ layout: UIUserInterfaceLayoutDirection,

Sources/DiffableTextKitXUIKit/Models/Font.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public struct DiffableTextFont {
5151
}
5252

5353
//=------------------------------------------------------------------------=
54-
// MARK: Initializers - Static
54+
// MARK: Initializers
5555
//=------------------------------------------------------------------------=
5656

5757
@inlinable static func preferred(_ style: UIFont.TextStyle) -> Self {

Sources/DiffableTextStylesXNumeric/Helpers/Lexicon.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public final class Lexicon {
4141
}
4242

4343
//=------------------------------------------------------------------------=
44-
// MARK: Initializers - Static
44+
// MARK: Initializers
4545
//=------------------------------------------------------------------------=
4646

4747
/// Requires that formatter.numberStyle == .none.

Sources/DiffableTextStylesXNumeric/Helpers/Links.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import Foundation
4646
}
4747

4848
//=------------------------------------------------------------------------=
49-
// MARK: Initializers - Static
49+
// MARK: Initializers
5050
//=------------------------------------------------------------------------=
5151

5252
@inlinable static func ascii() -> Self {

Sources/DiffableTextStylesXNumeric/Scheme+Standard.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import Foundation
4040
}
4141

4242
//=------------------------------------------------------------------------=
43-
// MARK: Initializers - Static
43+
// MARK: Initializers
4444
//=------------------------------------------------------------------------=
4545

4646
@inlinable static func reuse<T>(_ format: T) -> Self where T: Formats.Number {

0 commit comments

Comments
 (0)