main.swift535 chars14 linesThis extension adds a snakeCaseToCamelCase method to String class in Swift. It splits the string into components using underscore as the separator, capitalizes each component, and then joins them together. Finally, it converts the first character to lowercase to match the camel case convention.
gistlibby LogSnag