Skip to content

Commit

Permalink
Do not encode/decode delegate property (NSCoding protocol)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiMo42 committed Nov 12, 2014
1 parent 2d32b8a commit f22786e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions MMTabBarView/MMTabBarView/MMTabBarView.m
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,6 @@ - (void)encodeWithCoder:(NSCoder *)aCoder
[aCoder encodeInteger:_buttonOptimumWidth forKey:@"MMbuttonOptimumWidth"];
[aCoder encodeBool:_isHidden forKey:@"MMisHidden"];
[aCoder encodeObject:_partnerView forKey:@"MMpartnerView"];
[aCoder encodeObject:_delegate forKey:@"MMdelegate"];
[aCoder encodeBool:_useOverflowMenu forKey:@"MMuseOverflowMenu"];
[aCoder encodeBool:_automaticallyAnimates forKey:@"MMautomaticallyAnimates"];
[aCoder encodeBool:_alwaysShowActiveTab forKey:@"MMalwaysShowActiveTab"];
Expand Down Expand Up @@ -2125,7 +2124,6 @@ - (id)initWithCoder:(NSCoder *)aDecoder
_useOverflowMenu = [aDecoder decodeBoolForKey:@"MMuseOverflowMenu"];
_automaticallyAnimates = [aDecoder decodeBoolForKey:@"MMautomaticallyAnimates"];
_alwaysShowActiveTab = [aDecoder decodeBoolForKey:@"MMalwaysShowActiveTab"];
_delegate = [[aDecoder decodeObjectForKey:@"MMdelegate"] retain];
}
}

Expand Down

0 comments on commit f22786e

Please sign in to comment.