{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/152","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/152/comments","events_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/152/events","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/152","id":51754078,"number":152,"title":"Consider providing an ASLabelNode.","user":{"login":"secretiverhyme","id":735630,"avatar_url":"https://avatars.githubusercontent.com/u/735630?v=3","gravatar_id":"","url":"https://api.github.com/users/secretiverhyme","html_url":"https://github.com/secretiverhyme","followers_url":"https://api.github.com/users/secretiverhyme/followers","following_url":"https://api.github.com/users/secretiverhyme/following{/other_user}","gists_url":"https://api.github.com/users/secretiverhyme/gists{/gist_id}","starred_url":"https://api.github.com/users/secretiverhyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/secretiverhyme/subscriptions","organizations_url":"https://api.github.com/users/secretiverhyme/orgs","repos_url":"https://api.github.com/users/secretiverhyme/repos","events_url":"https://api.github.com/users/secretiverhyme/events{/privacy}","received_events_url":"https://api.github.com/users/secretiverhyme/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/labels/feature%20%E2%80%94%20major","name":"feature — major","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-12-11T23:49:10Z","updated_at":"2015-11-01T03:40:30Z","closed_at":null,"body":"ASTextNode's `attributedString` API is overkill for a simple, uniformly-styled label.  Consider—\r\n\r\n```objective-c\r\nASLabelNode *label = [[ASLabelNode alloc] init];\r\nlabel.textColor = [UIColor grayColor];\r\nlabel.font = [UIFont systemFontOfSize:12.0f];\r\nlabel.text = @\"hello\";\r\n```\r\n\r\n—versus—\r\n\r\n```objective-c\r\nASTextNode *label = [[ASTextNode alloc] init];\r\nNSDictionary *attributes = @{ NSForegroundColorAttributeName: [UIColor grayColor],\r\n                                         NSFontAttributeName: [UIFont systemFontOfSize:12.0f] };\r\nNSAttributedString *attributedString = [[NSAttributedString alloc] initWithString:@\"hello\"\r\n                                                                       attributes:attributes];\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/comments/152791662","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/152#issuecomment-152791662","issue_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/152","id":152791662,"user":{"login":"appleguy","id":565251,"avatar_url":"https://avatars.githubusercontent.com/u/565251?v=3","gravatar_id":"","url":"https://api.github.com/users/appleguy","html_url":"https://github.com/appleguy","followers_url":"https://api.github.com/users/appleguy/followers","following_url":"https://api.github.com/users/appleguy/following{/other_user}","gists_url":"https://api.github.com/users/appleguy/gists{/gist_id}","starred_url":"https://api.github.com/users/appleguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appleguy/subscriptions","organizations_url":"https://api.github.com/users/appleguy/orgs","repos_url":"https://api.github.com/users/appleguy/repos","events_url":"https://api.github.com/users/appleguy/events{/privacy}","received_events_url":"https://api.github.com/users/appleguy/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T03:40:30Z","updated_at":"2015-11-01T03:40:30Z","body":"Let's make sure to adopt the improved text rendering engine from CK (which is an evolution of the ASDK renderer) before doing this."}}