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

One question to the audience : i've had a look at the swift iBook and noticed that dictionary are strongly typed. Which is great in a way, but now i wonder :

how would you create a json deserializer ( which conveniently deserialized into NSArray and NSDictionnary of anything ) ? I didn't see any "object" or "id" type equivalent.



There is a special type called AnyObject that represents Objective-C id values




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

Search: