Skip to content

Latest commit

 

History

History
190 lines (126 loc) · 5.59 KB

File metadata and controls

190 lines (126 loc) · 5.59 KB

CHANGELOG

1.0.5

Allow tap gesture recognizer to be enabled on main view when userInteractionEnabled = false.

1.0.4

Update README.md

Add some credit to Joan Lluch for her class SWRevealViewController.

1.0.3

Add some properties:

/**
*  Defines the left view's blur effect style, default is PBRevealBlurEffectStyleNone.
*/
@property (nonatomic) PBRevealBlurEffectStyle leftViewBlurEffectStyle;

/**
*  Defines the right view's blur effect style, default is PBRevealBlurEffectStyleNone.
*/
@property (nonatomic) PBRevealBlurEffectStyle rightViewBlurEffectStyle;
Fixe a bug when PBRevealToggleAnimationTypeSpring or PBRevealToggleAnimationPushSideView animation is used when the side view is not presented on top

1.0.2

Add some delegate methods:

/**
*  Called just before the left view controller is hidden.
*
*  @param revealController The reveal view controller object.
*  @param controller       The left view controller object.
*/
- (void)revealController:(PBRevealViewController *)revealController willHideLeftViewController:(UIViewController *)controller;

/**
*  Called just after the left view controller is hidden.
*
*  @param revealController The reveal view controller object.
*  @param controller       The left view controller object.
*/
- (void)revealController:(PBRevealViewController *)revealController didHideLeftViewController:(UIViewController *)controller;

/**
*  Called just before the right view controller is hidden.
*
*  @param revealController The reveal view controller object.
*  @param controller       The right view controller object.
*/
- (void)revealController:(PBRevealViewController *)revealController willHideRightViewController:(UIViewController *)controller;

/**
*  Called just after the right view controller is hidden.
*
*  @param revealController The reveal view controller object.
*  @param controller       The right view controller object.
*/
- (void)revealController:(PBRevealViewController *)revealController didHideRightViewController:(UIViewController *)controller;

1.0.1

Bug fixe when PBRevealViewController is embedded in a navigation controller.

1.0.0

Add a new delegate method for asking a custom transition animations controller while replacing/pushing child view controllers. If implemented, it will be fired in response to calls setXXXViewController or pushXXXViewController child view controller.

- (id <UIViewControllerAnimatedTransitioning>)revealController:(PBRevealViewController *)revealController animationControllerForTransitionFromViewController:(UIViewController *)fromViewController toViewController:(UIViewController *)toViewController forOperation:(PBRevealControllerOperation)operation;

Update Example4Swift with some custom animations.

0.4.0

PBRevealViewController now can present the side views (left/right) below or above (default) the main view.

For this, some properties have been added:

If NO (default is YES) the left view controller will be presented below the main view controller.

@property (nonatomic) BOOL              leftPresentViewOnTop;

Defines how much displacement is applied to the left view when animating or dragging the main view, default is 40.0f.

@property (nonatomic) CGFloat           leftViewRevealDisplacement;

If NO (default is YES) the right view controller will be presented below the main view controller.

@property (nonatomic) BOOL              rightPresentViewOnTop;

Defines how much displacement is applied to the right view when animating or dragging the main view, default is 40.0f.

@property (nonatomic) CGFloat           rightViewRevealDisplacement;

Defines the radius of the main view's shadow, default is 5.0f.

@property (nonatomic) CGFloat           mainViewShadowRadius;

Defines the main view's shadow offset, default is {0.0f,5.0f}.

@property (nonatomic) CGSize            mainViewShadowOffset;

Defines the main view's shadow opacity, default is 1.0f.

@property (nonatomic) CGFloat           mainViewShadowOpacity;

Defines the main view's shadow color, default is blackColor

@property (nonatomic) UIColor           *mainViewShadowColor;

Add an example written in Swift.

0.3.8

  • Add an example written in swift showing all animations plus a simple custom one (see AppDelegate).
  • Minor changes in behavior. For animations toViewController is added below fromViewController instead below side view controller.

0.3.7

  • Git update.
  • Bug fixes.

0.3.6

  • Git update and add a example.
  • Bug fixes.

0.3.5

  • Git update

0.3.4

  • Add a toggle animation type: PBRevealToggleAnimationTypeSpring.

A transition that the side view move a little to right or left by the value of leftViewRevealOverdraw or rightViewRevealOverdraw before the main view push the left/right view until it is hidden.

0.3.3

  • Bug fixes when resizing left/right view when leftPresentViewHierarchically and/or rightPresentViewHierarchically are set to YES. Rview handling of rotations.

0.3.2

  • Bug fixes

  • Add some properties:

If YES (default is NO) the left view controller will be ofsseted vertically by the height of a navigation bar plus the height of status bar.

@property (nonatomic) BOOL              leftPresentViewHierarchically;

If YES (default is NO) the right view controller will be ofsseted vertically by the height of a navigation bar plus the height of status bar.

@property (nonatomic) BOOL              rightPresentViewHierarchically;

0.3.1

Add documentation

0.3.0

The fisrt stable version.