Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#58] handle second level or deeper nested array properties and test
- Loading branch information
vickeryj
committed
Mar 2, 2009
1 parent
3659421
commit f804c5f
Showing
7 changed files
with
136 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// TestClassMiddle.h | ||
// objective_support | ||
// | ||
// Created by vickeryj on 3/2/09. | ||
// Copyright 2009 Joshua Vickery. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
|
||
@interface TestClassMiddle : NSObject { | ||
|
||
NSArray *testClasses; | ||
|
||
} | ||
|
||
@property(nonatomic, retain) NSArray *testClasses; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// TestClassMiddle.m | ||
// objective_support | ||
// | ||
// Created by vickeryj on 3/2/09. | ||
// Copyright 2009 Joshua Vickery. All rights reserved. | ||
// | ||
|
||
#import "TestClassMiddle.h" | ||
|
||
|
||
@implementation TestClassMiddle | ||
|
||
@synthesize testClasses; | ||
|
||
- (void) dealloc | ||
{ | ||
[testClasses release]; | ||
[super dealloc]; | ||
} | ||
|
||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// TestClassTop.h | ||
// objective_support | ||
// | ||
// Created by vickeryj on 3/2/09. | ||
// Copyright 2009 Joshua Vickery. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@class TestClassMiddle; | ||
|
||
@interface TestClassTop : NSObject { | ||
|
||
TestClassMiddle *testClassMiddle; | ||
NSArray *testClasses; | ||
|
||
} | ||
|
||
@property(nonatomic, retain) TestClassMiddle *testClassMiddle; | ||
@property(nonatomic, retain) NSArray *testClasses; | ||
|
||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// TestClassTop.m | ||
// objective_support | ||
// | ||
// Created by vickeryj on 3/2/09. | ||
// Copyright 2009 Joshua Vickery. All rights reserved. | ||
// | ||
|
||
#import "TestClassTop.h" | ||
#import "TestClassMiddle.h" | ||
|
||
|
||
@implementation TestClassTop | ||
|
||
@synthesize testClassMiddle, testClasses; | ||
|
||
- (void) dealloc | ||
{ | ||
[testClassMiddle release]; | ||
[testClasses release]; | ||
[super dealloc]; | ||
} | ||
|
||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters