News for hackers. Stuff that matters.
Re:Building native macOS applications with Rust by st3v3r on Wednesday November 30, 2016 @02:44PM (#13073974)
What about UI? Are you forced to do layout in code, or are you able to load in Xibs or Storyboards?
Re:Building native macOS applications with Rust by kattrali on Wednesday November 30, 2016 @03:32PM (#13074429)
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/6ac4ced187b44fe91...

Re:Building native macOS applications with Rust by st3v3r on Wednesday November 30, 2016 @03:57PM (#13074619)
That 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.