NSXMLDocument freezes UI
NSXMLDocument freezes UI
- Subject: NSXMLDocument freezes UI
- From: Jesse Grosjean <email@hidden>
- Date: Tue, 28 Aug 2007 14:32:52 -0400
I'm seeing a really odd problem. If I put this code in my delegate:
- (void)applicationWillFinishLaunching:(NSNotification *)aNotification {
NSError *error = nil;
NSXMLDocument *document = [[NSXMLDocument alloc]
initWithContentsOfURL:[NSURL fileURLWithPath:@"/Users/jessegrosjean/
Desktop/plugin.xml"] options:0 error:&error];
}
Then my applications UI gets frozen. The content of the xml file is:
<?xml version="1.0" encoding="UTF-8"?>
<plugin />
Does anyone have ideas on why this would happen. The document is
getting read in correctly, and I can interact with it, but somethings
happening that maybe messes up the run loop or something and freezes
my api.
Jesse
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden