{"action":"created","issue":{"url":"https://api.github.com/repos/WenchaoIOS/FSCalendar/issues/116","labels_url":"https://api.github.com/repos/WenchaoIOS/FSCalendar/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/WenchaoIOS/FSCalendar/issues/116/comments","events_url":"https://api.github.com/repos/WenchaoIOS/FSCalendar/issues/116/events","html_url":"https://github.com/WenchaoIOS/FSCalendar/issues/116","id":110666515,"number":116,"title":"Cell Border with Color.","user":{"login":"IsHass","id":8446961,"avatar_url":"https://avatars.githubusercontent.com/u/8446961?v=3","gravatar_id":"","url":"https://api.github.com/users/IsHass","html_url":"https://github.com/IsHass","followers_url":"https://api.github.com/users/IsHass/followers","following_url":"https://api.github.com/users/IsHass/following{/other_user}","gists_url":"https://api.github.com/users/IsHass/gists{/gist_id}","starred_url":"https://api.github.com/users/IsHass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IsHass/subscriptions","organizations_url":"https://api.github.com/users/IsHass/orgs","repos_url":"https://api.github.com/users/IsHass/repos","events_url":"https://api.github.com/users/IsHass/events{/privacy}","received_events_url":"https://api.github.com/users/IsHass/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-09T14:09:23Z","updated_at":"2015-10-09T14:52:27Z","closed_at":null,"body":"Hi @WenchaoIOS \r\nI want to show the cells with event to have borders with different colors. I did it before by modfing the background layer of the cell. but it's not the right way to do it as updating overrode my changes. We already talked about it before and you advised me to use the cell image to do that.\r\nI tried to return an image containing the border, but it has some problems. \r\n1. I couldn't figure out the exact size for the image (my app is universal). \r\n2. The day number is not centered insid the border as the image alignment to the bottom. \r\n3. When I change the orientation. the border frame is totaly missed up.\r\nSomething like that is what I want to achieve.\r\n![screen shot 2015-07-14 at 15 46 09](https://cloud.githubusercontent.com/assets/8446961/10395697/479d959e-6e96-11e5-95c0-8f69fefbfb05.png)\r\n\r\nBTW, I have seen  @areslui  Project and it's a very close to what I want to do.\r\n![Image of Yaktocat](https://cloud.githubusercontent.com/assets/12028247/9655720/c8c9570e-5265-11e5-9e57-9de8c94e7263.png)\r\n\r\nIs there any change to create a delegate mothod to allow apply chages to the cell layer? \r\nor do you suggest any other way to achieve this?\r\n\r\nThank you. \r\n"},"comment":{"url":"https://api.github.com/repos/WenchaoIOS/FSCalendar/issues/comments/146894187","html_url":"https://github.com/WenchaoIOS/FSCalendar/issues/116#issuecomment-146894187","issue_url":"https://api.github.com/repos/WenchaoIOS/FSCalendar/issues/116","id":146894187,"user":{"login":"WenchaoIOS","id":5186464,"avatar_url":"https://avatars.githubusercontent.com/u/5186464?v=3","gravatar_id":"","url":"https://api.github.com/users/WenchaoIOS","html_url":"https://github.com/WenchaoIOS","followers_url":"https://api.github.com/users/WenchaoIOS/followers","following_url":"https://api.github.com/users/WenchaoIOS/following{/other_user}","gists_url":"https://api.github.com/users/WenchaoIOS/gists{/gist_id}","starred_url":"https://api.github.com/users/WenchaoIOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WenchaoIOS/subscriptions","organizations_url":"https://api.github.com/users/WenchaoIOS/orgs","repos_url":"https://api.github.com/users/WenchaoIOS/repos","events_url":"https://api.github.com/users/WenchaoIOS/events{/privacy}","received_events_url":"https://api.github.com/users/WenchaoIOS/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T14:52:27Z","updated_at":"2015-10-09T14:52:27Z","body":"How about this:\r\n\r\n```objective-c\r\n- (UIView *)calendar:(FSCalendar *)calendar backgroundViewForDate:(NSDate *)date;\r\n```\r\n\r\nThe only thing I'm worried about is the scrolling performance if we ask for new instance of view many times."}}