Skip to content

Commit 519866b

Browse files
committed
Fix
1 parent a93cac5 commit 519866b

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

GCDWebDAVServer/GCDWebDAVServer.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171

7272
/**
7373
* The GCDWebDAVServer subclass of GCDWebServer implements a class 1 compliant
74-
* WebDAV server. It is also partially class 2 compliant (but only when the
75-
* client is the OS X WebDAV implementation), so it can work with the OS X Finder.
74+
* WebDAV server. It is also partially class 2 compliant but only when the
75+
* client is the OS X WebDAV implementation (so it can work with the OS X Finder).
7676
*
7777
* See the README.md file for more information about the features of GCDWebDAVServer.
7878
*/
@@ -89,16 +89,15 @@
8989
@property(nonatomic, assign) id<GCDWebDAVServerDelegate> delegate;
9090

9191
/**
92-
* Restricts which files should be listed and allowed to be uploaded, downloaded,
93-
* moved, copied or deleted depending on their extensions.
92+
* Sets which files are allowed to be operated on depending on their extension.
9493
*
9594
* The default value is nil i.e. all file extensions are allowed.
9695
*/
9796
@property(nonatomic, copy) NSArray* allowedFileExtensions;
9897

9998
/**
100-
* Sets if files and directories whose name start with a period should be
101-
* listed and allowed to be uploaded, downloaded, moved, copied or deleted.
99+
* Sets if files and directories whose name start with a period are allowed to
100+
* be operated on.
102101
*
103102
* The default value is NO.
104103
*/
@@ -119,7 +118,7 @@
119118
@interface GCDWebDAVServer (Subclassing)
120119

121120
/**
122-
* This method is called to check if a file is allowed to be uploaded.
121+
* This method is called to check if a file upload is allowed to complete.
123122
* The uploaded file is available for inspection at "tempPath".
124123
*
125124
* The default implementation returns YES.

GCDWebUploader/GCDWebUploader.h

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@class GCDWebUploader;
3131

3232
/**
33-
* Delegate methods for GCDWebUploaderDelegate.
33+
* Delegate methods for GCDWebUploader.
3434
*
3535
* @warning These methods are always called on the main thread in a serialized way.
3636
*/
@@ -70,37 +70,39 @@
7070
* or directories.
7171
*
7272
* See the README.md file for more information about the features of GCDWebUploader.
73+
*
74+
* @warning For GCDWebUploader to work, "GCDWebUploader.bundle" must be added
75+
* to the resources of the Xcode target.
7376
*/
7477
@interface GCDWebUploader : GCDWebServer
7578

7679
/**
77-
* Returns the upload directory as specified when the server was initialized.
80+
* Returns the upload directory as specified when the uploader was initialized.
7881
*/
7982
@property(nonatomic, readonly) NSString* uploadDirectory;
8083

8184
/**
82-
* Sets the delegate for the server.
85+
* Sets the delegate for the uploader.
8386
*/
8487
@property(nonatomic, assign) id<GCDWebUploaderDelegate> delegate;
8588

8689
/**
87-
* Restricts which files should be listed and allowed to be uploaded, downloaded,
88-
* moved or deleted depending on their extensions.
90+
* Sets which files are allowed to be operated on depending on their extension.
8991
*
9092
* The default value is nil i.e. all file extensions are allowed.
9193
*/
9294
@property(nonatomic, copy) NSArray* allowedFileExtensions;
9395

9496
/**
95-
* Sets if files and directories whose name start with a period should be
96-
* listed and allowed to be uploaded, downloaded, moved or deleted.
97+
* Sets if files and directories whose name start with a period are allowed to
98+
* be operated on.
9799
*
98100
* The default value is NO.
99101
*/
100102
@property(nonatomic) BOOL allowHiddenItems;
101103

102104
/**
103-
* Sets the title for the uploader interface.
105+
* Sets the title for the uploader web interface.
104106
*
105107
* The default value is the application name.
106108
*
@@ -110,7 +112,7 @@
110112
@property(nonatomic, copy) NSString* title;
111113

112114
/**
113-
* Sets the header for the uploader interface.
115+
* Sets the header for the uploader web interface.
114116
*
115117
* The default value is the same as the title property.
116118
*
@@ -120,7 +122,7 @@
120122
@property(nonatomic, copy) NSString* header;
121123

122124
/**
123-
* Sets the prologue for the uploader interface.
125+
* Sets the prologue for the uploader web interface.
124126
*
125127
* The default value is a short help text.
126128
*
@@ -130,7 +132,7 @@
130132
@property(nonatomic, copy) NSString* prologue;
131133

132134
/**
133-
* Sets the epilogue for the uploader interface.
135+
* Sets the epilogue for the uploader web interface.
134136
*
135137
* The default value is nil i.e. no epilogue.
136138
*
@@ -140,7 +142,7 @@
140142
@property(nonatomic, copy) NSString* epilogue;
141143

142144
/**
143-
* Sets the footer for the uploader interface.
145+
* Sets the footer for the uploader web interface.
144146
*
145147
* The default value is the application name and version.
146148
*
@@ -164,7 +166,7 @@
164166
@interface GCDWebUploader (Subclassing)
165167

166168
/**
167-
* This method is called to check if a file is allowed to be uploaded.
169+
* This method is called to check if a file upload is allowed to complete.
168170
* The uploaded file is available for inspection at "tempPath".
169171
*
170172
* The default implementation returns YES.

0 commit comments

Comments
 (0)