The easiest way is to use an NSScanner specifically the methods scanHexInt: or scanHexLongLong: . Another possibility is to get the C string from the NSString and use C-style functions such as strtol (with base 16).
Up vote 0 down vote favorite share g+ share fb share tw.
I would appreciate it if you could tell me how I can convert hexadecimal letters within an NSString, e.g. @"50A6C2", to decimals using Objective-C. Thanks in advance. Objective-c ios decimal hex link|improve this question edited May 14 '11 at 16:38Iulius Cæsar15.7k51635 asked May 14 '11 at 13:41max_3,2401635 100% accept rate.
Refer this post – user745098 May 14 '11 at 13:43.
The easiest way is to use an NSScanner, specifically the methods scanHexInt: or scanHexLongLong:. Another possibility is to get the C string from the NSString and use C-style functions such as strtol (with base 16).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.