Top "Key" questions

A unique identifier used to retrieve a paired value.

How can i tell if an object has a key value observer attached

if you tell an objective c object to removeObservers: for a key path and that key path has not been …

objective-c cocoa key key-value-observing
How to elegantly rename all keys in a hash in Ruby?

I have a Ruby hash: ages = { "Bruce" => 32, "Clark" => 28 } Assuming I have another hash of replacement names, is there …

ruby hash key
Android - Key Dispatching Timed Out

In my Android application I am getting a very strange crash, when I press a button (Image) on my UI …

android timeout key freeze dispatch
How add key to dictionary without value?

in normally we should add key and value together in dictionary type. like: myDict.Add(key1, value1); myDict.Add(key2, …

c# dictionary key add
Catch keypress with android

How can i catch a phone keypress with the android SDK? i've been looking around for hours without finding anything.. …

android key message keypress
How to insert a new key with value in dictionary

I want to insert a key with a corresponding value in an existing dictionary... I am able to set values …

iphone key nsmutabledictionary
What is the max key size for an array in PHP?

I am generating associative arrays and the key value is a string concat of 1..n columns. Is there a max …

php arrays key
Creating 2D dictionary in Python

I have a list of details from an output for "set1" which are like "name", "place", "animal", "thing" and a "…

python dictionary set key 2d
Can I use String as ID type for mongodb document?

I am using java/morphia to deal with mongodb. The default ObjectId is not very convenient to use from Java …

mongodb key morphia
How to use multiple modifier keys in C#

I am using a keydown event to detect keys pressed and have several key combinations for various operations. if (e.…

c# key keyboard-shortcuts keydown modifier-key