I am trying to parse 3 xml files in a UIView class, and set the text of a label to a nodeid, however I am getting a SIGNAL SIGBRT error, does anyone have a solution for this?
- (void)viewDidLoad
{
[super viewDidLoad];
xmlParser = [[XMLParser alloc] loadXMLByURL:@"http://ift.tt/1yYtYF4"];
xmlParser1 = [[Xemel alloc] loadXMLByURL:@"http://vmhost04-vm2/nodeRepresentation"];
xmlParser2 = [[Xmelia alloc] loadXMLByURL:@"http://ift.tt/1xHwtsZ"];
VMdelivered *nodes = [[xmlParser nodes] objectAtIndex:1];
VMdelivered *nodes1 = [[xmlParser1 nodes] objectAtIndex:1];
VMdelivered *nodes2 = [[xmlParser2 nodes] objectAtIndex:1];
label1.text = [nodes1 nodeid];
}
No comments:
Post a Comment