FROM : Jonathan E. Jackel
DATE : Fri Nov 05 21:42:57 2004
> I note that each NSTextFieldCell has it's own formatter. I
> certainly don't
> want to set these manually in IB, though I'm willing to do it
> programmatically on window load if I have to.
You have to. At least, I don't know of a way of setting all of a matrix's
cells to use a formatter in IB. Pretty easy to do in code, though:
[[myMatrix cells] makeObjectsPerformSelector:@selector(setFormatter:)
withObject:myFormatter];
DATE : Fri Nov 05 21:42:57 2004
> I note that each NSTextFieldCell has it's own formatter. I
> certainly don't
> want to set these manually in IB, though I'm willing to do it
> programmatically on window load if I have to.
You have to. At least, I don't know of a way of setting all of a matrix's
cells to use a formatter in IB. Pretty easy to do in code, though:
[[myMatrix cells] makeObjectsPerformSelector:@selector(setFormatter:)
withObject:myFormatter];
| Related mails | Author | Date |
|---|---|---|
| Andrew White | Nov 5, 03:03 | |
| Jonathan E. Jackel | Nov 5, 21:42 |






Cocoa mail archive

