Skip to content

Instantly share code, notes, and snippets.

@meelash
Created June 29, 2010 22:33
Show Gist options
  • Select an option

  • Save meelash/457928 to your computer and use it in GitHub Desktop.

Select an option

Save meelash/457928 to your computer and use it in GitHub Desktop.
- (id)initWithCoder:(CPCoder)aCoder
{
self = [super initWithCoder:aCoder];
if (self)
{
enclosingBox = [aCoder decodeObjectForKey:@"enclosingBox"];
[enclosingBox setBorderType:CPBezelBorder];
[enclosingBox setFillColor:[CPColor clearColor]];
argumentTitleView = [aCoder decodeObjectForKey:@"argumentTitleView"]; debugger;
argumentSummaryView = [aCoder decodeObjectForKey:@"argumentSummaryView"];
replyArgumentButton = [aCoder decodeObjectForKey:@"replyArgumentButton"];
}
return self;
}
- (void)encodeWithCoder:(CPCoder)aCoder
{
[super encodeWithCoder:aCoder];
[aCoder encodeObject:enclosingBox forKey:@"enclosingBox"];
[aCoder encodeObject:argumentTitleView forKey:@"argumentTitleView"];debugger;
[aCoder encodeObject:argumentSummaryView forKey:@"argumentSummaryView"];
[aCoder encodeObject:replyArgumentButton forKey:@"replyArgumentButton"];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment