• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSXMLDocument freezes UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSXMLDocument freezes UI
      • From: Chris Suter <email@hidden>
    • Re: NSXMLDocument freezes UI
      • From: "Shawn Erickson" <email@hidden>
    • Re: NSXMLDocument freezes UI
      • From: Jonathon Mah <email@hidden>
  • Prev by Date: Reading text files line-by-line (dead link from archive)
  • Next by Date: Re: Reading text files line-by-line (dead link from archive)
  • Previous by thread: Re: Reading text files line-by-line (dead link from archive)
  • Next by thread: Re: NSXMLDocument freezes UI
  • Index(es):
    • Date
    • Thread