Re: Compute value in IB using bindings
Re: Compute value in IB using bindings
- Subject: Re: Compute value in IB using bindings
- From: Ricky Sharp <email@hidden>
- Date: Wed, 14 Sep 2005 18:14:19 -0500
On Sep 14, 2005, at 2:06 PM, Robert Cerny wrote:
Well,
I simply have startDate, endDate and lenght and wanted set length
to the difference between endDate-startDate
You could accomplish that by adding a length accessor which is
dependent upon startDate and endDate.
Your UI could, for example, have 3 edit fields. First two are
editable and bound to startDate and endDate respectively. Third
could be read-only and bound to length.
True, you are adding some code here, so it's not the pure "IB only"
solution you're after. But, it's only a trivial amount of code.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden