//
#import "AppDelegate.h"
+#import <Foundation/NSDebug.h>
@implementation AppDelegate
self = [super init];
if (!self) return nil;
+ NSZombieEnabled = YES;
+
NSString *templateXML = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"template" ofType:@"xml"]];
NSString *templateXSLT = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"template" ofType:@"xslt"]];
-
+ NSLog(@"AppDelegate init");
NSDictionary *appDefaults = [NSDictionary dictionaryWithObjectsAndKeys:
@"YES", @"enableWellformedCheck",
@"YES", @"enableSyntaxAnalysis",
templateXSLT, @"templateXSLT",
nil];
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
-
+
return self;
}