IBInspectors - how to update with a NSFormatter
IBInspectors - how to update with a NSFormatter
- Subject: IBInspectors - how to update with a NSFormatter
- From: Jonathan Wight <email@hidden>
- Date: Mon, 05 Aug 2002 21:09:18 -0500
Hi,
I have a NSFormatter subclass that I'm writing an IB Palette and Inspector
for. Everything is going swimmingly except that I cannot get changes in the
formatter's Inspector to affect the object being formatted.
I can find what object the NSFormatter is attached to by calling (from with
my IBInspector subclass):
[[self inspectedDocument] parentOfObject:[self object]]
This will either return an instance of NSTextField, NSFormCell,
NSTableColumn or whatever else the formatter is attached to. Now I'd like to
update the object being formatted with changes made to the formatter.
How do I go about doing that in a way that will work with a text field, cell
or column? What am I missing? Is there some other way of going from an
NSFormatter to the object being formatted?
Jon.
_______________________________________________
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.