Created
July 6, 2010 21:48
-
-
Save toddfreese/465968 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| - (void)encodeWithCoder:(CPCoder)aCoder | |
| { | |
| [super encodeWithCoder:aCoder]; | |
| [aCoder encodeBool:_isAnimating forKey:EKActIndViewIsAnimating]; | |
| } | |
| - (id)initWithCoder:(CPCoder)aCoder | |
| { | |
| self = [super initWithCoder:aCoder]; | |
| if (self) { | |
| if ([aCoder decodeBoolForKey:EKActIndViewIsAnimating] || NO) { | |
| _isAnimating = YES; | |
| } else { | |
| _isAnimating = NO; | |
| } | |
| } | |
| return self; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment