{"action":"created","issue":{"url":"https://api.github.com/repos/icanzilb/JSONModel/issues/376","labels_url":"https://api.github.com/repos/icanzilb/JSONModel/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/icanzilb/JSONModel/issues/376/comments","events_url":"https://api.github.com/repos/icanzilb/JSONModel/issues/376/events","html_url":"https://github.com/icanzilb/JSONModel/issues/376","id":107697555,"number":376,"title":"New Objective C syntax (lightweight generics)","user":{"login":"pjebs","id":5377970,"avatar_url":"https://avatars.githubusercontent.com/u/5377970?v=3","gravatar_id":"","url":"https://api.github.com/users/pjebs","html_url":"https://github.com/pjebs","followers_url":"https://api.github.com/users/pjebs/followers","following_url":"https://api.github.com/users/pjebs/following{/other_user}","gists_url":"https://api.github.com/users/pjebs/gists{/gist_id}","starred_url":"https://api.github.com/users/pjebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjebs/subscriptions","organizations_url":"https://api.github.com/users/pjebs/orgs","repos_url":"https://api.github.com/users/pjebs/repos","events_url":"https://api.github.com/users/pjebs/events{/privacy}","received_events_url":"https://api.github.com/users/pjebs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-22T11:41:00Z","updated_at":"2015-10-23T17:02:53Z","closed_at":null,"body":"In the new version of Objective C (on XCode 7), we can now specify what a NSArray can contain.\r\n\r\nWill your library support this? It will definitely reduce the amount of casting we need to do.\r\n\r\nSay we have a JSONModel subclass called Cars.\r\n\r\nSay we have another JSONModel subclass called Person:\r\n\r\n\r\n@property (strong, nonatomic) NSArray < Cars * > * cars; //Restricting NSArray to Cars \r\n\r\nrather than currently:\r\n\r\n@protocol Cars\r\n@end\r\n\r\n@property (strong, nonatomic) NSArray < Cars >  * cars; //Currently\r\n"},"comment":{"url":"https://api.github.com/repos/icanzilb/JSONModel/issues/comments/150634299","html_url":"https://github.com/icanzilb/JSONModel/issues/376#issuecomment-150634299","issue_url":"https://api.github.com/repos/icanzilb/JSONModel/issues/376","id":150634299,"user":{"login":"dbachrach","id":45016,"avatar_url":"https://avatars.githubusercontent.com/u/45016?v=3","gravatar_id":"","url":"https://api.github.com/users/dbachrach","html_url":"https://github.com/dbachrach","followers_url":"https://api.github.com/users/dbachrach/followers","following_url":"https://api.github.com/users/dbachrach/following{/other_user}","gists_url":"https://api.github.com/users/dbachrach/gists{/gist_id}","starred_url":"https://api.github.com/users/dbachrach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbachrach/subscriptions","organizations_url":"https://api.github.com/users/dbachrach/orgs","repos_url":"https://api.github.com/users/dbachrach/repos","events_url":"https://api.github.com/users/dbachrach/events{/privacy}","received_events_url":"https://api.github.com/users/dbachrach/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T17:02:53Z","updated_at":"2015-10-23T17:02:53Z","body":"Yeah, the objc generics implementation does not persist data at runtime, so it's not usable to JSONModel. "}}