{"action":"opened","issue":{"url":"https://api.github.com/repos/wishingsky/BubbleTransition-swift/issues/1","repository_url":"https://api.github.com/repos/wishingsky/BubbleTransition-swift","labels_url":"https://api.github.com/repos/wishingsky/BubbleTransition-swift/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wishingsky/BubbleTransition-swift/issues/1/comments","events_url":"https://api.github.com/repos/wishingsky/BubbleTransition-swift/issues/1/events","html_url":"https://github.com/wishingsky/BubbleTransition-swift/issues/1","id":154640498,"number":1,"title":"Reference Cycle","user":{"login":"liuduoios","id":11733634,"avatar_url":"https://avatars.githubusercontent.com/u/11733634?v=3","gravatar_id":"","url":"https://api.github.com/users/liuduoios","html_url":"https://github.com/liuduoios","followers_url":"https://api.github.com/users/liuduoios/followers","following_url":"https://api.github.com/users/liuduoios/following{/other_user}","gists_url":"https://api.github.com/users/liuduoios/gists{/gist_id}","starred_url":"https://api.github.com/users/liuduoios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuduoios/subscriptions","organizations_url":"https://api.github.com/users/liuduoios/orgs","repos_url":"https://api.github.com/users/liuduoios/repos","events_url":"https://api.github.com/users/liuduoios/events{/privacy}","received_events_url":"https://api.github.com/users/liuduoios/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-13T06:08:53Z","updated_at":"2016-05-13T06:08:53Z","closed_at":null,"body":"```\r\nfunc startAnimationWithBlock(block:(()->Void)) {\r\n    self.caAnimation?.delegate = self\r\n    self.complitionBlock = block;\r\n    \r\n    self.animLayer?.addAnimation(self.caAnimation!, forKey: \"anim\")\r\n}\r\n```\r\n\r\nBecause `CAAnimation`'s delegate is strong,\r\nSo `self.caAnimation?.delegate = self` result in reference cycle."}}