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.

Using -performSelector: vs. just calling the method

I'm still kind of new to Objective-C and I'm wondering what is the difference between the following two statements? [object …

objective-c selector dynamic-languages method-dispatch
Jquery $("img").click(function() selector not working

For some reason when I click on an image with this JQuery code the alert screen doesn't show up. HTML: &…

jquery html selector
Finding an element by ID in an AJAX Response with jQuery

I need to post data to a php page and then I'd like to get the text of a certain …

jquery ajax selector
How to apply shape and selector simultaneously for Button?

I have applied a shape for a button like: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://…

android button selector
Background Selector in RecyclerView Item

I'm using the RecyclerView like below: <android.support.v7.widget.RecyclerView android:id="@+id/list" android:layout_width="320dp" …

android selector android-recyclerview
jQuery: Get Child object with specific ID

First some HTML: <div id="tmcl-request" class="tmcl-request" style="display: none"> Request: <b> Node: </b&…

jquery selector
Customizing tabs on state in Android

I know how to put the icon on each tab, that is no problem. I also ran across this : [Stack …

android tabs selector drawable
Android: How to Make A Drawable Selector

I feel like this is kind of a silly question, but here I go anyways. I have an image button, …

android selector android-drawable xml-drawable android-selector
When to use @objc in Swift?

In Swift, I see some methods like: @objc private func doubleTapGestureRecognized(recognizer: UITapGestureRecognizer) I was wondering, when to use @objc? …

ios objective-c swift selector private
Selector in swift3

Why doesn't this work in swift 3 ? It crashes at runtime saying: '-[my_app_name.displayOtherAppsCtrl tap:]: unrecognized selector sent …

ios selector swift3