diff --git a/MMTabBarView/MMTabBarView/MMTabBarView.m b/MMTabBarView/MMTabBarView/MMTabBarView.m index afc62ddc..25b3e8e8 100644 --- a/MMTabBarView/MMTabBarView/MMTabBarView.m +++ b/MMTabBarView/MMTabBarView/MMTabBarView.m @@ -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"]; @@ -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]; } }