XCode NSInvalidArgumentException

bubblegumsoldie

Cadet 4th Year
Registriert
Nov. 2012
Beiträge
75
Hi!

Kann mir jemand von euch sagen, warum ich einen solchen error bekomme? Ich weiß nicht, ob ich hier auf der richtigen Website für sowas bin, aber ich hoffe es mal...

Hier mein Code:

Code:
#import "ViewController.h"

@implementation ViewController
@synthesize Driven;
@synthesize Display;
@synthesize XGear;
@synthesize ZGear;
@synthesize Unit;
@synthesize  Solutions;
NSMutableArray *Solution;

- (IBAction)Enter:(id)sender {
    NSMutableArray* paths = [[NSMutableArray alloc] init];
    for(int i=0;i<20;i++){
        [paths addObject:@"Hello"];
    }
    Solutions.rowHeight = 20;
    [Solutions beginUpdates];
    [Solutions insertRowsAtIndexPaths:[paths copy] withRowAnimation:UITableViewRowAnimationTop];
    [Solutions endUpdates];
}

@end
 
Zurück
Oben