RE: Implementing a record counter (record n of records)
RE: Implementing a record counter (record n of records)
- Subject: RE: Implementing a record counter (record n of records)
- From: "Jon C. Munson II" <email@hidden>
- Date: Thu, 18 Dec 2008 16:17:11 -0500
- Organization: JTA Enterprises LLC
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:email@hidden]
Sent: Thursday, December 18, 2008 3:40 PM
To: email@hidden
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
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden