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

@ -47,7 +47,7 @@ impl Window {
let title = NSString::alloc(nil).init_str(title);
window.setTitle_(title);
msg_send![window, setTitlebarAppearsTransparent:YES];
//msg_send![window, setTitlebarAppearsTransparent:YES];
msg_send![window, setTitleVisibility:1];
// This is very important! NSWindow is an old class and has some behavior that we need