Tag: randomizing

  • Swift: Arc4Random Type Casting

    Swift: Arc4Random Type Casting

    I’ve been struggling like usual with a relatively simple problem the last two days this time, it’s getting arc4random_uniform to give me a randomized value from an array. Sure, it’s an easy problem for someone more experienced, so prepare to laugh. It occurred to me to type cast arc4random the instant I saw the error. […]