Thanks alot, that worked out well as far as a single value goes. :)

How does one create a value transformer for multiple values?  Do you need to
write a transformer for each value in the chain, etc.?

Thanks again!

Peace, Love, and Light, 

/ s/ Jon C. Munson II

-----Original Message-----
From: Kevin Gessner [mailto:ke...@kevingessner.com] 
Sent: Thursday, December 18, 2008 3:40 PM
To: jmun...@his.com
Cc: 'cocoa dev'
Subject: Re: Implementing a record counter (record n of records)


You could use a value transformer that would add 1 to selectedIndex.  
It could also return something like "(nothing selected)" when there's  
no selection. The "some number other than 0" might be  
NSNoSelectionMarker, so you could check against that in your value  
transformer.

HTH,
-- Kevin

Kevin Gessner
http://kevingessner.com
ke...@kevingessner.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to