{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/980","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/980/labels{/name}","comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/980/comments","events_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/980/events","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/980","id":123686093,"number":980,"title":"[ASCellNode] shadowRadius + shadowColor doesn't appear to work for CollectionCell nodes","user":{"login":"fatuhoku","id":430233,"avatar_url":"https://avatars.githubusercontent.com/u/430233?v=3","gravatar_id":"","url":"https://api.github.com/users/fatuhoku","html_url":"https://github.com/fatuhoku","followers_url":"https://api.github.com/users/fatuhoku/followers","following_url":"https://api.github.com/users/fatuhoku/following{/other_user}","gists_url":"https://api.github.com/users/fatuhoku/gists{/gist_id}","starred_url":"https://api.github.com/users/fatuhoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatuhoku/subscriptions","organizations_url":"https://api.github.com/users/fatuhoku/orgs","repos_url":"https://api.github.com/users/fatuhoku/repos","events_url":"https://api.github.com/users/fatuhoku/events{/privacy}","received_events_url":"https://api.github.com/users/fatuhoku/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-23T16:23:29Z","updated_at":"2016-01-11T13:58:28Z","closed_at":"2016-01-11T13:58:28Z","body":"I can't seem to draw shadows for `ASCellNode`s.\r\n\r\nMy first stab: I ran `CustomCollectionView`, and modified `[ImageCellNode initWithImage:] ` thus:\r\n\r\n```objc\r\n- (id)initWithImage:(UIImage *)image\r\n{\r\n  self = [super init];\r\n  if (self != nil) {\r\n    _imageNode = [[ASImageNode alloc] init];\r\n    _imageNode.image = image;\r\n\r\n    [self addSubnode:_imageNode];\r\n    \r\n    // both `self.layer.` and `self.` fails to draw a shadow.\r\n    self.layer.shadowRadius = 20.f;\r\n    self.layer.shadowColor = [UIColor blackColor].CGColor;\r\n    self.layer.shadowOffset = CGSizeMake(0, 1.f);\r\n  }\r\n  return self;\r\n}\r\n```\r\n\r\nNo shadow drawn.\r\n\r\nI have `UICollectionViewCell`s that draw their shadows with `layer` this way. ASDK doesn't seem to match this behaviour, despite Nodes supposedly being drop-in-replacements."}}