I want to put text into a CCLabelBMFont class which takes a char, however the iOS SDK is returning my value as a NSString. How can I put the NSString as text into the CCLabelBMFont? A search on google didn’t turn up with much help on converting a NSString to char
convert NSString to Char?
Please refer http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html.
Specially refer “Getting C Strings” section. It offers many methods.