{"action":"created","issue":{"url":"https://api.github.com/repos/bang590/JSPatch/issues/265","repository_url":"https://api.github.com/repos/bang590/JSPatch","labels_url":"https://api.github.com/repos/bang590/JSPatch/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/bang590/JSPatch/issues/265/comments","events_url":"https://api.github.com/repos/bang590/JSPatch/issues/265/events","html_url":"https://github.com/bang590/JSPatch/issues/265","id":139860388,"number":265,"title":"请问如何在 block 中修改 NSArray（NSMutableArray）","user":{"login":"EggmanQi","id":1115746,"avatar_url":"https://avatars.githubusercontent.com/u/1115746?v=3","gravatar_id":"","url":"https://api.github.com/users/EggmanQi","html_url":"https://github.com/EggmanQi","followers_url":"https://api.github.com/users/EggmanQi/followers","following_url":"https://api.github.com/users/EggmanQi/following{/other_user}","gists_url":"https://api.github.com/users/EggmanQi/gists{/gist_id}","starred_url":"https://api.github.com/users/EggmanQi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EggmanQi/subscriptions","organizations_url":"https://api.github.com/users/EggmanQi/orgs","repos_url":"https://api.github.com/users/EggmanQi/repos","events_url":"https://api.github.com/users/EggmanQi/events{/privacy}","received_events_url":"https://api.github.com/users/EggmanQi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-10T11:26:11Z","updated_at":"2016-03-11T08:33:13Z","closed_at":null,"body":"self.mArray(dataSource) \r\n直接写入这样会导致奔溃\r\n\r\nvar arr =  NSMutableArray.alloc().initWithArray(dataSource) \r\nvar jsArr =  arr.toJS()\r\nself.mArray(jsArr)\r\n这样也不行\r\n\r\n求救求救~"},"comment":{"url":"https://api.github.com/repos/bang590/JSPatch/issues/comments/195256561","html_url":"https://github.com/bang590/JSPatch/issues/265#issuecomment-195256561","issue_url":"https://api.github.com/repos/bang590/JSPatch/issues/265","id":195256561,"user":{"login":"ArlenKou","id":8316163,"avatar_url":"https://avatars.githubusercontent.com/u/8316163?v=3","gravatar_id":"","url":"https://api.github.com/users/ArlenKou","html_url":"https://github.com/ArlenKou","followers_url":"https://api.github.com/users/ArlenKou/followers","following_url":"https://api.github.com/users/ArlenKou/following{/other_user}","gists_url":"https://api.github.com/users/ArlenKou/gists{/gist_id}","starred_url":"https://api.github.com/users/ArlenKou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArlenKou/subscriptions","organizations_url":"https://api.github.com/users/ArlenKou/orgs","repos_url":"https://api.github.com/users/ArlenKou/repos","events_url":"https://api.github.com/users/ArlenKou/events{/privacy}","received_events_url":"https://api.github.com/users/ArlenKou/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T08:33:13Z","updated_at":"2016-03-11T08:33:13Z","body":"可以贴一下mArray函数和block的代码么？"}}