{"action":"closed","issue":{"url":"https://api.github.com/repos/icanzilb/JSONModel/issues/375","labels_url":"https://api.github.com/repos/icanzilb/JSONModel/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/icanzilb/JSONModel/issues/375/comments","events_url":"https://api.github.com/repos/icanzilb/JSONModel/issues/375/events","html_url":"https://github.com/icanzilb/JSONModel/issues/375","id":107583918,"number":375,"title":"[__NSCFDictionary nomtype]: unrecognized selector sent to instance","user":{"login":"Resousse","id":11071770,"avatar_url":"https://avatars.githubusercontent.com/u/11071770?v=3","gravatar_id":"","url":"https://api.github.com/users/Resousse","html_url":"https://github.com/Resousse","followers_url":"https://api.github.com/users/Resousse/followers","following_url":"https://api.github.com/users/Resousse/following{/other_user}","gists_url":"https://api.github.com/users/Resousse/gists{/gist_id}","starred_url":"https://api.github.com/users/Resousse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Resousse/subscriptions","organizations_url":"https://api.github.com/users/Resousse/orgs","repos_url":"https://api.github.com/users/Resousse/repos","events_url":"https://api.github.com/users/Resousse/events{/privacy}","received_events_url":"https://api.github.com/users/Resousse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T19:41:06Z","updated_at":"2015-09-22T00:12:36Z","closed_at":"2015-09-22T00:12:36Z","body":"Hello,\r\n\r\nI've the following types defined : \r\n```\r\n@interface Categorie : JSONModel\r\n@property (nonatomic, assign) NSNumber *idtype; // I tried also strong and copy for all of the properties\r\n@property (nonatomic, assign) NSString *nomtype;\r\n@end\r\n\r\n@interface Categories : JSONModel\r\n@property (nonatomic, assign) NSArray<Categorie*>* liste;\r\n@end\r\n```\r\nAnd the following code : \r\n```\r\nCategories* categories = [[Categories alloc] initWithString:@\"{\\\"liste\\\":[{\\\"idtype\\\":1,\\\"nomtype\\\":\\\"Chaussures\\\"}]}\" error:&err];\r\n        if (err == nil)\r\n        {\r\n            Categorie *categorie = categories.liste[0];            \r\n            NSLog(@\"%@ %@\", categorie.idtype, categorie.nomtype);\r\n        }\r\n```\r\nBut on the NSLog line, it crashes with **[__NSCFDictionary nomtype]: unrecognized selector sent to instance** , however I can see in the debug mode that all fields of the Categorie object have been filled.\r\n\r\nI have some doubts about the way I'm accessing values of the categorie class, is categorie.nomtype valid? (I think yes as I found some examples)\r\n\r\nThank you"}}