Skip to content

Commit

Permalink
Remove public titleCased
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelHolec committed Nov 27, 2023
1 parent cbbade6 commit 0a590a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Orbit/Support/StringExtensions.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

extension String {

public var titleCased: String {
var titleCased: String {
(first?.uppercased() ?? "") + dropFirst()
}
}
7 changes: 7 additions & 0 deletions Sources/OrbitStorybook/Support/String+Extensions.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

extension String {

var titleCased: String {
(first?.uppercased() ?? "") + dropFirst()
}
}

0 comments on commit 0a590a2

Please sign in to comment.