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

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -