diff --git a/samples/client/petstore/objc/client/SWGOrders.h b/samples/client/petstore/objc/client/SWGOrders.h new file mode 100644 index 00000000000..2acdc54b3be --- /dev/null +++ b/samples/client/petstore/objc/client/SWGOrders.h @@ -0,0 +1,15 @@ +#import +#import "SWGObject.h" +#import "NSDictionary.h" +#import "SWGOrders.h" +#import "NSMutableDictionary.h" + + +@interface SWGOrders : NSMutableDictionary + +- (id) + +- (id) initWithValues: (NSDictionary*)dict; +- (NSDictionary*) asDictionary; + +@end diff --git a/samples/client/petstore/objc/client/SWGOrders.m b/samples/client/petstore/objc/client/SWGOrders.m new file mode 100644 index 00000000000..8c919d1913d --- /dev/null +++ b/samples/client/petstore/objc/client/SWGOrders.m @@ -0,0 +1,27 @@ +#import "SWGDate.h" +#import "SWGOrders.h" + +@implementation SWGOrders + +-(id) + + return self; +} + +-(id) initWithValues:(NSDictionary*)dict +{ + self = [super init]; + if(self) { + + } + return self; +} + +-(NSDictionary*) asDictionary { + NSMutableDictionary* dict = [[NSMutableDictionary alloc] init]; + + NSDictionary* output = [dict copy]; + return output; +} + +@end