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

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

    #2
    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

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

Share This Page