{"action":"created","issue":{"url":"https://api.github.com/repos/liuzhiyi1992/ZYCornerRadius/issues/22","repository_url":"https://api.github.com/repos/liuzhiyi1992/ZYCornerRadius","labels_url":"https://api.github.com/repos/liuzhiyi1992/ZYCornerRadius/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/liuzhiyi1992/ZYCornerRadius/issues/22/comments","events_url":"https://api.github.com/repos/liuzhiyi1992/ZYCornerRadius/issues/22/events","html_url":"https://github.com/liuzhiyi1992/ZYCornerRadius/issues/22","id":184142528,"number":22,"title":"用了之后发现更耗内存了是正常现象吗？","user":{"login":"lqcjdx","id":5499434,"avatar_url":"https://avatars.githubusercontent.com/u/5499434?v=3","gravatar_id":"","url":"https://api.github.com/users/lqcjdx","html_url":"https://github.com/lqcjdx","followers_url":"https://api.github.com/users/lqcjdx/followers","following_url":"https://api.github.com/users/lqcjdx/following{/other_user}","gists_url":"https://api.github.com/users/lqcjdx/gists{/gist_id}","starred_url":"https://api.github.com/users/lqcjdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lqcjdx/subscriptions","organizations_url":"https://api.github.com/users/lqcjdx/orgs","repos_url":"https://api.github.com/users/lqcjdx/repos","events_url":"https://api.github.com/users/lqcjdx/events{/privacy}","received_events_url":"https://api.github.com/users/lqcjdx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-20T06:05:42Z","updated_at":"2016-10-21T03:26:08Z","closed_at":null,"body":"你好，我有一个列表页面，每个Cell里面有一个UIImageView，用的Masonry布局，在模拟器上测试的。\r\n当我用：\r\n\r\n```\r\n_logoView.layer.borderWidth = 0.5f;\r\n_logoView.layer.borderColor = HEXCOLOR(0xdddddd).CGColor;\r\n_logoView.layer.cornerRadius = 3;\r\n_logoView.layer.masksToBounds = YES;\r\n```\r\n的情况下，等页面全部加载完毕，内存不再变化的时候显示的是56.3MB。\r\n当我用：\r\n```\r\n[_logoView zy_cornerRadiusAdvance:3 rectCornerType:UIRectCornerAllCorners];\r\n[_logoView zy_attachBorderWidth:0.5 color:HEXCOLOR(0xdddddd)];\r\n```\r\n的情况下，等页面全部加载完毕，内存不再变化的时候显示的是60.7MB。\r\n\r\n而且每次运行跑起来对比，都是使用你的这个方法比使用cornerRadius和masksToBounds方法更消耗内存一点，这个属于正常现象吗？"},"comment":{"url":"https://api.github.com/repos/liuzhiyi1992/ZYCornerRadius/issues/comments/255284973","html_url":"https://github.com/liuzhiyi1992/ZYCornerRadius/issues/22#issuecomment-255284973","issue_url":"https://api.github.com/repos/liuzhiyi1992/ZYCornerRadius/issues/22","id":255284973,"user":{"login":"liuzhiyi1992","id":13046550,"avatar_url":"https://avatars.githubusercontent.com/u/13046550?v=3","gravatar_id":"","url":"https://api.github.com/users/liuzhiyi1992","html_url":"https://github.com/liuzhiyi1992","followers_url":"https://api.github.com/users/liuzhiyi1992/followers","following_url":"https://api.github.com/users/liuzhiyi1992/following{/other_user}","gists_url":"https://api.github.com/users/liuzhiyi1992/gists{/gist_id}","starred_url":"https://api.github.com/users/liuzhiyi1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuzhiyi1992/subscriptions","organizations_url":"https://api.github.com/users/liuzhiyi1992/orgs","repos_url":"https://api.github.com/users/liuzhiyi1992/repos","events_url":"https://api.github.com/users/liuzhiyi1992/events{/privacy}","received_events_url":"https://api.github.com/users/liuzhiyi1992/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T03:26:08Z","updated_at":"2016-10-21T03:26:08Z","body":"![image](https://cloud.githubusercontent.com/assets/13046550/19585684/132891fa-9781-11e6-9806-f5c78b4fe39e.png)\r\n这个是老版本的内存检测数据，目前版本我抽空再检查下"}}
{"actor":{"display_login":"liuzhiyi1992"}}