Generate a random alphanumeric string in cocoa

Posted by Ward on Stack Overflow See other posts from Stack Overflow or by Ward
Published on 2010-04-13T23:06:22Z Indexed on 2010/04/13 23:13 UTC
Read the original article Hit count: 556

Filed under:
|
|
|
|

Hey there,

I know this can't be that hard. I've searched, but I can't seem to find a simple solution. I want to call a method, pass it the length and have it generate a random alphanumeric string.

Any ideas? Are there any utility libraries out there that may have a bunch of these types of functions?

Thanks, Howie

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about alphanumeric