Created
March 18, 2010 10:00
-
-
Save tinus-github/336236 to your computer and use it in GitHub Desktop.
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
/* | |
* | |
* CPAccordionItem.j | |
* | |
* This class is required by CPAccordionView, but not implemented. | |
* I consider this implementation to be too simple to be eligible for copyright. | |
* | |
*/ | |
@implementation CPAccordionItem : CPObject | |
{ | |
CPString label @accessors; | |
CPView view @accessors; | |
} | |
+ (id)itemWithLabel:(CPString)aLabel view:(CPView)aView | |
{ | |
return [[CPAccordionItem alloc] initWithLabel:aLabel view:aView]; | |
} | |
- (id)initWithLabel:(CPString)aLabel view:(CPView)aView | |
{ | |
self = [super init]; | |
if (self) { | |
[self setLabel:aLabel]; | |
[self setView:aView]; | |
} | |
return self; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment