{"action":"created","issue":{"url":"https://api.github.com/repos/DavdRoman/Bohr/issues/18","labels_url":"https://api.github.com/repos/DavdRoman/Bohr/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/DavdRoman/Bohr/issues/18/comments","events_url":"https://api.github.com/repos/DavdRoman/Bohr/issues/18/events","html_url":"https://github.com/DavdRoman/Bohr/issues/18","id":105362871,"number":18,"title":"Support \"dynamic\" options","user":{"login":"garnett","id":829783,"avatar_url":"https://avatars.githubusercontent.com/u/829783?v=3","gravatar_id":"","url":"https://api.github.com/users/garnett","html_url":"https://github.com/garnett","followers_url":"https://api.github.com/users/garnett/followers","following_url":"https://api.github.com/users/garnett/following{/other_user}","gists_url":"https://api.github.com/users/garnett/gists{/gist_id}","starred_url":"https://api.github.com/users/garnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garnett/subscriptions","organizations_url":"https://api.github.com/users/garnett/orgs","repos_url":"https://api.github.com/users/garnett/repos","events_url":"https://api.github.com/users/garnett/events{/privacy}","received_events_url":"https://api.github.com/users/garnett/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DavdRoman/Bohr/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-08T11:51:58Z","updated_at":"2015-09-08T23:23:36Z","closed_at":null,"body":"Use case:\r\n\r\n1. There is a option called \"Custom endpoint\"\r\n2. Switching it to `on` uncovers one more option below: \"URL\"\r\n\r\nI have some ideas how implement that in a nice way, now I have a flag in my viewController:\r\n\r\n```\r\n        if (self.flag) {\r\n            [section addCell:[BODateTableViewCell cellWithTitle:@\"url\" key:@\"url\" handler:nil]];\r\n        }\r\n``` \r\n\r\nrebuilding list is done by:\r\n```\r\n[self setup];\r\n[self.tableView reloadData];\r\n```\r\n\r\nI have some ideas how to do it in more declarative way, and ready to discuss them if you think it's worthy to have this feature."},"comment":{"url":"https://api.github.com/repos/DavdRoman/Bohr/issues/comments/138729770","html_url":"https://github.com/DavdRoman/Bohr/issues/18#issuecomment-138729770","issue_url":"https://api.github.com/repos/DavdRoman/Bohr/issues/18","id":138729770,"user":{"login":"DavdRoman","id":2538074,"avatar_url":"https://avatars.githubusercontent.com/u/2538074?v=3","gravatar_id":"","url":"https://api.github.com/users/DavdRoman","html_url":"https://github.com/DavdRoman","followers_url":"https://api.github.com/users/DavdRoman/followers","following_url":"https://api.github.com/users/DavdRoman/following{/other_user}","gists_url":"https://api.github.com/users/DavdRoman/gists{/gist_id}","starred_url":"https://api.github.com/users/DavdRoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavdRoman/subscriptions","organizations_url":"https://api.github.com/users/DavdRoman/orgs","repos_url":"https://api.github.com/users/DavdRoman/repos","events_url":"https://api.github.com/users/DavdRoman/events{/privacy}","received_events_url":"https://api.github.com/users/DavdRoman/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T23:23:36Z","updated_at":"2015-09-08T23:23:36Z","body":"@garnett that sounds super clever. I'm definitely into that method :+1: \r\n\r\nWe could make it even more magical if we found a way to automatically determine if reloading is necessary or not depending on which setting each cell depends on. I'll think about a way to achieve that."}}