{"issue":{"created_at":"2011-11-14T07:31:16Z","state":"open","updated_at":"2011-11-27T01:33:30Z","user":{"gravatar_id":"e1c18882d61f5594e021d534e1a29be3","id":1085106,"url":"https://api.github.com/users/pip8786","login":"pip8786","avatar_url":"https://secure.gravatar.com/avatar/e1c18882d61f5594e021d534e1a29be3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"My VectorLayer object has an ordered to-many relationship to VectorStroke named strokes. I cannot seem to add a VectorStroke to my VectorLayer without it crashing.\r\n\r\nI've tried adding a VectorStroke to the VectorLayer directly with the following results:\r\n[vectorLayer addStrokesObject:vectorStroke];\r\n\r\n*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSSet intersectsSet:]: set argument is not an NSSet'\r\n\r\nAnd I've tried using the strokesSet property and got the following results:\r\n[vectorLayer.strokesSet addObject:vectorStroke];\r\n\r\n*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'NSManagedObjects of entity 'VectorLayer' do not support -mutableSetValueForKey: for the property 'strokes''\r\n\r\nAm I doing something wrong or is this a bug?","assignee":null,"number":75,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2227796,"labels":[],"title":"Can't add object to ordered set","html_url":"https://github.com/rentzsch/mogenerator/issues/75","closed_at":null,"milestone":null,"url":"https://api.github.com/repos/rentzsch/mogenerator/issues/75"},"action":"created","comment":{"created_at":"2011-11-27T01:33:30Z","updated_at":"2011-11-27T01:33:30Z","user":{"gravatar_id":"32b9484a7a9c2d4c347a1dae9db3d1fe","id":1222719,"url":"https://api.github.com/users/rolandking","login":"rolandking","avatar_url":"https://secure.gravatar.com/avatar/32b9484a7a9c2d4c347a1dae9db3d1fe?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Yes that looks like it would work. You can use a command-line argument to point to your own set of files, or you can replace the ones in Library/Application Support/mogenerator (although I wouldn't suggest that). ","id":2885139,"url":"https://api.github.com/repos/rentzsch/mogenerator/issues/comments/2885139"}}