Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And iOS programming makes you fill dictionaries with alternating k,v,k,v,nil


*The Swift language (not only iOS programming at all)

*it is one way of initializing a dictionary. Literal way has a closer to JSON form.

EDIT: Oh you seem to be talking about ObjC it seems! I did not see the nil. Literal way is still more akin to JSON though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: