Iam working on app and when i debug my code it is showing the following error.
-(IBAction)addSelected:(id)sender
{
NSString* emptyStr = @\"\";
NSDictio
In my case i was doing this:
NSDate *today = [NSDate date];
NSTimeInterval currentTime = [today timeIntervalSince1970];
NSMutableDictionary *dictExpiryDate =
[NSMutableDictionary dictionaryWithObjectsAndKeys:currentTime, KEY_4_VALUE_OF_EXPIRY_DATE, nil];
The problem here is currentTime, i replaced currentTime as followed:
[NSNumber numberWithDouble:currentTime]
This solved my issues.