Is it the same transformation as the upperFirstLetter from StencilSwiftKit?
Note that in the common vocabulary (and Foundation implementation for example), titlecase turns the first letter to uppercase… but also turns the other letters to lowercase (while our upperFirstLetter only uppercase the first letter letting the others unchanged).
So "datePicker"|titlecase would be "Datepicker" while "datePicker"|upperFirstLetter would be "DatePicker"
Is it the same transformation as the
upperFirstLetter
from StencilSwiftKit?Note that in the common vocabulary (and Foundation implementation for example),
titlecase
turns the first letter to uppercase… but also turns the other letters to lowercase (while ourupperFirstLetter
only uppercase the first letter letting the others unchanged).So
"datePicker"|titlecase
would be"Datepicker"
while"datePicker"|upperFirstLetter
would be"DatePicker"