3 ms·
You can take either approach. I opted to do it in code[0] as a personal preference since it reduced the amount of time spent jumping between Xcode and Vim, but
by kattrali 10y ago
You can take either approach. I opted to do it in code[0] as a personal preference since it reduced the amount of time spent jumping between Xcode and Vim, but creating a xib or storyboard and referencing it from Rust using NSBundle resources is just as possible. Maybe I should add examples of using resources to the code samples in the blog post. Thanks!
0: https://github.com/kattrali/webkitten/blob/6ac4ced187b44fe913ed59db6dd632762b3e5fdd/webkitten-cocoa/src/ui/window.rs#L300-L305 https://github.com/kattrali/webkitten/blob/6ac4ced187b44fe91...
- st3v3r 10y agoThat would be nice. I myself am someone who can't stand doing UI work in code, and prefer to lay it out visually if possible.