From 0f0a9840e4296ab93d72feb29463762520ecd3fa Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Latour Date: Mon, 13 Apr 2015 12:54:41 -0700 Subject: [PATCH] Fixed Xcode 6.3 warnings --- GCDWebDAVServer/GCDWebDAVServer.m | 2 ++ GCDWebServer.xcodeproj/project.pbxproj | 1 + GCDWebUploader/GCDWebUploader.m | 2 ++ 3 files changed, 5 insertions(+) diff --git a/GCDWebDAVServer/GCDWebDAVServer.m b/GCDWebDAVServer/GCDWebDAVServer.m index c7341fa..a0ef410 100644 --- a/GCDWebDAVServer/GCDWebDAVServer.m +++ b/GCDWebDAVServer/GCDWebDAVServer.m @@ -602,6 +602,8 @@ static inline xmlNodePtr _XMLChildWithName(xmlNodePtr child, const xmlChar* name @synthesize uploadDirectory=_uploadDirectory, allowedFileExtensions=_allowedExtensions, allowHiddenItems=_allowHidden; +@dynamic delegate; + - (instancetype)initWithUploadDirectory:(NSString*)path { if ((self = [super init])) { _uploadDirectory = [[path stringByStandardizingPath] copy]; diff --git a/GCDWebServer.xcodeproj/project.pbxproj b/GCDWebServer.xcodeproj/project.pbxproj index 2196d2c..6f609da 100644 --- a/GCDWebServer.xcodeproj/project.pbxproj +++ b/GCDWebServer.xcodeproj/project.pbxproj @@ -535,6 +535,7 @@ "-Wno-documentation", "-Wno-documentation-unknown-command", "-Wno-objc-missing-property-synthesis", + "-Wno-cstring-format-directive", ); }; name = Debug; diff --git a/GCDWebUploader/GCDWebUploader.m b/GCDWebUploader/GCDWebUploader.m index d88a45a..5da5e27 100644 --- a/GCDWebUploader/GCDWebUploader.m +++ b/GCDWebUploader/GCDWebUploader.m @@ -292,6 +292,8 @@ @synthesize uploadDirectory=_uploadDirectory, allowedFileExtensions=_allowedExtensions, allowHiddenItems=_allowHidden, title=_title, header=_header, prologue=_prologue, epilogue=_epilogue, footer=_footer; +@dynamic delegate; + - (instancetype)initWithUploadDirectory:(NSString*)path { if ((self = [super init])) { NSBundle* siteBundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"GCDWebUploader" ofType:@"bundle"]];