Commit Graph
128 Commits
Author SHA1 Message Date
Leo Natan 8564d1574b Demo project updates 2020-11-01 15:12:36 +02:00
Leo Natan 6076c46c15 Better random color generation in demo project 2020-10-31 14:49:03 +02:00
Leo Natan 66cbace403 Demo projects 2020-10-31 12:25:55 +02:00
Leo Natan d17ff028c2 Don’t reposition close button on Catalyst 2020-10-28 11:09:59 +02:00
Leo Natan 3aed1d34a4 Demo project icon changes 2020-10-28 10:04:13 +02:00
Leo Natan 8b22709aa3 Mac Catalyst improvements
- The default styles have changed somewhat for Mac Catalyst, so make the system more Mac-like:
  - Default close button is .round instead of .chevron
  - Default interaction style is .scroll instead of .snap
- Mouse scroll events are ignored now, and only pan/swipe gesture is counted for popup interaction.
- The visual style of the bar background is changed somewhat
2020-10-28 10:03:58 +02:00
Leo Natan 0ba87949af Demo project update 2020-10-26 14:15:36 +02:00
Leo Natan eec2650a87 Demo app 2020-10-15 00:21:09 +03:00
Leo Natan 4a309a874c Schedule one more effect grouping read attempt, in case bottom bar is not ready yet 2020-10-10 23:33:47 +03:00
Leo Natan 3ce1d4425f Demo project 2020-10-06 19:50:02 +03:00
Leo Natan b3de25ac2a Safe area insets in map scene 2020-10-04 20:38:38 +03:00
Leo Natan 79488b24fb Rework inset management again
Improve toolbar hide transition
2020-10-04 20:28:16 +03:00
Leo Natan 3ea0c09752 Improve Mac Catalyst layout and support 2020-10-03 01:42:33 +03:00
Leo Natan 22dc5beaa6 Layout improvements
Closes #419
2020-10-03 00:51:15 +03:00
Leo Natan c53e6270c8 Improve effect grouping
When the tab bar is transitioning, disable grouping with its effect view due to Apple bugs
2020-09-28 01:22:35 +03:00
Leo Natan 7c436adb52 Add visual effect grouping 2020-09-27 20:41:01 +03:00
Leo Natan 20ca8f5398 Mask Apple’s bug when hiding bottom bar 2020-09-27 19:47:04 +03:00
Leo Natan 6094b87595 Uses non-leaking variant of presentationController
Closes #418
2020-09-26 01:30:12 +03:00
Leo Natan cc9e5dc433 Demo projects 2020-09-06 01:41:13 +03:00
Leo Natan e03cbb10d1 Play around with demo project 2020-09-04 01:35:01 +03:00
Leo Natan 92307cb816 Ensure the bar extension is not presented if a popup bar is not presented 2020-09-03 00:49:18 +03:00
Leo Natan 3b1724f982 Demo project updates 2020-09-02 23:29:27 +03:00
Leo Natan 9a8503ec7d Custom popup close button positioning support 2020-09-02 16:58:51 +03:00
Leo Natan 7caa678273 Remove button style debug 2020-09-02 01:45:34 +03:00
Leo Natan 0d6936651b Move close button management to content view rather than popup controller 2020-09-02 01:30:08 +03:00
Leo Natan e67bdb1e66 Improve custom bar controller layout management
Closes #397
2020-09-01 21:23:23 +03:00
Leo Natan 213e9b81c1 Demo project improvements 2020-08-21 00:07:04 +03:00
Leo Natan 36ef9400eb Implement Music scene player controller using SwiftUI
Limit certain demo scenes to iOS 13 and above
2020-08-17 01:13:51 +03:00
Leo Natan 0aefb940ae Implement bar extension for tab bar controllers, legacy iOS 2020-08-17 01:13:21 +03:00
Leo Natan 34b70541de Update demo map scene 2020-08-15 05:47:33 +03:00
Leo Natan 110c745f78 Improve safe area management
Even more bar layout improvements
2020-08-15 01:23:59 +03:00
Leo Natan 76099709f5 Add target with no LNPopupController.framework linked 2020-08-14 22:30:50 +03:00
Leo Natan 38c11ff0b0 Split view controllers oh my 2020-08-14 22:12:28 +03:00
Leo Natan 64c448bb18 Do not recursively look for a popup bar for safe area inset correction 2020-08-10 23:13:04 +03:00
Leo Natan c45a3a14f4 Use LNPreviewToContextMenu instead of previous hack 2020-08-10 21:05:11 +03:00
Leo Natan 72580dabfc Improvements:
Use LoremIpsum from Swift Package
Improve handling of view notification
Ensure bottom inset is set correctly to either superview or window bottom safe area inset
Update file headers
Update demo project with more SFUI images
Add static product to package
2020-08-06 23:23:16 +03:00
Leo Natan e65e34f9f6 Support iOS 11 again
Documentation changes
2020-08-04 22:16:07 +03:00
Leo Natan e3525147c4 Use the popup content controller’s user interface style override for the popup content view as well 2020-08-04 21:52:06 +03:00
Leo Natan 7723015f23 Implement LNPopupPresentationDelegate
Make popupPresentationState KVO-compliant
Rename and deprecate some APIs
Split internal state managed from public
Improve popup bar layout and some minor visual tweaks
Closes #287
2020-08-04 19:35:32 +03:00
Leo Natan fc241d97a0 Use semantic naming for leading and trailing bar button items
Deprecate old “left” and “right” bar button items
2020-08-03 04:32:36 +03:00
Leo Natan 7dd01168b8 Remove unnecessary demo project images 2020-08-03 02:40:26 +03:00
Leo Natan af22a0e701 Even better handling of safe area insets in split views
Remove old, unneeded swizzled APIs
2020-08-02 21:19:21 +03:00
Leo Natan a6ec0e4a46 Fix presentation when popup container controller’s view is not in the hierarchy
Closes #371
2020-08-01 22:38:34 +03:00
Leo Natan 65a0fc3a21 Improve status bar management
Clsoes #374
2020-08-01 04:07:08 +03:00
Leo Natan 5a10dcb1cf Fix presentation when popup container controller’s view is not in the hierarchy
Closes #371
2020-08-01 03:36:51 +03:00
Leo Natan ebb737fc86 Take into account RTL split views 2020-08-01 02:54:54 +03:00
Leo Natan 1b6cb070d3 Support iOS 14
Bump to 2.9.0
Remove legacy iOS 9 - 11 code
Remove legacy previewing API
2020-07-31 22:35:01 +03:00
Leo Natan e5013aa33b Fix buttons not pressable. Closes #350 2019-08-30 11:56:52 +03:00
Leo Natan 21327acb5f Improve layout 2019-08-25 19:45:46 +03:00
Leo Natan 070d847809 Do not create the popup bar when not needed 2019-08-23 11:27:48 +03:00