{"action":"opened","issue":{"url":"https://api.github.com/repos/RoverPlatform/rover-campaigns-ios/issues/52","repository_url":"https://api.github.com/repos/RoverPlatform/rover-campaigns-ios","labels_url":"https://api.github.com/repos/RoverPlatform/rover-campaigns-ios/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/RoverPlatform/rover-campaigns-ios/issues/52/comments","events_url":"https://api.github.com/repos/RoverPlatform/rover-campaigns-ios/issues/52/events","html_url":"https://github.com/RoverPlatform/rover-campaigns-ios/issues/52","id":458206401,"node_id":"MDU6SXNzdWU0NTgyMDY0MDE=","number":52,"title":"Allow extending Notification Center with an empty state.","user":{"login":"orospakr","id":16714,"node_id":"MDQ6VXNlcjE2NzE0","avatar_url":"https://avatars1.githubusercontent.com/u/16714?v=4","gravatar_id":"","url":"https://api.github.com/users/orospakr","html_url":"https://github.com/orospakr","followers_url":"https://api.github.com/users/orospakr/followers","following_url":"https://api.github.com/users/orospakr/following{/other_user}","gists_url":"https://api.github.com/users/orospakr/gists{/gist_id}","starred_url":"https://api.github.com/users/orospakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orospakr/subscriptions","organizations_url":"https://api.github.com/users/orospakr/orgs","repos_url":"https://api.github.com/users/orospakr/repos","events_url":"https://api.github.com/users/orospakr/events{/privacy}","received_events_url":"https://api.github.com/users/orospakr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"orospakr","id":16714,"node_id":"MDQ6VXNlcjE2NzE0","avatar_url":"https://avatars1.githubusercontent.com/u/16714?v=4","gravatar_id":"","url":"https://api.github.com/users/orospakr","html_url":"https://github.com/orospakr","followers_url":"https://api.github.com/users/orospakr/followers","following_url":"https://api.github.com/users/orospakr/following{/other_user}","gists_url":"https://api.github.com/users/orospakr/gists{/gist_id}","starred_url":"https://api.github.com/users/orospakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orospakr/subscriptions","organizations_url":"https://api.github.com/users/orospakr/orgs","repos_url":"https://api.github.com/users/orospakr/repos","events_url":"https://api.github.com/users/orospakr/events{/privacy}","received_events_url":"https://api.github.com/users/orospakr/received_events","type":"User","site_admin":false},"assignees":[{"login":"orospakr","id":16714,"node_id":"MDQ6VXNlcjE2NzE0","avatar_url":"https://avatars1.githubusercontent.com/u/16714?v=4","gravatar_id":"","url":"https://api.github.com/users/orospakr","html_url":"https://github.com/orospakr","followers_url":"https://api.github.com/users/orospakr/followers","following_url":"https://api.github.com/users/orospakr/following{/other_user}","gists_url":"https://api.github.com/users/orospakr/gists{/gist_id}","starred_url":"https://api.github.com/users/orospakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orospakr/subscriptions","organizations_url":"https://api.github.com/users/orospakr/orgs","repos_url":"https://api.github.com/users/orospakr/repos","events_url":"https://api.github.com/users/orospakr/events{/privacy}","received_events_url":"https://api.github.com/users/orospakr/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/RoverPlatform/rover-campaigns-ios/milestones/5","html_url":"https://github.com/RoverPlatform/rover-campaigns-ios/milestone/5","labels_url":"https://api.github.com/repos/RoverPlatform/rover-campaigns-ios/milestones/5/labels","id":4380993,"node_id":"MDk6TWlsZXN0b25lNDM4MDk5Mw==","number":5,"title":"v3.1.0 (Campaigns SDK)","description":null,"creator":{"login":"orospakr","id":16714,"node_id":"MDQ6VXNlcjE2NzE0","avatar_url":"https://avatars1.githubusercontent.com/u/16714?v=4","gravatar_id":"","url":"https://api.github.com/users/orospakr","html_url":"https://github.com/orospakr","followers_url":"https://api.github.com/users/orospakr/followers","following_url":"https://api.github.com/users/orospakr/following{/other_user}","gists_url":"https://api.github.com/users/orospakr/gists{/gist_id}","starred_url":"https://api.github.com/users/orospakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orospakr/subscriptions","organizations_url":"https://api.github.com/users/orospakr/orgs","repos_url":"https://api.github.com/users/orospakr/repos","events_url":"https://api.github.com/users/orospakr/events{/privacy}","received_events_url":"https://api.github.com/users/orospakr/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2019-06-05T20:01:43Z","updated_at":"2019-06-19T20:15:55Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2019-06-19T20:15:55Z","updated_at":"2019-06-19T20:15:55Z","closed_at":null,"author_association":"COLLABORATOR","body":"Allow user to do something like this:\n\n```\n    override func reloadData() {\n       super.reloadData()\n       showEmptyState()\n    }\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        showEmptyState()\n    }\n\n    open func showEmptyState() {\n        if notifications.isEmpty {\n            let emptyView = UITextView()\n            emptyView.text = \"fdasf\\n\\n\\n\\n\\n\\n\\n\\nLol empty\"\n            self.tableView.backgroundView = emptyView\n        } else {\n            self.tableView.backgroundView = nil\n        }\n    }\n```"}}
{"actor":{"display_login":"orospakr"}}