I want to convert a long hex string to a number value. I will use the number value in a for loop.
Any ideas?
There have been some great [posts][1] on how to achieve this for small Hex strings natively in Swift (or using Foundation library). But I could not find a post that dealt with 32 character Hex fields.
Take for example:
4D275F68-B95B-42C1-822D-15E561163FFF
How can I change that to a number?
Edit - The following articles didn't answer this question.
http://stackoverflow.com/questions/24229505/how-to-convert-an-int-to-hex-string-in-swift
http://stackoverflow.com/questions/37821112/convert-hex-to-decimal-in-swift
http://stackoverflow.com/questions/26284223/how-to-convert-hex-number-to-bin-in-swift