PDA

View Full Version : Showing date from two rows in table view, in two text fields, via bindings




Monaj
Nov 21, 2010, 10:35 PM
Hi all,

I have a class named as transaction in which one attribute is transactionDate which is of type NSDate.

I am using NSArrayController to display a list of transactions in a table view.

My requirement is-

I want to show date in first row in a text field labeled as "From" and date in last row in a text field labeled as "To".

My questions is-

Can I achieve this via binding in IB? If yes then how?

Thanks,

Monaj