i want to casting my NSString to a constant char the code is shown below :
NSString *date = @"12/9/2009";
char datechar = [date UTF8String]
NSLog(@"%@",datechar);
however it return the warning assignment makes integer from pointer without a cast and cannot print the char properly,can somebody tell me what is the problem