How is CamelCase used in Swift3?

0

How can I use CamelCase on a String I use in Swift 3? The problem is that I have an example of how I could apply it.

For example I use a variable like the following:

  

var textTest: String="amelCase is a writing style that is   Applies to phrases or compound words. The name is because the   capital letters throughout a word in CamelCase resemble the   humps of a camel. "

How can I use CamelCase on that String?

    
asked by Enrique Espinosa 23.04.2018 в 02:56
source

1 answer

0

If I have understood your question well, you have doubts about how to apply CamelCase to that string. The point is that CamelCase is a set of rules that apply to identifiers that denote variables, types, functions and other entities of your source code and documentation. Notice that in that string you have declared you do not have compound words, mostly because it is a string of characters that do not identify anything. Ironically, you are using CamelCase in your TestText variable.

    
answered by 23.04.2018 / 17:38
source