Skip to content

Commit 070d7d1

Browse files
committed
Merge pull request #15 from dekeract/xcode6_support
Fixed crash if run choosy on xcode 6.
2 parents 548eb7c + dba1c04 commit 070d7d1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: Choosy/Model/ChoosyAppTypeParameter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@interface ChoosyAppTypeParameter : MTLModel <MTLJSONSerializing>
77

88
@property (nonatomic, strong) NSString *name;
9-
@property (nonatomic, strong) NSString *description;
9+
@property (nonatomic, strong) NSString *parameterDescription;
1010
@property (nonatomic, strong) NSString *key;
1111
@property (nonatomic) BOOL isPresenceRequired;
1212
@property (nonatomic) BOOL isValueRequired;

Diff for: Choosy/Model/ChoosyAppTypeParameter.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ - (void)setKey:(NSString *)key
1111
+ (NSDictionary *)JSONKeyPathsByPropertyKey
1212
{
1313
return @{ @"isPresenceRequired" : @"presence_required",
14-
@"isValueRequired" : @"value_required" };
14+
@"isValueRequired" : @"value_required",
15+
@"parameterDescription" : @"description"};
1516
}
1617

1718
@end

0 commit comments

Comments
 (0)