Files
todos/App/Sources/Extensions/Character+Constants.swift
javier 52376695a4 Task edition improvements (#9)
This PR contains the work done to improve upon the editing experience on the **Task list item and the **New task** views.

Reviewed-on: rock-n-code/todos-app#9
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2026-02-12 01:21:19 +00:00

12 lines
319 B
Swift

// MARK: - Character+Constants
extension Character {
/// The newline character -`\n`-.
///
/// Use this constant when checking for or comparing against newline characters
/// in text processing, making the code more expressive and self-documenting.
static let newline: Character = "\n"
}