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.

How to selector ID textbox array using jquery

I have code HTML <input id="info[text1]" type="text" value="1"/> <br> <input id="info[…

jquery jquery-selectors selector textinput
How to select body except one element?

I'm using a color-picker which should be hidden when a click is made anywhere outside it. The problem is, it …

jquery html selector except
TextView state_pressed/state_focused/state_selected style change

I'm trying to change a TextView style based on its state. My styles.xml contains: <style name="text_normal_…

android coding-style textview selector pressed
_cmd value inside c functions

What's the value of _cmd variable when I access it from C-style function's body? Is it defined inside selectors (Objective-C) …

objective-c cmd selector
Android set background color button pressed

I would like to change the background color of my ImageButton on pressed event. Here is what i am done : &…

android selector android-imagebutton android-shape
jquery select all elements except a div and its children

I have this html/css code: <body> <!-- BEGIN: HEADER AREA --> <?php require("snippets/…

jquery css jquery-ui toggle selector
Javascript: How to check if element is visible?

i'm using the lightweight zepto.js framework and now I need to test if an element on the page is …

javascript jquery selector visible zepto
Property with type SEL in Objective-c

I'd like to declare a property with type SEL like this: @property (nonatomic, assign) SEL mySelector; Is "assign" correct here? …

objective-c properties selector
How to verify if a delegate responds to a selector?

I know I need to write: [delegate respondsToSelector:@selector(myMethod:)] But the compiler is complaining that respondsToSelector is not a …

iphone delegates selector
How to create Selector with parameters from string

I am writing a program using Swift 3.1 and Xcode 8.3.3. I want to create a class, responsible for moving entire view …

ios swift notifications selector observers