この NSInteger カウンターがデータベース行の実際の値の正確に 4 倍になる理由がわかりません。多分これはばかげているかもしれませんが、私は本当に理解できません...
これまでありがとう:)
NSInteger *i;
i = 0;
for ( NSDictionary *teil in gText ) {
//NSLog(@"%@", [teil valueForKey:@"Inhalt"]);
[databaseWrapper addEntry:[teil valueForKey:@"Inhalt"] withTyp:[teil valueForKey:@"Typ"] withParagraph:[teil valueForKey:@"Paragraph"]];
i+=1;
}
NSLog(@"Number of rows created: %d", i);