 <p>You could break the word into an array of letters, and loop over this using a random number to determining case, after looping the array, simply stick the letters back together using NSMutableString.</p> <p>NSString had a uppercaseString and lowercaseString methods you can use.</p>