I need to pass a character to the line no. 2: First method I tried,
1) unichar dicttxt = [[myword lowercaseString] characterAtIndex:0];
2) fileName = [[NSBundle mainBundle] pathForResource:dicttxt ofType: @"txt"];
2nd Method I tried,
NSString *dicttxt = [[myword lowercaseString] characterAtIndex:0];
fileName = [[NSBundle mainBundle] pathForResource:dicttxt ofType: @"txt"];
Both method suggest error Make pointer from integer without a cast.