Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatter for NSTableView




On Oct 20, 2004, at 3:15 PM, Peter Karlsson wrote:

Dear list!

I have a formatter for my NSTextField that works exactly as I want. It's
done by subclassing NSFormatter. Most of the work is done in
isPartialStringValid.

Can I use the same formatter for my NSTableView? So the user can edit a row
in the table and my formatter checks every keypress?

Dear Peter! <;*)

Yes, you can attach the formatter to the data cell of a table column and the formatter will apply to that column.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Formatter for NSTableView (From: "Peter Karlsson" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.