I am working on an application, and when I debug my code, it shows the following error.
-(IBAction)addSelected:(id)sender
{
NSString* emptyStr = @"";
NSDictionary* traits = [NSDictionary dictionaryWithObjectsAndKeys:
self.walletName.text, @"alias",
self.abc.text, @"abc",
self.field.text, @"field",
@"name," @"Type",
nil];-------at this point it is showing thread recieved signal sigabrt
This is the reason in the debugger. '+ [Dictionary NSDictionaryWithObjectsAndKeys:]: the second object of each pair must be non-zero. Or did you forget the nil-terminate parameter list? * Call stack on first throw:
source
share