Commit Graph

221 Commits

Author SHA1 Message Date
Mazyad Alabduljaleel ff67d2b0a0 Added collectionView demo
Has the problem described in #93
2015-10-20 19:41:36 -07:00
Maz Jaleel fb81a41a57 Create CHANGELOG.md 2015-10-10 18:49:11 -07:00
Mazyad Alabduljaleel 4c6aefe0ea 0.10.0 2015-10-10 18:38:16 -07:00
Maz Jaleel 857236c373 Update README.md 2015-10-10 18:31:49 -07:00
Maz Jaleel 19db5a8679 Update README.md 2015-10-10 15:09:56 -07:00
Mazyad Alabduljaleel 929f03327c update readme with better instructions 2015-10-10 15:08:52 -07:00
Mazyad Alabduljaleel 008a4dbea3 add a button to the extension view for testing 2015-10-10 14:30:59 -07:00
Maz Jaleel 164eedaad4 Merge pull request #89 from telly/modular-parent
Modular offset calculation
2015-10-10 14:19:00 -07:00
Mazyad Alabduljaleel a6c73f8239 more accurate readme 2015-10-10 14:18:08 -07:00
Mazyad Alabduljaleel 93402b62af Modular offset calculation
added sticky navigation feature
added more tests

BRIEF:
Completely overhauled the offset implementation. Now, a "shyView" calculates it's position based on its parent maxY property. For the navigation bar, that would be the status bar. For the extension view, it would be the navigation bar.
2015-10-10 14:04:59 -07:00
Mazyad Alabduljaleel 0617cd18d4 cocoapods update v0.9.15 2015-10-08 14:25:44 -07:00
Mazyad Alabduljaleel 67d2b167e5 Update README 2015-10-08 14:22:31 -07:00
Mazyad Alabduljaleel 8e379e9737 Update README 2015-10-08 14:21:45 -07:00
Mazyad Alabduljaleel 4daab18bd0 Update README 2015-10-08 14:17:58 -07:00
Mazyad Alabduljaleel 33ad649542 update README 2015-10-08 14:07:45 -07:00
Mazyad Alabduljaleel 5d205371be Refactoring and cleanup
[NEW]: Add Navbar fading to the demo
[FIX]: Consolidate fading behavior into an enum. Deprecated the old booleans
[FIX]: Cleanup unused code
[FIX]: Xcode 7 warnings in the demo
2015-10-08 13:44:07 -07:00
Mazyad Alabduljaleel e105a37f5b Added Test
[NEW]: Added a tableView to the demo in order to test different features
2015-10-08 13:39:06 -07:00
Mazyad Alabduljaleel 32534a7ef2 Bug fix when scrolling fast with an extension view
[FIX]: scrollView would go under the extension view if scrolling too fast after going beyond the topContentInset
2015-10-08 13:29:56 -07:00
Maz Jaleel 4f6ec675d4 Merge pull request #86 from longsview/master
Added ability to alphaFade entire navbar and transfer userInteractionEnabled state to extension view container
2015-10-08 12:11:15 -07:00
Nicholas Long e5ef717aaf Added ability to alphaFade entire navbar instead of just it's subviews. Transfered userInteractionEnabled state from extensionView to extensionViewContainer. 2015-10-08 11:51:19 -07:00
Maz Jaleel a05054d7df Merge pull request #83 from aasatt/master
Fix setStickyExtensionView
2015-08-17 03:01:34 +04:00
Maz Jaleel f02f0ad8a4 Merge pull request #82 from evands/fix-scroll-to-top
Fix scrollToTop (by tapping on the status bar)
2015-08-17 02:58:25 +04:00
Maz Jaleel fed648bcc3 Merge pull request #81 from evands/fix-shynav-in-popover_isolated
Fix shy nav bar positioning when shown in a popover or modal dialog
2015-08-17 02:58:10 +04:00
Maz Jaleel 1f2517ed86 Merge pull request #80 from evands/fix-hiding-extension-view
Fix nav bar position after hiding the extension view
2015-08-17 02:57:57 +04:00
Evan D. Schoenberg, M.D 33c65bd321 Fix positioning of the navigation bar when the status bar is larger than 20 pixels 2015-08-16 18:45:01 -04:00
Evan D. Schoenberg, M.D 5f6e0a07f4 Fix determining the size of the status bar when it is more than 20 pixels, which happens for example if a call or GPS are active. 2015-08-16 18:44:20 -04:00
Aaron Satterfield 8f59d70843 setStickyExtensionView Works Now
Now this function actually has an effect instead of always being YES
2015-08-13 16:35:42 -07:00
Evan D. Schoenberg, M.D de6c006a76 If the status bar is tapped to scroll to the top, the system doesn't understand the presence of the hidden nav bar or optional extension view. Therefore, once scrolling is deemed complete, we need to scroll up a bit further. I played extensively with doing this all in one go, for example by overriding the behavior in scrollViewShouldScrollToTop, but couldn't make it work smoothly. This implementation does have a small stutter as the larger first animation transitions into the second smaller animation occurs, but it is much better than before. 2015-08-11 00:24:15 -04:00
Evan D. Schoenberg, M.D ade5b370bd When avoiding the status bar, check the view's position relative to the status bar rather than assuming that the presence of a presentingViewController is sufficient; otherwise we would not avoid the status bar in full screen modal views. 2015-08-09 18:48:43 -04:00
Evan D. Schoenberg, M.D 4f651d2547 Added a comment to explain the need to disable scroll handling 2015-08-09 18:41:14 -04:00
Evan D. Schoenberg, M.D e32543c31b If the viewController is within a popover or other modal view, it should not be placed a status bar height below the top of that view. This fixes the use of shyNavBars in those settings. 2015-08-08 18:26:09 -04:00
Evan D. Schoenberg, M.D a01f96db81 When changing the extension view to nil from it previously being set, appropriate changes are made once... but _handleScrolling is then called, leading to incorrect content offsets until the view is scrolled back to the top. Disabling scroll handling temporarily while laying out the views fixes the problem. 2015-08-08 18:13:07 -04:00
Mazyad Alabduljaleel 3f5707ebc5 v0.9.12 cocoapods release 2015-08-08 01:41:15 +04:00
Maz Jaleel 23c027a421 Merge pull request #78 from griddle/master
expand if contentSize of scrollView changes and is not sufficiently long
2015-08-08 01:37:58 +04:00
Garret Riddle d31003bc33 for PR 78: make scrollView a strong property of TLYShyNavBarManager + minor refactoring
see discussion: (https://github.com/telly/TLYShyNavBar/pull/78)
2015-08-07 11:22:15 -10:00
Garret Riddle e07bd4abec expand if contentSize of scrollView changes and is not sufficiently long
issue: https://github.com/telly/TLYShyNavBar/issues/53
2015-08-07 07:08:59 -10:00
Mazyad Alabduljaleel a46ceec2d1 One more of these thingies 2015-07-06 02:00:13 +03:00
Mazyad Alabduljaleel bb6e3b4c8a Cocoapod badge 2015-07-06 01:56:59 +03:00
Mazyad Alabduljaleel 20e38c6d47 Cocoapods release 2015-06-18 16:29:47 +03:00
Mazyad Alabduljaleel 602596d8da Merge pull request #69 from modastic/master
Add ability to stick extension view to the top.
2015-06-18 16:26:01 +03:00
modastic 24781cbc79 Update read me description for ability to stick extension view to the top. 2015-06-11 13:33:42 -04:00
Yukan dd33163301 Add ability to stick extension view to the top. 2015-06-11 13:28:33 -04:00
Gian Franco Zabarino 983f632b76 Added delegate method to notify the client when the navigation bar became fully contracted. 2015-05-05 16:59:57 -03:00
Gian Franco Zabarino 2e065ac823 Added delegate to have the client notified when a contraction or expansion finishes animating. 2015-05-05 16:41:04 -03:00
Gian Franco Zabarino d975745250 Added scrollIndicatorInsets adjust when scrolling. 2015-05-04 20:43:44 -03:00
Mazyad Alabduljaleel 0afb58fcdb cocoapods bump 2015-04-04 05:19:25 +04:00
Mazyad Alabduljaleel 8b52fd688b small styling nitpicks 2015-04-04 05:18:13 +04:00
Mazyad Alabduljaleel 308869ccf5 Merge pull request #62 from Remki/incall-statusbar-error
Fixed error caused by in-call status bar height.
2015-04-04 05:15:43 +04:00
Remigiusz Herba eea618b6bb Fixed error caused by inCall status bar height. 2015-03-26 09:16:21 +01:00
Mazyad Alabduljaleel f0fa6b4a31 Update README.md
added reference to BLKFlexibleHeightBar
2015-03-13 15:07:04 +04:00