Friday, April 13, 2012
Wednesday, April 4, 2012
Handing NULL value in SQLITE
Replace NSString *aName = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 0)];
with
NSString *aName = [NSString stringWithFormat:@"%s",(char *)sqlite3_column_text(compiledStatement, 0)];
Monday, April 2, 2012
Unique Time Interval
NSString *k= [NSString stringWithFormat: @"%.0f", [NSDate timeIntervalSinceReferenceDate] * 1000.0];
NSLog(@"k is -----%@",k);
NSLog(@"k is -----%@",k);
Subscribe to:
Posts (Atom)