mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-05-13 00:02:02 +08:00
Moved more ivars to class extensions
This commit is contained in:
@@ -54,10 +54,7 @@
|
||||
@property(nonatomic, readonly) NSString* filePath; // Only valid after open / write / close sequence
|
||||
@end
|
||||
|
||||
@interface GCDWebServerURLEncodedFormRequest : GCDWebServerDataRequest {
|
||||
@private
|
||||
NSDictionary* _arguments;
|
||||
}
|
||||
@interface GCDWebServerURLEncodedFormRequest : GCDWebServerDataRequest
|
||||
@property(nonatomic, readonly) NSDictionary* arguments; // Only valid after open / write / close sequence
|
||||
+ (NSString*)mimeType;
|
||||
@end
|
||||
|
||||
@@ -63,6 +63,12 @@ enum {
|
||||
}
|
||||
@end
|
||||
|
||||
@interface GCDWebServerURLEncodedFormRequest () {
|
||||
@private
|
||||
NSDictionary* _arguments;
|
||||
}
|
||||
@end
|
||||
|
||||
@interface GCDWebServerMultiPart () {
|
||||
@private
|
||||
NSString* _contentType;
|
||||
|
||||
+1
-5
@@ -29,10 +29,6 @@
|
||||
|
||||
#import "GCDWebServer.h"
|
||||
|
||||
@interface AppDelegate : UIResponder <UIApplicationDelegate> {
|
||||
@private
|
||||
UIWindow* _window;
|
||||
GCDWebServer* _webServer;
|
||||
}
|
||||
@interface AppDelegate : UIResponder <UIApplicationDelegate>
|
||||
@property(retain, nonatomic) UIWindow* window;
|
||||
@end
|
||||
|
||||
@@ -27,6 +27,13 @@
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
@interface AppDelegate () {
|
||||
@private
|
||||
UIWindow* _window;
|
||||
GCDWebServer* _webServer;
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
@synthesize window=_window;
|
||||
|
||||
Reference in New Issue
Block a user