Re: NSFormatter and the nib
Re: NSFormatter and the nib
- Subject: Re: NSFormatter and the nib
- From: Jim Menard <email@hidden>
- Date: Mon, 24 Jun 2002 09:46:00 -0500
Andy,
Thank you for both your long and short answers. I've been saving all of
your answers to everyone's questions so far; keep 'em coming.
Both you and Lance Bland pointed out that simple dragging the formatter
onto the column's header does exactly what I expected. For some reason when
I first tried dragging the formatter onto the column, it didn't work. More
probably, it did work but I didn't notice.
>
(In NextStep there used to be a way to name things in a nib and ask
>
for them by name, but I think that's gone.)
That's what I was looking for after I gave up dragging.
In your long explanation, you describe using a 1x1 matrix. It turns out you
don't have to. I can control-drag from the text field onto the formatter
instance.
However, when I try to control-drag from the column header to the text
field, I see the message "dataCell must be of type NSCell". Is that why you
said that the matrix is necessary?
After doing that and then making this text field the data cell for a table
column, there is this text field proxy object sitting there in the window.
How would I hide it?
Jim
--
Jim Menard, email@hidden,
http://www.io.com/~jimm/
"Do Squeakers Dream of Electric Mice?" -- Mike Thomas
(
http://www.squeak.org)
_______________________________________________
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.