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
SEL
s if they're all targeted to the same object, or one ofNSInvocation
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