Commit Graph

186 Commits

Author SHA1 Message Date
Maz Jaleel 49f88bcf46 update pod 2015-11-14 19:36:48 -08:00
Maz Jaleel 57a2be058b Merge pull request #97 from telly/develop
v1.0
2015-11-14 19:35:37 -08:00
Maz Jaleel da990c1b7f v1.0 prova 2015-11-14 19:17:04 -08:00
Maz Jaleel e7dcca4d20 enhance demo a bit 2015-11-14 19:15:27 -08:00
Maz Jaleel 679d5caef1 Minor fixes for different setups 2015-11-14 19:14:56 -08:00
Maz Jaleel ab74d0360c import and code cleanup 2015-11-14 18:37:50 -08:00
Maz Jaleel 879898fbb4 cleanup swift demo 2015-11-14 18:35:46 -08:00
Maz Jaleel 87cbb39008 That covers all the features! 2015-11-14 16:33:05 -08:00
Maz Jaleel b676a02026 Semi-working opaque bars, table view header 2015-11-13 23:52:59 -08:00
Maz Jaleel 06195c9c16 Cleanups for v1.0.0!
Simplify code and reorganize project
2015-11-13 19:52:42 -08:00
Maz Jaleel 630032648b Added TableView in demo. Time to fix it! 2015-11-13 18:23:38 -08:00
Maz Jaleel 97ef8b6276 Fixed demo on larger iPhone sizes
Fixed all constraints issues
2015-11-13 18:01:42 -08:00
Maz Jaleel 61f48e5ef1 Merge pull request #94 from DagAgren/master
FIx include paths in TLYShyNavBarManager
2015-10-28 08:59:37 -07:00
DagAgren 96725b437e FIx include paths in TLYShyNavBarManager 2015-10-28 11:48:26 +02:00
Maz Jaleel 29d42955e7 Because @jimmar thinks himself a spelling cop 2015-10-22 23:02:08 -07:00
Mazyad Alabduljaleel 5aa9c03687 update docs 2015-10-20 20:46:14 -07:00
Mazyad Alabduljaleel 77b754cc3e release v0.10.1 2015-10-20 20:08:04 -07:00
Mazyad Alabduljaleel baffc6fe0d fixes #93 .. As far as I can tell 2015-10-20 19:54:29 -07:00
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