Implement a basic <Text> component in Cocoa - it's cool because it really just uses the same Component lifecycle. Neat!

This commit is contained in:
Ryan McGrath 2019-05-24 23:32:40 -07:00
parent 22e9628b27
commit e17f05dec5
No known key found for this signature in database
GPG key ID: 811674B62B666830
11 changed files with 205 additions and 42 deletions

View file

@ -1,11 +1,5 @@
//! components/view/mod.rs
//!
//! Implements a View Component struct. The most common
//! basic building block of any app. Maps back to native
//! layer per-platform.
//!
//! @author Ryan McGrath <ryan@rymc.io>
//! @created 03/29/2019
//! basic building block of any app. Wraps NSView on macOS.
use std::sync::{Once, ONCE_INIT};