Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated sample code.

  • Loading branch information...
commit 8fcd59b22cdeed9bc11c58aa0738d57c9b905746 1 parent 22fe349
@nfarina authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  XMLDocumentSamples/AppDelegate.m
View
2  XMLDocumentSamples/AppDelegate.m
@@ -10,7 +10,7 @@ - (void) applicationDidFinishLaunching:(UIApplication *)application {
NSData *data = [NSData dataWithContentsOfFile:sampleXML];
// create a new SMXMLDocument with the contents of sample.xml
- SMXMLDocument *document = [SMXMLDocument documentWithData:data];
+ SMXMLDocument *document = [SMXMLDocument documentWithData:data error:NULL];
// demonstrate -description of document/element classes
NSLog(@"Document:\n %@", document);
Please sign in to comment.
Something went wrong with that request. Please try again.