Re: NSXMLDocument freezes UI
Re: NSXMLDocument freezes UI
- Subject: Re: NSXMLDocument freezes UI
- From: Jonathon Mah <email@hidden>
- Date: Wed, 29 Aug 2007 04:45:35 +0930
Jesse,
On 2007-08-29, at 04:02, Jesse Grosjean wrote:
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.
Whatever's causing the freeze, it's not that code. Maybe you're
shadowing a variable where you don't mean to.
Jonathon Mah
email@hidden
_______________________________________________
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