68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Converting Carbon Interface Builder documents to Cocoa
Posted by: VMSZealot on 2026-01-09 11:21:37
Why is it that I find myself getting part way through a project, getting distracted, and then scooting off to do something else? I will finish working on PETSCII Robots one day. Maybe. In the meantime though, I've written a tool which might be useful for people going the other way - updating old software to run on new Macs. So I offer, for your consideration, carbon2cocoa

It has one job. It takes a nib (or xib) file which was written for Carbon and it updates it to Cocoa. Previously, this was a manual task that required the interface builder document to be rewritten entirely from scratch. And, particularly for a large IB document, who can be bothered to do that!? You can build it, fork it, modify it, install it with home-brew. But if you find a bug, please let me know so that I can fix the problem (assuming that I don't get distracted by something else that is!)

Carbon2Cocoa
Posted by: cheesestraws on 2026-01-09 11:45:36
that's rather nice! Good stuff.
Posted by: VMSZealot on 2026-01-09 12:35:09
Thank you Cheesy - coming from you that’s the highest of high praise!
1