Controller Layer Question
Controller Layer Question
- Subject: Controller Layer Question
- From: James Hillhouse <email@hidden>
- Date: Fri, 2 Jan 2004 23:33:46 -0500
Hey folks,
I'm working with a problem where I would like to have an interface that
has one or multiple text fields that generate output for two or more
text fields. For example,
Enter position, step-size, and time-step
Calculate the new position, the velocity, and the acceleration
This is a no-brainer if I were not using the new Controller Layer. But
I'd like to use the Controllers found in the latest release of IB. And
I'm working from Apple's application examples found in the
documentation. So that means that the initializer I've up to now used
is,
+(void)initialize
{
[ Integrator setKeys:
[ NSArray arrayWithObjects:@"position", "stepSize", "timeStep",
nil ]
triggerChangeNotificationsForDependentKey:@"integratedPosition"
];
}
What I'm trying to get to now would allow for the calculation and
display to text fields
integratedPosition
integratedVelocity
integratedAcceleration
AFTER entering
position
stepSize
timeStep
I'm ready to acknowledge that this isn't the most cutting edge of
questions. But I could sure use some advise and help.
Thanks,
Jim
email@hidden
877-586-5372
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.