Font Manager Problem
Font Manager Problem
- Subject: Font Manager Problem
- From: Henry McGilton <email@hidden>
- Date: Sun, 5 Oct 2003 13:09:20 -0700
Hello All,
I have run into a weird situation where I never get changeFont
messages from the font manager.
My main NIB has its main menu, plus an instantiated (singleton)
Controller object which is a subclass of NSObject. The main menu
has the Font menu installed, so the main NIB contains the Font Manager
object (as well as File's Owner, First Responder, and so on).
On startup, my Controller object obtains the shared Font Manager
object and sets itself as the Font Manager's delegate. I verify
that the delegate return from the Font Manager is the same as
the delegate that I set, namely, my Controller object.
Now I have a second NIB named CrafterDocument. It contains a
window that contains three NSImageViews and an NSTableView, plus
a bunch of assorted controls, one of which is a button that makes
CrafterController (mentioned next) obtain the shared font panel
and orders it front. File's Owner in CrafterDocument is a custom
class named CrafterController that manages the tableview and the
image views. All well and good so far.
In CrafterController I verify that the Font Manager's delegate is
the same object that was set in Controller, above. Problem is,
Controller in the main NIB never sees changeFont messages that 'should'
be coming from the Font Manager. I have been staring at this for
several days now and do not see the obvious blunder, or, more likely,
I am missing something fundamental . . .
Best Wishes,
........ Henry
===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden |
http://www.trilithon.com
|
===============================+============================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.