pinkstone.co.uk
How to pick a random character from a string in Objective-C
Imagine we had an NSString consisting of a pool of characters from which we’d like to pick one at random. Say our pool is ABCDEFGHIJKLMNOP, and we want a single character. Here’s how we…