mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
19 lines
362 B
Swift
19 lines
362 B
Swift
//
|
|
// Inflections.swift
|
|
// GRDB
|
|
//
|
|
// Created by Gwendal Roué on 01/10/2018.
|
|
// Copyright © 2018 Gwendal Roué. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension String {
|
|
var uppercasingFirstCharacter: String {
|
|
guard let first = first else {
|
|
return self
|
|
}
|
|
return String(first).uppercased() + dropFirst()
|
|
}
|
|
}
|