Commit Graph

64 Commits

Author SHA1 Message Date
Mike Enriquez
594f68c44b Move code from AppDelegate to InitialViewController 2012-10-30 13:24:32 -04:00
Mike Enriquez
a68af01db0 Merge branch 'sovanna_master' 2012-10-30 11:04:42 -04:00
Mike Enriquez
4ecafc5f22 whitespace 2012-10-30 11:03:45 -04:00
Mike Enriquez
53de47388f Merge pull request #18 from justjimmy/master
Issue #17
2012-10-30 07:42:28 -07:00
Mike Enriquez
8921914110 Add notification for top will reset 2012-10-30 10:34:04 -04:00
Sovanna
32214c2365 improve horizontal translation from panGesture 2012-10-15 16:30:03 +02:00
Leon Gersing
2bd7916a89 Merge pull request #27 from anagromataf/feature/keep-top-view-frame
Keep frame of the top view
2012-10-01 16:42:49 -07:00
Leon Gersing
8e135af968 Merge pull request #29 from thomashempel/master
Adding notifications for left or right will disappear
2012-10-01 16:39:27 -07:00
Thomas Hempel
1b8f16910b Add notifications for UnderLeftWillDisappear and UnderRightWillDisappear 2012-07-24 22:14:26 +02:00
Tobias Kräntzer
de733558a6 Keep frame of the top view
Set the views frame of the new top view controller to the frame of
the previous one, so that the top view controller can be changed if
it is anchored at the side.
2012-07-09 15:45:29 +02:00
Jimmy Lee
ab8b49bbee Check to see if the resetStrategy is ECPanning (Thanks light force!) 2012-06-01 10:23:24 +10:00
Jimmy Lee
89d72f0827 Added ability to add pan gesture recogniser to the top view snapshot. This is useful when you cannot add panGesture to the main view but to a sub view (e.g. navigation bar) instead. 2012-05-28 12:16:22 +10:00
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