Skip to content

Commit

Permalink
Merge pull request #81 from Yalantis/memory_issue
Browse files Browse the repository at this point in the history
Fix memory issue
  • Loading branch information
Vodolazkyi authored Apr 18, 2017
2 parents fcfeb57 + 2847efb commit a4d9964
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 117 deletions.
10 changes: 8 additions & 2 deletions FoldingTabBar/Constants/YALAnimatingTabBarConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ extern CGFloat const YALExtraTabBarItemsDefaultHeight;
extern CGFloat const YALForExtraTabBarItemsDefaultOffset;
extern UIEdgeInsets const YALTabBarViewHDefaultEdgeInsets;
extern UIEdgeInsets const YALTabBarViewItemsDefaultEdgeInsets;

extern NSString * const YALCenterButtonExpandAnimation;
extern NSString * const YALCenterButtonCollapseAnimation;
extern NSString * const YALAdditionalButtonsAnimation;
extern NSString * const YALTabBarExpandAnimation;
extern NSString * const YALTabBarExpandCollapseAnimation;
extern NSString * const YALExtraLeftBarItemAnimation;
extern NSString * const YALExtraRightBarItemAnimation;

extern CFTimeInterval const kYALExpandAnimationDuration;

Expand Down Expand Up @@ -57,4 +63,4 @@ extern YALCenterButtonAnimationsParameters const kYALCenterButtonExpandAnimation
extern YALCenterButtonAnimationsParameters const kYALCenterButtonCollapseAnimationParameters;
extern YALAnimationParameters const kYALBounceAnimationParameters;
extern YALExtraTabBarItemViewAnimationParameters const kYALShowExtraTabBarItemViewAnimationParameters;
extern YALExtraTabBarItemViewAnimationParameters const kYALHideExtraTabBarItemViewAnimationParameters;
extern YALExtraTabBarItemViewAnimationParameters const kYALHideExtraTabBarItemViewAnimationParameters;
8 changes: 7 additions & 1 deletion FoldingTabBar/Constants/YALAnimatingTabBarConstants.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
CGFloat const YALForExtraTabBarItemsDefaultOffset = 15.f;
UIEdgeInsets const YALTabBarViewHDefaultEdgeInsets = {10.f, 14.f, 10.f, 14.f};
UIEdgeInsets const YALTabBarViewItemsDefaultEdgeInsets = {0.f, 0.f, 0.f, 0.f};

NSString * const YALCenterButtonExpandAnimation = @"CENTER_BUTTON_EXPAND_ANIMATION";
NSString * const YALCenterButtonCollapseAnimation = @"CENTER_BUTTON_COLLAPSE_ANIMATION";
NSString * const YALAdditionalButtonsAnimation = @"ADDITIONAL_BUTTONS_ANIMATION";
NSString * const YALTabBarExpandAnimation = @"TABBAR_EXPAND_ANIMATION";
NSString * const YALTabBarExpandCollapseAnimation = @"TABBAR_COLLAPSE_ANIMATION";
NSString * const YALExtraLeftBarItemAnimation = @"EXTRA_LEFT_BAR_ITEM_ANIMATION";
NSString * const YALExtraRightBarItemAnimation = @"EXTRA_RIGHT_BAR_ITEM_ANIMATION";

CFTimeInterval const kYALExpandAnimationDuration = 1.0;

Expand Down
Loading

0 comments on commit a4d9964

Please sign in to comment.