{"action":"created","issue":{"url":"https://api.github.com/repos/ViewDeck/ViewDeck/issues/411","labels_url":"https://api.github.com/repos/ViewDeck/ViewDeck/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/ViewDeck/ViewDeck/issues/411/comments","events_url":"https://api.github.com/repos/ViewDeck/ViewDeck/issues/411/events","html_url":"https://github.com/ViewDeck/ViewDeck/issues/411","id":16073068,"number":411,"title":"Unable to set custom shadow","user":{"login":"eliOcs","id":1283954,"avatar_url":"https://avatars.githubusercontent.com/u/1283954?v=3","gravatar_id":"","url":"https://api.github.com/users/eliOcs","html_url":"https://github.com/eliOcs","followers_url":"https://api.github.com/users/eliOcs/followers","following_url":"https://api.github.com/users/eliOcs/following{/other_user}","gists_url":"https://api.github.com/users/eliOcs/gists{/gist_id}","starred_url":"https://api.github.com/users/eliOcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliOcs/subscriptions","organizations_url":"https://api.github.com/users/eliOcs/orgs","repos_url":"https://api.github.com/users/eliOcs/repos","events_url":"https://api.github.com/users/eliOcs/events{/privacy}","received_events_url":"https://api.github.com/users/eliOcs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-06-27T07:42:03Z","updated_at":"2015-11-07T10:22:18Z","closed_at":"2015-11-07T10:22:18Z","body":"I'm trying to set a custom shadow using the provided documentation example, but, when I set the shadow delegate the shadow disappears. I have the version `2.3.1` of ViewDeck installed using cocoapods.\r\nMy `IIViewDeckController` subclass implements the `IIViewDeckDelegate` to provide the custom shadow parameters:\r\n\r\n    #import \"KLBInitialViewController.h\"\r\n    #import <QuartzCore/QuartzCore.h>\r\n\r\n    @interface KLBInitialViewController ()\r\n\r\n    @end\r\n\r\n    @implementation KLBInitialViewController\r\n\r\n    - (id)initWithCoder:(NSCoder *)aDecoder\r\n    {\r\n        UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@\"mini-iphone\" bundle:nil];\r\n        self = [super initWithCenterViewController:[storyboard instantiateViewControllerWithIdentifier:@\"stingsViewController\"]\r\n                                leftViewController:[storyboard instantiateViewControllerWithIdentifier:@\"coverViewController\"]];\r\n        if (self) {\r\n            // Add any extra init code here\r\n            self.delegate = self;\r\n        }\r\n        return self;\r\n    }\r\n\r\n    /*- (void)viewDeckController:(IIViewDeckController *)viewDeckController applyShadow:(CALayer *)shadowLayer withBounds:(CGRect)rect {\r\n        shadowLayer.masksToBounds = NO;\r\n        shadowLayer.shadowRadius = 5;\r\n        shadowLayer.shadowOpacity = 0.9;\r\n        shadowLayer.shadowColor = [[UIColor redColor] CGColor];\r\n        shadowLayer.shadowOffset = CGSizeZero;\r\n        shadowLayer.shadowPath = [UIBezierPath bezierPathWithRect:rect].CGPath;\r\n    }*/\r\n\r\nIf I comment the `viewDeckController:applyShadow:withBounds:` method the default shadow is shown but when I uncomment it **no** shadow appears.\r\n\r\nWhat can be affecting the shadow display?\r\nAny clues on where should I be looking while I debug to get more info on this issue?\r\n\r\nThanks, in advance."},"comment":{"url":"https://api.github.com/repos/ViewDeck/ViewDeck/issues/comments/154688904","html_url":"https://github.com/ViewDeck/ViewDeck/issues/411#issuecomment-154688904","issue_url":"https://api.github.com/repos/ViewDeck/ViewDeck/issues/411","id":154688904,"user":{"login":"michaelochs","id":1901926,"avatar_url":"https://avatars.githubusercontent.com/u/1901926?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelochs","html_url":"https://github.com/michaelochs","followers_url":"https://api.github.com/users/michaelochs/followers","following_url":"https://api.github.com/users/michaelochs/following{/other_user}","gists_url":"https://api.github.com/users/michaelochs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelochs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelochs/subscriptions","organizations_url":"https://api.github.com/users/michaelochs/orgs","repos_url":"https://api.github.com/users/michaelochs/repos","events_url":"https://api.github.com/users/michaelochs/events{/privacy}","received_events_url":"https://api.github.com/users/michaelochs/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T10:22:18Z","updated_at":"2015-11-07T10:22:18Z","body":"fixed in #502 "}}