{"action":"created","issue":{"url":"https://api.github.com/repos/xmartlabs/XLForm/issues/879","repository_url":"https://api.github.com/repos/xmartlabs/XLForm","labels_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/879/labels{/name}","comments_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/879/comments","events_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/879/events","html_url":"https://github.com/xmartlabs/XLForm/issues/879","id":181322647,"number":879,"title":"How to play custom animation inside a cell when the row value changed?","user":{"login":"fans3210","id":6023208,"avatar_url":"https://avatars.githubusercontent.com/u/6023208?v=3","gravatar_id":"","url":"https://api.github.com/users/fans3210","html_url":"https://github.com/fans3210","followers_url":"https://api.github.com/users/fans3210/followers","following_url":"https://api.github.com/users/fans3210/following{/other_user}","gists_url":"https://api.github.com/users/fans3210/gists{/gist_id}","starred_url":"https://api.github.com/users/fans3210/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fans3210/subscriptions","organizations_url":"https://api.github.com/users/fans3210/orgs","repos_url":"https://api.github.com/users/fans3210/repos","events_url":"https://api.github.com/users/fans3210/events{/privacy}","received_events_url":"https://api.github.com/users/fans3210/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-06T04:35:03Z","updated_at":"2016-10-18T12:52:06Z","closed_at":null,"body":"Eg: to animate a uiswitch on/off when the row value changed. \r\n\r\nCurrently I cannot access the cell in the viewcontroller. The only way I can get the cell instance is in 'updateformrow' method. However, when I want to call the method of my customized cell to on/off the uiswitch with animation, the result is not what I want. The switch did on/off but without any animation\r\n"},"comment":{"url":"https://api.github.com/repos/xmartlabs/XLForm/issues/comments/254497342","html_url":"https://github.com/xmartlabs/XLForm/issues/879#issuecomment-254497342","issue_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/879","id":254497342,"user":{"login":"mats-claassen","id":8573865,"avatar_url":"https://avatars.githubusercontent.com/u/8573865?v=3","gravatar_id":"","url":"https://api.github.com/users/mats-claassen","html_url":"https://github.com/mats-claassen","followers_url":"https://api.github.com/users/mats-claassen/followers","following_url":"https://api.github.com/users/mats-claassen/following{/other_user}","gists_url":"https://api.github.com/users/mats-claassen/gists{/gist_id}","starred_url":"https://api.github.com/users/mats-claassen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mats-claassen/subscriptions","organizations_url":"https://api.github.com/users/mats-claassen/orgs","repos_url":"https://api.github.com/users/mats-claassen/repos","events_url":"https://api.github.com/users/mats-claassen/events{/privacy}","received_events_url":"https://api.github.com/users/mats-claassen/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T12:52:06Z","updated_at":"2016-10-18T12:52:06Z","body":"If you use `XLFormSwitchCell` then the switch will be set to `on` or `off` in theupdate method and you cannot animate that. You can [create a custom row](https://github.com/xmartlabs/XLForm#how-to-create-a-custom-row) to do it animated.\r\n\r\nYou might also try with the `onChangeBlock` which is called when the value of the row changes."}}
{"actor":{"display_login":"mats-claassen"}}