37 Commits

Author SHA1 Message Date
a4b565723b Fix adwaita-swift not building on macOS 2024-04-11 20:54:05 +02:00
8b27a08764 Add support for spawning windows outside the app 2024-04-11 20:17:25 +02:00
8cba3242f5 Add support for ID subscripts 2024-04-04 16:51:17 +02:00
50b22115b0 Merge branch 'main' of https://github.com/AparokshaUI/adwaita-swift 2024-04-04 15:50:55 +02:00
adbd1c2a00 Add shortcut for getting element of array binding 2024-04-04 15:29:31 +02:00
c596504141 Easier observing of bindings changing data 2024-03-31 10:37:29 +02:00
Zev Eisenberg
e22f528cf3 Simpler array bounds checking. 2024-03-26 09:34:46 -04:00
461e9f4d50 Support modifying a window's instance inside views
Also add support for observing a window's size
2024-02-26 22:53:34 +01:00
b00b743034 Improve view builder function for optionals 2024-02-18 21:38:49 +01:00
279219ea6c Add support for navigation views 2024-02-17 14:32:37 +01:00
b4e88a4a42 Add support for setting a view's visibility
Use the visibility instead of a ViewStack for optional views
2024-02-05 06:20:36 +01:00
db8d667238 Improve onClick observer 2024-01-29 22:19:42 +01:00
4937c36b3b Improve updating performance
And update docs reflecting the changes in the latest commits
2024-01-27 08:07:05 +01:00
d8de611510 Add support for auto-generated widget bindings
Additionally fix an update problem occurring with custom views
2024-01-22 21:45:31 +01:00
eea842891e Faciliate access to properties of a binding 2024-01-04 14:49:45 +01:00
03d259811b Add option to manually provide directory for state 2024-01-03 11:22:21 +01:00
da29f92c91 Save state in the XDG data home directory 2024-01-03 09:27:22 +01:00
021f0f231f Add option to save state between app launches 2024-01-02 18:30:31 +01:00
26b46e3338 Add property rawValue to State
Modify the wrapped value without updating the view
2024-01-02 08:01:40 +01:00
1c50b3b923 Make lists dynamic
Make one @State always reference the same value
This is important when views with closures appear after the first render
2024-01-01 16:08:17 +01:00
37252f7b8f Replace EitherView by the more powerful ViewStack 2023-12-30 21:24:33 +01:00
b9cdec32c9 Make update storage function on View public 2023-12-30 21:06:00 +01:00
e583e5a170 Make storage function on View protocol public 2023-12-30 20:40:47 +01:00
083b352348 Make FileDialog a window 2023-12-09 13:08:11 +01:00
d5b43344a1 Support window overlays for a certain instance
Specify the parent window in the `addWindow(_:parent:)` function
2023-12-07 21:48:31 +01:00
e4737558b2 Add support for AdwAboutWindow 2023-12-05 22:49:05 +01:00
David
475c38a5b8 Add support for file dialogs 2023-12-05 22:00:36 +01:00
36e61255f8 Add support for toasts
Add the new concept of signals
2023-11-30 21:14:45 +01:00
7a97d36585 Migrate from SwiftGui to Libadwaita 2023-11-26 15:22:57 +01:00
a478acbdcd Add modifiers for modifying child views of a view 2023-11-11 16:03:31 +01:00
da08bc435c Add support for modal windows 2023-11-09 20:26:27 +01:00
ac0c775985 Add support for menus 2023-10-22 16:39:46 +02:00
af59675089 Add support for keyboard shortcuts 2023-10-20 07:39:40 +02:00
921f025e39 Update demo and fix bugs
- Fix build optional in ViewBuilder
- Fix maximum size frame modifier
- Improve inspector wrapper
- Improve header bar
- Improve status page
- Improve the naming of some elements
2023-10-12 22:15:15 +02:00
cbbf08bd3b Add widgets and demo application 2023-09-26 15:35:15 +02:00
2611e0c448 Improve window management 2023-09-24 15:40:16 +02:00
a1c8c3b891 Initial Commit 2023-09-12 08:17:52 +02:00