I have declare a method in my .h file as
-(IBAction)buttonTapped:(id) sender;
and I apply this method in my .m file as
-(IBAction)buttonTapped:(id)sender
{
NSString* themessage=[NSString stringWithFormat:@"I'm %@ and feeling %@ about it",[activities objectAtIndex:[tweetPicker selectedRowInComponent:0]],
[feelings objectAtIndex:[tweetPicker selectedRowInComponent:1]]];
NSLog (themessage);
}
but at the line NSLog (themessage);
it shows me warning likd "format string is not string literal(potentially unsecure"
pls suggest me what i should do...