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.

Store selector as value in an NSDictionary

Is there a way to store a selector in an NSDictionary, without storing it as an NSString?

cocoa cocoa-touch nsdictionary selector
jQuery - How to select value by attribute name starts with

I want to select attribute value by giving attribute name (only starts with) For instance if we have html tag &…

jquery selector attr startswith
creating simple action if NSButton is pressed in swift

I am in the process of learning swift. I would like to know how to call a function programmatically if …

ios swift selector nsbutton
Why does select() consume so much CPU time in my program?

I have several Java applications that use MINA, and all of them use 20 MINA threads. One application serves around 10,000 concurrent …

java profiling selector mina
How to add an action to share button in navigation bar with Xcode

I am trying to add an action to my share button in navigation bar but I don't know how and …

ios objective-c xcode selector uinavigationitem
Want to make the whole page in grayscale except specified div

I have a css code that could make the whole page in grayscale. <style type="text/css"> html { …

css selector grayscale
Why must the last part of an Objective-C method name take an argument (when there is more than one part)?

In Objective-C, you can't declare method names where the last component doesn't take an argument. For example, the following is …

objective-c selector language-design
iPhone: IBAction Causes "Unrecognized Selector Sent to Instance" Error

I'm working on my first real iPhone app, a simple To-Do list application to help me organize stuff, except I'm …

iphone interface-builder selector ibaction
CSS *only* detection of text overflows in HTML?

I've seen suggestions on using JavaScript for detecting and acting on text that overflows an HTML element. But it's 2013, so …

html css overflow selector specifications
objective c - delegate and events

I am looking for good example code for using delegate and events in objective c? i am familiar with delegate …

objective-c events delegates comparison selector