Is there a sentence case modifier for the text component in Swift?

4 points · 1 comments · view on lemmy.world

1 Comments

samus7070@programming.dev · 1 pts · 2y

I think there might be something to do that in Foundation. You would have to cast to an NSString to access it though. I might be mistaken and there’s only a title case method. Sentence case is easy minus the not converting proper names to lower case problem.