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>
12 lines
319 B
Swift
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"
|
|
|
|
}
|