How To point to an object from string
My question is kind a general, in my project i have 10 `UIButton` objects.
named the Following:
Button1

Button2

Button3

Button4

Button5

Button6

Button7

Button8

Button9

Button10

and i also Have `UIImageview`

that named exactly as the buttons from 1 to 10.

and i want to write a code that will manipulate the image by the last Character of the button (always a number from 1 to 10)

and will effect the `UIImageview` the same way

something like this
buttonlastcharacter = i;
    if(sender.lastcharacternumber is:i){
    Button%,i.frame = Some manipulation;

but basically all that i mean is to have access to certain object by string

how can i implement such a behavior?
How To point to an object from string
===

My question is kind a general, in my project i have 10 `UIButton` objects.
named the Following:
Button1

Button2

Button3

Button4

Button5

Button6

Button7

Button8

Button9

Button10

and i also Have `UIImageview`

that named exactly as the buttons from 1 to 10.

and i want to write a code that will manipulate the image by the last Character of the button (always a number from 1 to 10)

and will effect the `UIImageview` the same way

something like this
buttonlastcharacter = i;
    if(sender.lastcharacternumber is:i){
    Button%,i.frame = Some manipulation;

but basically all that i mean is to have access to certain object by string

how can i implement such a behavior?