I'm getting a very weird error here:
That line is giving a signal 11 (SIGSEGV). I know it's that line because I've put NSLogs around the line and only the first appeared and I've commented it out and I didn't get an error.
Even odder is that I've got exactly the same line in -initWithType:error: and it goes fine (this is in -init)
datasourceArray is an IV BTW.
Am I doing something incredibly stupid?
Code:
datasourceArray = [[NSArray alloc] initWithObjects:@"Some", @"Items", @"That", @"Go", @"In", @"The", @"Sourcelist"];
That line is giving a signal 11 (SIGSEGV). I know it's that line because I've put NSLogs around the line and only the first appeared and I've commented it out and I didn't get an error.
Even odder is that I've got exactly the same line in -initWithType:error: and it goes fine (this is in -init)
datasourceArray is an IV BTW.
Am I doing something incredibly stupid?