Ryan McGrath
121a2f938e
Some updates. API still in flux, but you can build
...
- Added support for Image
- Added a QuickLook feature, to enable thumbnail generation.
- Added support for NSButton.
- Fixed a bug where App activation under Big Sur would leave menus
without the ability to be used.
- Added the ability for Buttons and ToolbarItems to execute callbacks.
- Added support for Labels and TextFields.
- Added support for MenuItems to have callbacks as well.
- Preliminary ListView support; you have to cache your ListViewRow items
yourself for the time being, but it works.
- Animation support for ListView operations.
- Support for ScrollViews.
- Helpers for dispatching actions to the main thread (for UI work).
- Updated the Dispatcher trait to make thread handling simpler.
- Basic font support.
2021-01-16 17:11:04 -08:00
Ryan McGrath
784727748c
Missing files from last commit, whoops. Also begin the long arduous process of bringing in NSNotificationName. Just end me now.
2020-04-05 00:09:17 -07:00
Ryan McGrath
ba59b06177
Ensure macOS still works, and make these things call super when need be
2020-04-04 21:12:17 -07:00
Ryan McGrath
4ff69c008a
Very rough experimental support for iOS13+ Scenes. Not ready for use or comment yet.
2020-04-04 19:50:58 -07:00
Ryan McGrath
0c604c2e84
Further work on iOS support, mulling over how to make this cleaner
2020-04-02 13:16:20 -07:00
Ryan McGrath
47ddf7f5a3
Experimental iOS support - delegate pattern working in simulator, need to figure out scenes next.
2020-04-01 01:04:34 -07:00
Ryan McGrath
ab53150abc
Finalize some NSString handling that I'd been mulling over. This should be much more sound and transparent regarding ownership while keeping the same general approach that's been working so far.
2020-03-31 20:59:08 -07:00
Ryan McGrath
db4da24268
Fix BOOL return values from NSUserDefaults, improve documentation
2020-03-31 19:00:03 -07:00
Ryan McGrath
8c39ea6f94
Cleaning up
2020-03-31 17:38:47 -07:00
Ryan McGrath
f4ca9770e1
Fix NSData wrapper so storing and retrieving bytes in UserDefaults works as expected, with hopefully little to no cloning issues. Wrap the NSNumber logic into a proper type. More documentation/cleanup, still ongoing.
2020-03-31 15:22:00 -07:00
Ryan McGrath
3f9c9f992c
Almost done with a proper NSUserDefaults wrapper...
2020-03-30 20:23:54 -07:00
Ryan McGrath
e4ddfb975a
Further work on wrapping NSUserDefaults
2020-03-30 01:35:11 -07:00
Ryan McGrath
ccaf61f56f
Webview patches
2020-03-30 00:37:10 -07:00
Ryan McGrath
d69f59d284
Further work on splitting for macOS/iOS support
2020-03-29 22:33:51 -07:00
Ryan McGrath
27e534a612
Ongoing documentation work, reworked Toolbar. Moved away from Rc/RefCell approach and will require users to handle interior mutability themselves, because Cocoa makes it tricky to automate. Beginning to figure out the split where macOS/iOS code should live.
2020-03-29 20:49:36 -07:00
Ryan McGrath
4266c4c8dc
Ongoing cleaning efforts
2020-03-28 22:05:40 -07:00
Ryan McGrath
0b362a59d1
appkit -> cacao, updated README
2020-03-28 18:45:24 -07:00
Ryan McGrath
8d490b3e33
Further work on docs
2020-03-27 20:13:51 -07:00
Ryan McGrath
b573fba459
Working on fixing up docs, general cleanup
2020-03-26 20:19:52 -07:00
Ryan McGrath
ebec770581
Bringing Window to a usable point
2020-03-26 19:02:53 -07:00
Ryan McGrath
6b8aad4a94
Fix up the repo so examples work as they should
2020-03-26 18:06:11 -07:00