• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFormatter and the nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFormatter and the nib


  • Subject: Re: NSFormatter and the nib
  • From: Andy Lee <email@hidden>
  • Date: Mon, 24 Jun 2002 11:00:02 -0400

At 9:46 AM -0500 6/24/02, Jim Menard wrote:
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?

Yeah. Sometimes with nested objects you can "hover" while you Control-drag and the inner object on the destination end will get highlighted. This didn't seem to be the case with a plain text field. I got the same message you did.

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?

You could put it in its own window and set that window to not display, which of course just compounds the needless mess since we have the simpler drag-and-drop solution, but as an academic matter, the bogus window is something you *could* do to hide a bogus text field.

--Andy
_______________________________________________
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.

References: 
 >NSFormatter and the nib (From: Jim Menard <email@hidden>)
 >Re: NSFormatter and the nib (From: Andy Lee <email@hidden>)
 >Re: NSFormatter and the nib (From: Jim Menard <email@hidden>)

  • Prev by Date: Re: CDSA - they really don't want anyone to use it this bad?!?
  • Next by Date: Re: Problems creating an NSWindow in a Finder CFPlugIn
  • Previous by thread: Re: NSFormatter and the nib
  • Next by thread: Init method needed?
  • Index(es):
    • Date
    • Thread