ios - Prons and Cons of using objectForKey and valueForKey? -


as know there difference between objectforkey , valueforkey.

objectforkey: datatype :(id)akey whereas valueforkey: datatype :(nsstring *)key.

i know topic discussed on stackoverflow not provide me satisfaction. please not mark duplicated

i referred :

difference between objectforkey , valueforkey?

what difference between valueforkey:, objectforkey:, , valueforkeypath:?

finally nsstring type of id. why apple provide valueforkey on objectforkey. think there performance problem or other. question if objectforkey satisfied requirement of valueforkey need of valueforkey?


Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

jquery - jqGrid update specific column data with out refreshing the entire column? -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -