5. Swift 3 #selector() 문법

Post on 14-Apr-2017

35 views 0 download

Transcript of 5. Swift 3 #selector() 문법

SEL s1 = @selector(methodName1);SEL s2 = @selector(methodName2);SEL s3 = @selector(methodName3); …

[anObject performSelector: s1];

SEL s1 = @selector(methodName1);SEL s2 = @selector(methodName2);SEL s3 = @selector(methodName3); …

[anObject performSelector: s1];