1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Cocoa Bindings pattern math

Discussion in 'Mac Programming' started by davbeck, Oct 19, 2009.

  1. macrumors regular

    is there any support for math in a binding display path? I would like to format NSTimeInterval as M:SS.
  2. macrumors 6502a

    You can probably do what you want by letting the text field do the work. You just need to add a custom class of NSFormatter to the field.
  3. macrumors regular

    Oh yeah I forgot about NSFormatter. I haven't used that since I first read Hillegass' book.

Share This Page