Thanks, Ken and Graham. Somehow I must’ve deleted windowNibName by accident.
Previously, my Source View window ignored any attempt to set the text color of
an item, then after updating to 10.10.2, suddenly text colors worked. Because
that change in behavior related to the OS, I also associated t
> On 9 Feb 2015, at 2:38 pm, Graham Cox wrote:
>
> a subclass of NSWindow required for modal dialogs
On further thought I think that's not true - NSWindow can work modally, but
it's usual to make it NSPanel. If you use a plain window, I think there are
restrictions on which kinds can be used
> On 9 Feb 2015, at 10:44 am, Charles Jenkins wrote:
>
> 2015-02-08 16:24:04.159 MyApp[2989:720882] An uncaught exception was raised
> 2015-02-08 16:24:04.159 MyApp[2989:720882] Modal session requires modal window
Big clue here!
In IB, you need to make sure that the window's class is NSPanel
On Feb 8, 2015, at 5:44 PM, Charles Jenkins wrote:
> I updated my OS yesterday, and now my modal window doesn’t work (which
> probably means I’m doing it wrong and just got lucky before).
>
> I created the window by asking XCode to create a subclass of
> NSWindowController and making sure the
I updated my OS yesterday, and now my modal window doesn’t work (which
probably means I’m doing it wrong and just got lucky before).
I created the window by asking XCode to create a subclass of NSWindowController
and making sure the “also create xib” checkbox was checked. Then I designed the
U