Recently
Programming to make and enjoy super-introduction to iPhone application Creating the first smartphone application to learn with Xcode 11 & Swift 5
I am studying about swift with the teaching material.
Among them, #selector
came out.
It seems that selector means to make one method an argument of another method. How to use was written below. How to use
After investigating various arguments As you can see in here
It is up to the function that takes that selector to decide what can be passed to the method argument specified by the selector.
It seems. For example, it seems that you cannot pass the characters entered in the text box. (It seems that there is nothing you can't do if you do your best ...)
Selector is difficult, but it seems to be used in many situations, so you have to get used to it. (What I think about studying swift is I used objective-c in my business so I can understand it to some extent so far, It seems very difficult to understand that you are a complete beginner ...)
Recommended Posts