Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 25 lines (18 sloc) 0.744 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
//
// DCArrayMapping.h
// DCKeyValueObjectMapping
//
// Created by Diego Chohfi on 4/16/12.
// Copyright (c) 2012 dchohfi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DCObjectMapping.h"
@interface DCArrayMapping : NSObject

@property(nonatomic, readonly) DCObjectMapping *objectMapping;
@property(nonatomic, readonly) Class classForElementsOnArray;


+ (DCArrayMapping *) mapperForClassElements: (Class) classForElementsOnArray
                               forAttribute: (NSString *) attribute
                                    onClass: (Class) classReference;

+ (DCArrayMapping *) mapperForClass: (Class) classForElementsOnArray
                          onMapping: (DCObjectMapping *) objectMapping;

@end
Something went wrong with that request. Please try again.