Let me see. The way I understand what you want to do is this:
You have some controls in your window: c1, c2, c3, c4... You don't care to be notified when they change. Only thing you care about is to read their values when you click a button. I thing the best thing to do here is just create a bunch of IBOutleted ivars: IBOutlet NS... * c1 IBOutlet NS... * c2 IBOutlet NS... * c3 IBOutlet NS... * c4 Then in you simply have one method that responds to a click: (IBAction)buttonClicked:(id)sender { NSInteger var1 = [c1 intValue]; NSInteger var2 = [c2 ... do whatever... } So in this method you read the values, do something with them and you're done! Peace, Karolis _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com