Commit Graph

52 Commits

Author SHA1 Message Date
Mike Enriquez
249d59eb87 CocoaPods instructions 2012-04-05 21:03:52 -04:00
Mike Enriquez
77409f7b8a Add note about top view shadows 0.9.0 2012-04-03 13:58:44 -04:00
Mike Enriquez
4913993208 Still need to set shadow offset and path on setter
- Improves panning performance after switching between top views
2012-04-02 16:15:58 -04:00
Mike Enriquez
f62f51427d Recalculate shadowPath on viewWillAppear 2012-04-02 16:08:14 -04:00
Mike Enriquez
8cecf6bc33 Handle shadowPath, shadowOffset, and rotation 2012-04-02 14:57:45 -04:00
Mike Enriquez
23a878b965 Update README about under layout properties 2012-03-23 13:50:45 -04:00
Mike Enriquez
387d695781 Fix reset strategy
- Tapping was always enabled before.
- Use setter to disable/enable tapping reset.
2012-03-23 13:34:44 -04:00
Mike Enriquez
1af9952eba Adjust frame of topViewSnapshot during rotation 2012-03-23 13:04:02 -04:00
Mike Enriquez
993a18d813 Allocate topViewSnapshot ahead of time
- Fixes tapping gesture from disappearing when presenting modal, rotating, and then dismissing.
2012-03-23 11:24:48 -04:00
Mike Enriquez
c446607bda Use more reliable BOOLs to see if topViewHasFocus 2012-03-23 11:24:03 -04:00
Mike Enriquez
ea5e2ebbee Call topViewHorizontalCenterlWillChange
- Does not change any behavior, but resetTopView will change the top view horizontal.
- Consider firing a topViewWillReset.
2012-03-23 11:23:25 -04:00
Mike Enriquez
4aff9d1333 Adjust the layout when viewWillAppear
Fixes issue with showing a modal, rotating, then dismissing the modal.
2012-03-20 16:50:42 -04:00
Mike Enriquez
71139e987b Maintain local BOOLs for top view positions
Checking the topView frame relative to the resettedCenter was unreliable. It would not always reset to the same position. This caused the topView to anchor from the reset position while rotating.
2012-03-20 16:25:11 -04:00
Mike Enriquez
e1b722d5a7 Merge branch 'master' into under_layout 2012-03-20 15:56:07 -04:00
Mike Enriquez
e5d6981343 Convenience methods for anchoring without callbacks
- Instead of calling anchorTopView:animations:onComplete: with nil blocks, you can just call anchorTopView:
2012-03-20 15:05:36 -04:00
Mike Enriquez
27feaef4b2 call willMoveToParent 2012-03-20 14:17:01 -04:00
Stefan Haubold
d9ce954746 added resetTopView method with animations and onComplete blocks as parameter 2012-03-19 23:23:14 +00:00
Mike Enriquez
7cce113198 API for adjusting under view widths 2012-03-13 18:08:06 -04:00
Mike Enriquez + Leon Gersing
1866b5a04b Post notifications for top view positions
- Removed performing selectors on child views. Notifications can happen asynchronously.
2012-03-01 13:45:55 -05:00
Mike Enriquez
27116f7110 Callbacks for child views:
- (void)underLeftWillAppear
- (void)underRightWillAppear
- (void)topDidReset
2012-03-01 10:58:43 -05:00
Mike Enriquez
b0bb27c3c0 Expose BOOLs for inspecting view visibility 2012-03-01 10:32:16 -05:00
Mike Enriquez
7edfa1bb1d Top view has focus when it centered on the screen 2012-03-01 10:24:30 -05:00
Mike Enriquez + Leon Gersing
baea00003e Merge branch 'snapshot_performance' 2012-02-29 21:32:21 -05:00
Mike Enriquez + Leon Gersing
08b004c973 Improve quality of snapshot 2012-02-29 21:31:32 -05:00
Leon Gersing
2507f2a191 Improved performance for drag behavior by delaying calls to cache the topview. 2012-02-29 20:56:47 -05:00
Mike Enriquez + Leon Gersing
9692195b42 Simplify example by using storyboard reference 2012-02-29 19:25:11 -05:00
Mike Enriquez
952ea470bc Fix going back in landscape mode for UINavigationController 2012-02-22 12:30:25 -05:00
Mike Enriquez
c8240bbf5d Add UINavigationController example. 2012-02-13 11:57:42 -05:00
Mike Enriquez
2ca6d98c7e Update README 2012-01-31 17:01:59 -05:00
Mike Enriquez
21037a9fae iPad support 2012-01-31 15:45:23 -05:00
Mike Enriquez
436574178d linkify header file 2012-01-31 14:17:50 -05:00
Mike Enriquez
4ed8e4bd3d Attempt at embedding video 2012-01-31 12:30:45 -05:00
Mike Enriquez
f58d00a6f9 Add link to video 2012-01-31 12:28:47 -05:00
Mike Enriquez
d37ce5c112 add diagrams 2012-01-31 10:48:06 -05:00
Mike Enriquez
113f101447 First pass at README 2012-01-30 19:09:40 -05:00
Mike Enriquez
ee86d2b03b Implement reveal amount 2012-01-30 17:02:36 -05:00
Mike Enriquez
bd30b257bb Implement shouldAllowUserInteractionsWhenAnchored and resetStrategy 2012-01-30 16:16:54 -05:00
Mike Enriquez
deed657d85 Rename UIImage category 2012-01-30 15:43:07 -05:00
Mike Enriquez
b6b9da91ed New API with documentation 2012-01-30 15:39:52 -05:00
Mike Enriquez
d9b3498c9f Handle full screen under right rotation 2012-01-27 14:59:57 -05:00
Mike Enriquez
afb115260c Fire viewWillAppear. adjust layout for under right 2012-01-27 13:49:52 -05:00
Mike Enriquez
1c29777c0f Improve performance of shadow while rotating 2012-01-26 14:41:41 -05:00
Mike Enriquez
b12363e995 Improve performance with shadow 2012-01-25 22:57:10 -05:00
Mike Enriquez
b4ec0545a1 Handle rotation
- need to adjust peekAmount when changing rotation
2012-01-25 18:34:23 -05:00
Mike Enriquez
be59d93223 Start subclass of ECSlidingViewController
- need to handle rotation
2012-01-25 18:14:00 -05:00
Mike Enriquez
291cb37465 Simplify API and internals 2012-01-25 17:47:29 -05:00
Mike Enriquez
a3959ad49a Example of slideOff 2012-01-25 14:29:32 -05:00
Mike Enriquez
c69319245b Set hidden instead of reordering subviews 2012-01-25 14:28:43 -05:00
Mike Enriquez
cda0120ada Add shadow to first top 2012-01-25 14:25:19 -05:00
Mike Enriquez
e5f7188821 Slide off screen and replace top view 2012-01-24 18:29:22 -05:00