rentzsch/mogenerator — Issue #93: Incorrect header generated
Author: jdmuys
Created: 2012-02-20 17:48:34+00:00
State: open

Hi,

I just upgraded to 1.25 and started a new project, where the generated machine headers are wrong. For String and Date attributes, mogenerator generates:

@property (nonatomic, strong) NSDatedate;
@property (nonatomic, strong) NSStringkind;

Where clearly a space and a `*` is missing.

Indeed, the template has:

@property (nonatomic, strong) <$Attribute.objectAttributeType$><$Attribute.name$>;

Did I miss anything?

I invoke mogenerator with this script line:

mogenerator --template-var frc=true --template-var arc=true --model "${INPUT_FILE_PATH}/${INPUT_FILE_BASE}.xcdatamodel" --output-dir "${INPUT_FILE_DIR}/" --base-class JDManagedObject

Thanks