Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Controller Layer Question



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.