{"action":"created","issue":{"url":"https://api.github.com/repos/xmartlabs/Eureka/issues/634","repository_url":"https://api.github.com/repos/xmartlabs/Eureka","labels_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/634/labels{/name}","comments_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/634/comments","events_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/634/events","html_url":"https://github.com/xmartlabs/Eureka/issues/634","id":174395321,"number":634,"title":"How to remove entire section","user":{"login":"moyoteg","id":574112,"avatar_url":"https://avatars.githubusercontent.com/u/574112?v=3","gravatar_id":"","url":"https://api.github.com/users/moyoteg","html_url":"https://github.com/moyoteg","followers_url":"https://api.github.com/users/moyoteg/followers","following_url":"https://api.github.com/users/moyoteg/following{/other_user}","gists_url":"https://api.github.com/users/moyoteg/gists{/gist_id}","starred_url":"https://api.github.com/users/moyoteg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moyoteg/subscriptions","organizations_url":"https://api.github.com/users/moyoteg/orgs","repos_url":"https://api.github.com/users/moyoteg/repos","events_url":"https://api.github.com/users/moyoteg/events{/privacy}","received_events_url":"https://api.github.com/users/moyoteg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-31T22:34:18Z","updated_at":"2016-09-01T16:39:43Z","closed_at":null,"body":"I am trying to make it so I can add or remove players which means I need to add and remove sections.\r\n\r\n<img width=\"708\" alt=\"screen shot 2016-08-31 at 4 06 54 pm\" src=\"https://cloud.githubusercontent.com/assets/574112/18148245/b0624b32-6f95-11e6-8bc3-e9bb4e0d6370.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/xmartlabs/Eureka/issues/comments/244137959","html_url":"https://github.com/xmartlabs/Eureka/issues/634#issuecomment-244137959","issue_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/634","id":244137959,"user":{"login":"moyoteg","id":574112,"avatar_url":"https://avatars.githubusercontent.com/u/574112?v=3","gravatar_id":"","url":"https://api.github.com/users/moyoteg","html_url":"https://github.com/moyoteg","followers_url":"https://api.github.com/users/moyoteg/followers","following_url":"https://api.github.com/users/moyoteg/following{/other_user}","gists_url":"https://api.github.com/users/moyoteg/gists{/gist_id}","starred_url":"https://api.github.com/users/moyoteg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moyoteg/subscriptions","organizations_url":"https://api.github.com/users/moyoteg/orgs","repos_url":"https://api.github.com/users/moyoteg/repos","events_url":"https://api.github.com/users/moyoteg/events{/privacy}","received_events_url":"https://api.github.com/users/moyoteg/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T16:39:42Z","updated_at":"2016-09-01T16:39:42Z","body":"I found the solution =D\r\n\r\n### Like this:\r\n\r\n`{ (cell, row) in\t\t\t\t\t\t\r\n\t\tif let section = row.section {\t\t\r\nself.form.removeAtIndex(section.index!)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\trow.reload() // or row.updateCell()\t\r\n\t\t\t\t\t}`"}}
{"actor":{"display_login":"moyoteg"}}