Top "Selector" questions

A selector can be a string identifying a method name in the Objective-C or Smalltalk programming language or a special kind of switch used in computers to connect multiple lines (I/O) to a single line.

Understanding Swift 2.2 Selector Syntax - #selector()

I am switching over the syntax of my project toward Swift 2.2 (which xCode helps me do automatically); however, I do …

swift swift2 selector
How to I pass @selector as a parameter?

For the method: [NSThread detachNewThreadSelector:@selector(method:) toTarget:self withObject:(id)SELECTOR]; How do I pass in a @selector? I …

iphone objective-c selector
using variables within a jquery selector

I'm trying to build a dynamic jquery selector with the following code: var section_id = "{segment_3}"; var num_children = $('#…

javascript jquery variables dynamic selector
Passing parameters to the method called by a NSTimer

How can I pass a parameter to the method called by a NSTimer? My timer looks like this: [NSTimer scheduledTimerWithTimeInterval:4 …

objective-c cocoa-touch selector nstimer
SEL performSelector and arguments

It seems like there should be an easy way to call a selector with some arguments when all you have …

iphone objective-c selector
How to select a single item in protractor

Usually in protractor you can select singular element with: element(protractor.By.css('#fdfdf')); Occasionally you get something like …

angularjs protractor selector angularjs-e2e
What does the & mean in an scss selector?

What does & refer to in an scss selector? //Case 1 .parent { & > ul { color: red } } //Case 2 .parent { & > …

css sass syntax selector
how to call a method of multiple arguments with delay

I'm trying to call a method after some delay. I know there is a solution for that: [self performSelector:@selector(…

ios methods selector
jQuery Class selector not working

I'm struggling to make an alert come up when an anchor tag with a specific class is clicked inside of …

javascript jquery html selector
cancelling queued performSelector:afterDelay calls

does anybody know if it is possible to cancel already queued selector events from the event stack or timer stack (…

objective-c selector