26 lines
719 B
Objective-C
26 lines
719 B
Objective-C
//
|
|
// SlideNavigationContorllerAnimation.h
|
|
// SlideMenu
|
|
//
|
|
// Created by Aryan Gh on 1/26/14.
|
|
// Copyright (c) 2014 Aryan Ghassemi. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SlideNavigationController.h"
|
|
|
|
@protocol SlideNavigationContorllerAnimator <NSObject>
|
|
|
|
// Initial state of the view before animation starts
|
|
// This gets called right before the menu is about to reveal
|
|
- (void)prepareMenuForAnimation:(Menu)menu;
|
|
|
|
// Animate the view based on the progress (progress is between 0 and 1)
|
|
- (void)animateMenu:(Menu)menu withProgress:(CGFloat)progress;
|
|
|
|
// Gets called ff for any the instance of animator is being change
|
|
// You should make any cleanup that is needed
|
|
- (void)clear;
|
|
|
|
@end
|