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