How to get ASCII value as int character in Cocoa? I found the answer for this in python, but I need to know how to do this in Cocoa. (I'm still noob in Cocoa).
Python Method:
use the ord () function as follows:
>>> ord('a') 97
as well as chr () for another:
>>> chr(97) 'a'
How to do it in Cocoa?
c objective-c cocoa ascii
Cashew
source share