Ryan McGrath
62cebab691
Some more updates for macOS.
...
- Added support for basic Cursor management.
- Added support for NSWindow cancelOperation: callbacks. It's not...
perfect, but it works as a discrete hook.
- Added support for NSProgressIndicator.
- Properly forward Error types from QuickLook generation calls, and
future-proof the ThumbnailQuality enum.
- Add support for configuring Label line break mode.
2021-01-19 00:11:52 -08:00
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
ad54670ffd
Docs need cleanup again, but fixing the README so nobody is confused... much
2020-03-29 22:35:19 -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
6891e83019
Blockquote that
2020-03-28 20:32:31 -07:00
Ryan McGrath
566c13ada8
A typo
2020-03-28 18:46:49 -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
Ryan McGrath
d512b7bcf5
Bring back dependency on core-graphics because, well, I'm apparently a moron. Further sketching out of WindowDelegate.
2020-03-26 17:31:42 -07:00
Ryan McGrath
b0232ca225
Window movement delegate callback support
2020-03-25 19:57:47 -07:00
Ryan McGrath
34b02b28b5
On dropping a View, which is the originating View, we check to see if there's a superview and remove it if so
2020-03-24 21:42:07 -07:00
Ryan McGrath
d7c367e7e9
Experimenting with Drop logic - will extend to View/etc if it works fine with Window. I... think it will.
2020-03-23 21:16:13 -07:00
Ryan McGrath
8910a88a93
Fix up the WebView implementation so that Subatomic compiles on the latest appkit codebase. Undo an experimental NSString wrapper type that caused problems. Docs forthcoming.
2020-03-21 16:46:35 -07:00
Ryan McGrath
e4f96b4ab5
Working on getting WKWebView working again - close
2020-03-20 18:37:00 -07:00
Ryan McGrath
c1da7b1b37
Clean up warnings, finish moving View/ViewController to new paradigm, general cleanup - need to rewrite docs
2020-03-20 15:03:19 -07:00
Ryan McGrath
fc53848ba2
Add in an autolayout example
2020-03-20 14:02:46 -07:00
Ryan McGrath
e50bb25e9f
More work on Application methods
2020-03-20 13:12:01 -07:00
Ryan McGrath
f45c86743b
Moving to a model where ther are actual examples, since the handler logic is finally ironed out well.
2020-03-19 20:07:44 -07:00
Ryan McGrath
bd82b8f27b
Force-drain NSAutoReleasePool after run completes, feature-gate webview, refactor app module structure to match the rest
2020-03-17 19:11:03 -07:00
Ryan McGrath
aacfc81b99
Refactor rest of modules to use local foundation
2020-03-17 18:19:56 -07:00
Ryan McGrath
c16dad564e
Wrap Foundation ourselves, because there's some considerations down the road and it's easier to do this now.
2020-03-17 16:55:09 -07:00
Ryan McGrath
66ffd83db0
CloudKit feature gate, move wrapper over to the module
2020-03-16 22:22:15 -07:00
Ryan McGrath
79bb456b93
Place User Notifications behind a feature flag, as the framework technically requires code signing
2020-03-16 22:08:12 -07:00
Ryan McGrath
5884d267c9
Remove unused code in color module
2020-03-15 23:15:20 -07:00
Ryan McGrath
7b5ed88bb1
Further work on finishing up AppController interface
2020-03-15 23:10:43 -07:00
Ryan McGrath
f1689d7cf9
Nearing 100% coverage for API. This brings in some necessary cleanup now that we've found the right approach to all of this.
2020-03-15 19:53:09 -07:00
Ryan McGrath
3a89d8e5f5
Patch a few small autolayout bugs - not a huge fan of the clone() in constraints but fine for now
2020-03-12 19:18:16 -07:00
Ryan McGrath
86980d7329
Fixed color math, and ported AutoLayout
2020-03-12 18:18:32 -07:00
Ryan McGrath
3d93b04455
More or less finalized Toolbar support, at least for now
2020-03-12 12:33:41 -07:00
Ryan McGrath
db33c382b7
Fix up the NSToolbar wrapper to follow the new paradigm
2020-03-11 19:45:35 -07:00
Ryan McGrath
8a5af12b47
Clean up some pointer shuffling stuff
2020-03-11 18:38:33 -07:00
Ryan McGrath
f49eff24f9
Devised a better (safer) way to handle UI/Controller/Delegate setup
2020-03-11 17:56:17 -07:00
Ryan McGrath
80ba209413
Ongoing efforts, experimenting with stack/heap issues (ObjC/NSObject/AppKit are... mostly heap already), further work on Pasteboard support
2020-03-10 20:09:24 -07:00