Sunday, March 20, 2011

Assigning actions to individual objects in UIPickerView

How can I do this without having a million if then statements?

From stackoverflow
  • Please define “actions”. I suppose you could use an array of SELs if they're all targeted to the same object, or one of NSInvocation objects otherwise.

    Matt S. : IBActions, or voids, doesn't matter which
  • It appears the only way I could do it is with if then else statements, oh well!

0 comments:

Post a Comment