diff --git a/README.md b/README.md index cb83744..ef7af46 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ A number of changes have been made on version 2.0 that may break your existing p ## Examples -![Dynamic](https://raw.github.com/John-Lluch/SWRevealViewController/master/SWRevealViewController3.png) -![Dynamic](https://raw.github.com/John-Lluch/SWRevealViewController/master/SWRevealViewController.png) +![Dynamic](https://raw.github.com/John-Lluch/SWRevealViewController/master/RevealControllerProject.png) +![Dynamic](https://raw.github.com/John-Lluch/SWRevealViewController/master/RevealControllerProject3_b_.png) ## Requirements diff --git a/RevealControllerExample3/RevealControllerProject3/RearMasterTableViewController.m b/RevealControllerExample3/RevealControllerProject3/RearMasterTableViewController.m index f45b2ef..c5e70d4 100644 --- a/RevealControllerExample3/RevealControllerProject3/RearMasterTableViewController.m +++ b/RevealControllerExample3/RevealControllerProject3/RearMasterTableViewController.m @@ -163,9 +163,17 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath SWRevealViewController *childRevealController = [[SWRevealViewController alloc] initWithRearViewController:rearViewController frontViewController:frontViewController]; - +#define NoRevealOverdraw true +#if NoRevealOverdraw + childRevealController.rearViewRevealWidth = 60; + childRevealController.rearViewRevealOverdraw = 120; + childRevealController.bounceBackOnOverdraw = NO; + childRevealController.stableDragOnOverdraw = YES; +#else childRevealController.rearViewRevealWidth = 200; +#endif childRevealController.rearViewRevealDisplacement = 0; + [childRevealController setFrontViewPosition:FrontViewPositionRight animated:NO]; frontController = childRevealController; break; diff --git a/RevealControllerProject.png b/RevealControllerProject.png new file mode 100644 index 0000000..4e7222b Binary files /dev/null and b/RevealControllerProject.png differ diff --git a/RevealControllerProject2_a.png b/RevealControllerProject2_a.png new file mode 100644 index 0000000..e079508 Binary files /dev/null and b/RevealControllerProject2_a.png differ diff --git a/RevealControllerProject3_a.png b/RevealControllerProject3_a.png new file mode 100644 index 0000000..1515282 Binary files /dev/null and b/RevealControllerProject3_a.png differ diff --git a/RevealControllerProject3_b.png b/RevealControllerProject3_b.png new file mode 100644 index 0000000..da2c8ef Binary files /dev/null and b/RevealControllerProject3_b.png differ diff --git a/RevealControllerProject3_c.png b/RevealControllerProject3_c.png new file mode 100644 index 0000000..f4936a9 Binary files /dev/null and b/RevealControllerProject3_c.png differ diff --git a/SWRevealViewController.png b/SWRevealViewController.png deleted file mode 100644 index 37af8ac..0000000 Binary files a/SWRevealViewController.png and /dev/null differ diff --git a/SWRevealViewController/SWRevealViewController.h b/SWRevealViewController/SWRevealViewController.h index 9d39f64..b9187f4 100755 --- a/SWRevealViewController/SWRevealViewController.h +++ b/SWRevealViewController/SWRevealViewController.h @@ -28,7 +28,12 @@ RELEASE NOTES - Version 2.0.0 (Current Version) + Version 2.0.1 (Current Version) + + - Fix: draggableBorderWidth now correctly handles the cases where one of the rear controllers is not provided + - Fix: the shadow related properties are now granted at any time after view load, not just after initialization. + + Version 2.0.0 - Dropped support for iOS6 and earlier. This version will only work on iOS7 diff --git a/SWRevealViewController2a.png b/SWRevealViewController2a.png deleted file mode 100644 index f5ebd6b..0000000 Binary files a/SWRevealViewController2a.png and /dev/null differ diff --git a/SWRevealViewController2b.png b/SWRevealViewController2b.png deleted file mode 100644 index 451de72..0000000 Binary files a/SWRevealViewController2b.png and /dev/null differ diff --git a/SWRevealViewController3.png b/SWRevealViewController3.png deleted file mode 100644 index 02deced..0000000 Binary files a/SWRevealViewController3.png and /dev/null differ diff --git a/SWRevealViewControllerIPhone.png b/SWRevealViewControllerIPhone.png deleted file mode 100644 index 190bd9f..0000000 Binary files a/SWRevealViewControllerIPhone.png and /dev/null differ