Clozure / ccl

Clozure Common Lisp
http://ccl.clozure.com
Apache License 2.0
849 stars 103 forks source link

IDE: Remove nibs, switch to code #73

Open eschaton opened 6 years ago

eschaton commented 6 years ago

As of Mac OS X 10.6 Snow Leopard (released in 2009), it should be possible for a Cocoa application to build its menu bar and other UI entirely in code. Interface Builder in Xcode 4.0 also removed much of the support for setting up connections in Cocoa nib files for bridged and unsupported languages.

Therefore it would probably be in the CCL IDE’s best interest to switch entirely to code for setting up its interface, rather than continue to use nib files that can’t easily be edited.

Jeff Johnson recently published an example of doing this on modern macOS in Swift: https://github.com/lapcat/NiblessMenu

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/50187088-ide-remove-nibs-switch-to-code?utm_campaign=plugin&utm_content=tracker%2F27935804&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F27935804&utm_medium=issues&utm_source=github).
xrme commented 6 years ago

In fact, the IDE does this already with MainMenu.nib: there is no MainMenu.nib.

(There are other nib files, though.)