c713194262
- Changes internal target_os flags to be feature flags; macOS is now appkit, and iOS/tvOS are now uikit. This enables platforms that are not Apple-specific platforms that use frameworks to be compiled for. - Updates the examples to handle closing/quitting better.
22 lines
430 B
Rust
22 lines
430 B
Rust
//! This example implements a "kitchen sink" Todo app, because I suppose that's what all GUI
|
|
//! frameworks aspire to do these days. Go figure.
|
|
//!
|
|
//! This may get extracted into a different repo some day in the future.
|
|
|
|
use cacao::appkit::App;
|
|
|
|
mod add;
|
|
mod app;
|
|
mod menu;
|
|
mod preferences;
|
|
mod storage;
|
|
mod todos;
|
|
mod windows;
|
|
|
|
fn main() {
|
|
App::new(
|
|
"com.cacao.todo",
|
|
app::TodosApp::default()
|
|
).run();
|
|
}
|