mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-05 00:04:17 +08:00
Modernize ObjC
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
|
||||
#import "GCDWebServer.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class GCDWebDAVServer;
|
||||
|
||||
/**
|
||||
@@ -86,7 +88,7 @@
|
||||
/**
|
||||
* Sets the delegate for the server.
|
||||
*/
|
||||
@property(nonatomic, assign) id<GCDWebDAVServerDelegate> delegate;
|
||||
@property(nonatomic, weak, nullable) id<GCDWebDAVServerDelegate> delegate;
|
||||
|
||||
/**
|
||||
* Sets which files are allowed to be operated on depending on their extension.
|
||||
@@ -154,3 +156,5 @@
|
||||
- (BOOL)shouldCreateDirectoryAtPath:(NSString*)path;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user