{"action":"created","issue":{"url":"https://api.github.com/repos/xmartlabs/Eureka/issues/147","repository_url":"https://api.github.com/repos/xmartlabs/Eureka","labels_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/147/comments","events_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/147/events","html_url":"https://github.com/xmartlabs/Eureka/issues/147","id":123824252,"number":147,"title":"Transfer data with segue","user":{"login":"jonhsnow","id":16374609,"avatar_url":"https://avatars.githubusercontent.com/u/16374609?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhsnow","html_url":"https://github.com/jonhsnow","followers_url":"https://api.github.com/users/jonhsnow/followers","following_url":"https://api.github.com/users/jonhsnow/following{/other_user}","gists_url":"https://api.github.com/users/jonhsnow/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhsnow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhsnow/subscriptions","organizations_url":"https://api.github.com/users/jonhsnow/orgs","repos_url":"https://api.github.com/users/jonhsnow/repos","events_url":"https://api.github.com/users/jonhsnow/events{/privacy}","received_events_url":"https://api.github.com/users/jonhsnow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xmartlabs/Eureka/labels/row:%20ButtonRow","name":"row: ButtonRow","color":"5319e7"},{"url":"https://api.github.com/repos/xmartlabs/Eureka/labels/type:%20question","name":"type: question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"mtnbarreto","id":1746532,"avatar_url":"https://avatars.githubusercontent.com/u/1746532?v=3","gravatar_id":"","url":"https://api.github.com/users/mtnbarreto","html_url":"https://github.com/mtnbarreto","followers_url":"https://api.github.com/users/mtnbarreto/followers","following_url":"https://api.github.com/users/mtnbarreto/following{/other_user}","gists_url":"https://api.github.com/users/mtnbarreto/gists{/gist_id}","starred_url":"https://api.github.com/users/mtnbarreto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtnbarreto/subscriptions","organizations_url":"https://api.github.com/users/mtnbarreto/orgs","repos_url":"https://api.github.com/users/mtnbarreto/repos","events_url":"https://api.github.com/users/mtnbarreto/events{/privacy}","received_events_url":"https://api.github.com/users/mtnbarreto/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-12-24T17:56:30Z","updated_at":"2016-05-16T18:11:37Z","closed_at":"2016-05-16T18:11:37Z","body":"How to transfer some data with segue?\r\nFor example with 2 rows different data\r\n```\r\n<<< ButtonRow(\"Demo1\") {\r\n    $0.title = $0.tag\r\n    $0.presentationMode = .SegueName(segueName: \"RowsExampleViewControllerSegue\", completionCallback: nil)\r\n      }\r\n\r\n<<< ButtonRow(\"Demo2\") {\r\n    $0.title = $0.tag\r\n    $0.presentationMode = .SegueName(segueName: \"RowsExampleViewControllerSegue\", completionCallback: nil)\r\n      }\r\n```"},"comment":{"url":"https://api.github.com/repos/xmartlabs/Eureka/issues/comments/219500670","html_url":"https://github.com/xmartlabs/Eureka/issues/147#issuecomment-219500670","issue_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/147","id":219500670,"user":{"login":"mtnbarreto","id":1746532,"avatar_url":"https://avatars.githubusercontent.com/u/1746532?v=3","gravatar_id":"","url":"https://api.github.com/users/mtnbarreto","html_url":"https://github.com/mtnbarreto","followers_url":"https://api.github.com/users/mtnbarreto/followers","following_url":"https://api.github.com/users/mtnbarreto/following{/other_user}","gists_url":"https://api.github.com/users/mtnbarreto/gists{/gist_id}","starred_url":"https://api.github.com/users/mtnbarreto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtnbarreto/subscriptions","organizations_url":"https://api.github.com/users/mtnbarreto/orgs","repos_url":"https://api.github.com/users/mtnbarreto/repos","events_url":"https://api.github.com/users/mtnbarreto/events{/privacy}","received_events_url":"https://api.github.com/users/mtnbarreto/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T18:11:37Z","updated_at":"2016-05-16T18:11:37Z","body":"You can also use this row...\r\n```swift\r\npublic final class ButtonRowWithPresent<T: Equatable, VCType: TypedRowControllerType where VCType: UIViewController, VCType.RowValue == T> : _ButtonRowWithPresent<T, VCType>, RowType {\r\n    public required init(tag: String?) {\r\n        super.init(tag: tag)\r\n    }\r\n}\r\n```\r\n\r\nthen set up `onPresent` callback...\r\n\r\n```swift\r\n.onPresent { from, to in\r\n     // to.myVariable = myVariableValue\r\n}\r\n```"}}