From 99ebc03d82df2a48cc6d23f7537442cd89c2916a Mon Sep 17 00:00:00 2001 From: Andrew Madsen Date: Fri, 16 May 2014 11:56:42 -0600 Subject: [PATCH] Issue #2: Enabled -[MIKMIDIMapping writeToFileAtURL:error:] on iOS. --- Source/MIKMIDIMapping.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/MIKMIDIMapping.m b/Source/MIKMIDIMapping.m index a996827e..e11a8094 100644 --- a/Source/MIKMIDIMapping.m +++ b/Source/MIKMIDIMapping.m @@ -274,7 +274,6 @@ - (NSString *)XMLStringRepresentation; - (BOOL)writeToFileAtURL:(NSURL *)fileURL error:(NSError **)error; { -#if !TARGET_OS_IPHONE error = error ? error : &(NSError *__autoreleasing){ nil }; NSData *xmlData = [[self XMLStringRepresentation] dataUsingEncoding:NSUTF8StringEncoding]; if (![xmlData writeToURL:fileURL options:NSDataWritingAtomic error:error]) { @@ -282,8 +281,6 @@ - (BOOL)writeToFileAtURL:(NSURL *)fileURL error:(NSError **)error; return NO; } return YES; -#endif - return NO; } - (BOOL)isEqual:(MIKMIDIMapping *)otherMapping