Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (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;
- }
Add Comment
Please, Sign In to add comment