{"action":"created","issue":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1331","labels_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1331/labels{/name}","comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1331/comments","events_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1331/events","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/1331","id":119593789,"number":1331,"title":"Add attributedTextForCellTopLabelAtIndexPath when there are no messages?","user":{"login":"cerupcat","id":204151,"avatar_url":"https://avatars.githubusercontent.com/u/204151?v=3","gravatar_id":"","url":"https://api.github.com/users/cerupcat","html_url":"https://github.com/cerupcat","followers_url":"https://api.github.com/users/cerupcat/followers","following_url":"https://api.github.com/users/cerupcat/following{/other_user}","gists_url":"https://api.github.com/users/cerupcat/gists{/gist_id}","starred_url":"https://api.github.com/users/cerupcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerupcat/subscriptions","organizations_url":"https://api.github.com/users/cerupcat/orgs","repos_url":"https://api.github.com/users/cerupcat/repos","events_url":"https://api.github.com/users/cerupcat/events{/privacy}","received_events_url":"https://api.github.com/users/cerupcat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/labels/questions%20&%20help","name":"questions & help","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T22:18:00Z","updated_at":"2015-12-01T04:01:04Z","closed_at":"2015-12-01T04:01:04Z","body":"Is it possible to have an attributedTextForCellTopLabelAtIndexPath when there are no messages? I'm trying to show some default text when the state is empty and there are no messages. Is there a built in way to do this? "},"comment":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/comments/160845267","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/1331#issuecomment-160845267","issue_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1331","id":160845267,"user":{"login":"jessesquires","id":2301114,"avatar_url":"https://avatars.githubusercontent.com/u/2301114?v=3","gravatar_id":"","url":"https://api.github.com/users/jessesquires","html_url":"https://github.com/jessesquires","followers_url":"https://api.github.com/users/jessesquires/followers","following_url":"https://api.github.com/users/jessesquires/following{/other_user}","gists_url":"https://api.github.com/users/jessesquires/gists{/gist_id}","starred_url":"https://api.github.com/users/jessesquires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessesquires/subscriptions","organizations_url":"https://api.github.com/users/jessesquires/orgs","repos_url":"https://api.github.com/users/jessesquires/repos","events_url":"https://api.github.com/users/jessesquires/events{/privacy}","received_events_url":"https://api.github.com/users/jessesquires/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T04:01:04Z","updated_at":"2015-12-01T04:01:04Z","body":"Hey @cerupcat :smile:  \r\n\r\nThere's no built-in way to do this in the library. It's left up to the client.\r\n\r\nYou could:\r\n\r\n1. Add a header view to the collection view\r\n2. Add a completely new UIView for your \"empty state\" view"}}