Skip to content

Commit

Permalink
New correction for String Extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
ANSCoder authored Apr 15, 2018
1 parent ffaf907 commit d06214e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Swift-Extension/Extensions/ExString.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ extension String {
}

//MARK : - For First Capital letter of String
func capitalizingFirstLetter() -> String {
private func capitalizingFirstLetter() -> String {
let first = String(self.prefix(1)).capitalized
let other = String(self.dropFirst())
return first + other
Expand Down

0 comments on commit d06214e

Please sign in to comment.