I'm having a problem. A portion of a subclass's init code does not appear to be being called. The rest of the init method is called.
Here is the code, straight from the relevant .m file:
Edit: The object in question is being initialized.
Here is the code, straight from the relevant .m file:
Code:
-(id)init
{
self = [super init];
if (self != nil) {
NSURL *xmlURL = [[NSBundle mainBundle] URLForResource:@"exerciseInfo" withExtension:@"xml"];
// Do some stuff that is related to the XML parser.
xmlParser = [[NSXMLParser alloc] initWithContentsOfURL:xmlURL];
[xmlParser setDelegate:self];
[xmlParser parse];
xmlElements = [[NSMutableArray alloc] init]; // There is a breakpoint here, but it never pauses when it is supposed to. It's not set to be ignored at all, and "Automatically continue after evaluating" is not checked.
unendedElements = [[NSMutableArray alloc] init];
}
return self;
}
Edit: The object in question is being initialized.
Last edited: