Skip navigation.
 
mlTrouble Setting ValueTransformer on NSMatrix's cells within IB
FROM : David Itkin
DATE : Mon Jun 30 23:09:34 2008

I have an array that contains NSNumber objects.  I associate the array 
with an NSArrayController and then associate the NSArrayController 
with the NSMatrix.  All of this is done from within IB.

This works fine and the matrix shows the value of each nsnumber within 
the array.

I would now like to apply a custom NSValueTransformer to each number 
in the array-- the transformer converts to a string representation 
that is more appropriate for display.

How within IB can I associate an NSValueTransformer with the NSMatrix 
so that the transformer will be applied to each NSNumber, not the 
array itself?

Thanks,

David

Related mailsAuthorDate
No related mails found.