{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/chirag04/react-native-dashed-border/pulls/3","id":40914968,"html_url":"https://github.com/chirag04/react-native-dashed-border/pull/3","diff_url":"https://github.com/chirag04/react-native-dashed-border/pull/3.diff","patch_url":"https://github.com/chirag04/react-native-dashed-border/pull/3.patch","issue_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/issues/3","number":3,"state":"closed","locked":false,"title":"fixed issue #2. added method to curve the dashed view","user":{"login":"alinz","id":967050,"avatar_url":"https://avatars.githubusercontent.com/u/967050?v=3","gravatar_id":"","url":"https://api.github.com/users/alinz","html_url":"https://github.com/alinz","followers_url":"https://api.github.com/users/alinz/followers","following_url":"https://api.github.com/users/alinz/following{/other_user}","gists_url":"https://api.github.com/users/alinz/gists{/gist_id}","starred_url":"https://api.github.com/users/alinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinz/subscriptions","organizations_url":"https://api.github.com/users/alinz/orgs","repos_url":"https://api.github.com/users/alinz/repos","events_url":"https://api.github.com/users/alinz/events{/privacy}","received_events_url":"https://api.github.com/users/alinz/received_events","type":"User","site_admin":false},"body":"@chirag04, So it turns out we are forcing the rectangle to draw. What I did was replace it with a proper method.\r\n\r\ninstead of this,\r\n```objective-c\r\n_border.path = [UIBezierPath bezierPathWithRect:self.bounds].CGPath\r\n```\r\n\r\nI replaced it with\r\n```objective-c\r\n_border.path = CGPathCreateRoundRect(self.bounds, self.borderRadius);\r\n```\r\n\r\n`CGPathCreateRoundRect` is a custom function which creates a proper curve coordinate.","created_at":"2015-07-27T15:23:00Z","updated_at":"2015-07-27T20:04:01Z","closed_at":"2015-07-27T20:04:01Z","merged_at":"2015-07-27T20:04:01Z","merge_commit_sha":"c4ea3b8ad94a495f95d8a13ae7650bba7bd8f8e9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/pulls/3/commits","review_comments_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/pulls/3/comments","review_comment_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/issues/3/comments","statuses_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/statuses/4532b3150b14150ae5944488b0c24020615d744f","head":{"label":"alinz:feature/issue#2","ref":"feature/issue#2","sha":"4532b3150b14150ae5944488b0c24020615d744f","user":{"login":"alinz","id":967050,"avatar_url":"https://avatars.githubusercontent.com/u/967050?v=3","gravatar_id":"","url":"https://api.github.com/users/alinz","html_url":"https://github.com/alinz","followers_url":"https://api.github.com/users/alinz/followers","following_url":"https://api.github.com/users/alinz/following{/other_user}","gists_url":"https://api.github.com/users/alinz/gists{/gist_id}","starred_url":"https://api.github.com/users/alinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinz/subscriptions","organizations_url":"https://api.github.com/users/alinz/orgs","repos_url":"https://api.github.com/users/alinz/repos","events_url":"https://api.github.com/users/alinz/events{/privacy}","received_events_url":"https://api.github.com/users/alinz/received_events","type":"User","site_admin":false},"repo":{"id":39781364,"name":"react-native-dashed-border","full_name":"alinz/react-native-dashed-border","owner":{"login":"alinz","id":967050,"avatar_url":"https://avatars.githubusercontent.com/u/967050?v=3","gravatar_id":"","url":"https://api.github.com/users/alinz","html_url":"https://github.com/alinz","followers_url":"https://api.github.com/users/alinz/followers","following_url":"https://api.github.com/users/alinz/following{/other_user}","gists_url":"https://api.github.com/users/alinz/gists{/gist_id}","starred_url":"https://api.github.com/users/alinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinz/subscriptions","organizations_url":"https://api.github.com/users/alinz/orgs","repos_url":"https://api.github.com/users/alinz/repos","events_url":"https://api.github.com/users/alinz/events{/privacy}","received_events_url":"https://api.github.com/users/alinz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alinz/react-native-dashed-border","description":"A <DashedBorder> element for react-native","fork":true,"url":"https://api.github.com/repos/alinz/react-native-dashed-border","forks_url":"https://api.github.com/repos/alinz/react-native-dashed-border/forks","keys_url":"https://api.github.com/repos/alinz/react-native-dashed-border/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alinz/react-native-dashed-border/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alinz/react-native-dashed-border/teams","hooks_url":"https://api.github.com/repos/alinz/react-native-dashed-border/hooks","issue_events_url":"https://api.github.com/repos/alinz/react-native-dashed-border/issues/events{/number}","events_url":"https://api.github.com/repos/alinz/react-native-dashed-border/events","assignees_url":"https://api.github.com/repos/alinz/react-native-dashed-border/assignees{/user}","branches_url":"https://api.github.com/repos/alinz/react-native-dashed-border/branches{/branch}","tags_url":"https://api.github.com/repos/alinz/react-native-dashed-border/tags","blobs_url":"https://api.github.com/repos/alinz/react-native-dashed-border/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alinz/react-native-dashed-border/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alinz/react-native-dashed-border/git/refs{/sha}","trees_url":"https://api.github.com/repos/alinz/react-native-dashed-border/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alinz/react-native-dashed-border/statuses/{sha}","languages_url":"https://api.github.com/repos/alinz/react-native-dashed-border/languages","stargazers_url":"https://api.github.com/repos/alinz/react-native-dashed-border/stargazers","contributors_url":"https://api.github.com/repos/alinz/react-native-dashed-border/contributors","subscribers_url":"https://api.github.com/repos/alinz/react-native-dashed-border/subscribers","subscription_url":"https://api.github.com/repos/alinz/react-native-dashed-border/subscription","commits_url":"https://api.github.com/repos/alinz/react-native-dashed-border/commits{/sha}","git_commits_url":"https://api.github.com/repos/alinz/react-native-dashed-border/git/commits{/sha}","comments_url":"https://api.github.com/repos/alinz/react-native-dashed-border/comments{/number}","issue_comment_url":"https://api.github.com/repos/alinz/react-native-dashed-border/issues/comments{/number}","contents_url":"https://api.github.com/repos/alinz/react-native-dashed-border/contents/{+path}","compare_url":"https://api.github.com/repos/alinz/react-native-dashed-border/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alinz/react-native-dashed-border/merges","archive_url":"https://api.github.com/repos/alinz/react-native-dashed-border/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alinz/react-native-dashed-border/downloads","issues_url":"https://api.github.com/repos/alinz/react-native-dashed-border/issues{/number}","pulls_url":"https://api.github.com/repos/alinz/react-native-dashed-border/pulls{/number}","milestones_url":"https://api.github.com/repos/alinz/react-native-dashed-border/milestones{/number}","notifications_url":"https://api.github.com/repos/alinz/react-native-dashed-border/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alinz/react-native-dashed-border/labels{/name}","releases_url":"https://api.github.com/repos/alinz/react-native-dashed-border/releases{/id}","created_at":"2015-07-27T15:14:33Z","updated_at":"2015-07-27T15:14:34Z","pushed_at":"2015-07-27T15:47:38Z","git_url":"git://github.com/alinz/react-native-dashed-border.git","ssh_url":"git@github.com:alinz/react-native-dashed-border.git","clone_url":"https://github.com/alinz/react-native-dashed-border.git","svn_url":"https://github.com/alinz/react-native-dashed-border","homepage":null,"size":89,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chirag04:master","ref":"master","sha":"2e18b7490fb14d8534bd6fb3ac107dbffc507d7c","user":{"login":"chirag04","id":954063,"avatar_url":"https://avatars.githubusercontent.com/u/954063?v=3","gravatar_id":"","url":"https://api.github.com/users/chirag04","html_url":"https://github.com/chirag04","followers_url":"https://api.github.com/users/chirag04/followers","following_url":"https://api.github.com/users/chirag04/following{/other_user}","gists_url":"https://api.github.com/users/chirag04/gists{/gist_id}","starred_url":"https://api.github.com/users/chirag04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirag04/subscriptions","organizations_url":"https://api.github.com/users/chirag04/orgs","repos_url":"https://api.github.com/users/chirag04/repos","events_url":"https://api.github.com/users/chirag04/events{/privacy}","received_events_url":"https://api.github.com/users/chirag04/received_events","type":"User","site_admin":false},"repo":{"id":35234279,"name":"react-native-dashed-border","full_name":"chirag04/react-native-dashed-border","owner":{"login":"chirag04","id":954063,"avatar_url":"https://avatars.githubusercontent.com/u/954063?v=3","gravatar_id":"","url":"https://api.github.com/users/chirag04","html_url":"https://github.com/chirag04","followers_url":"https://api.github.com/users/chirag04/followers","following_url":"https://api.github.com/users/chirag04/following{/other_user}","gists_url":"https://api.github.com/users/chirag04/gists{/gist_id}","starred_url":"https://api.github.com/users/chirag04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirag04/subscriptions","organizations_url":"https://api.github.com/users/chirag04/orgs","repos_url":"https://api.github.com/users/chirag04/repos","events_url":"https://api.github.com/users/chirag04/events{/privacy}","received_events_url":"https://api.github.com/users/chirag04/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chirag04/react-native-dashed-border","description":"A <DashedBorder> element for react-native","fork":false,"url":"https://api.github.com/repos/chirag04/react-native-dashed-border","forks_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/forks","keys_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/teams","hooks_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/hooks","issue_events_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/issues/events{/number}","events_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/events","assignees_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/assignees{/user}","branches_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/branches{/branch}","tags_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/tags","blobs_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/git/refs{/sha}","trees_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/statuses/{sha}","languages_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/languages","stargazers_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/stargazers","contributors_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/contributors","subscribers_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/subscribers","subscription_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/subscription","commits_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/commits{/sha}","git_commits_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/git/commits{/sha}","comments_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/comments{/number}","issue_comment_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/issues/comments{/number}","contents_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/contents/{+path}","compare_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/merges","archive_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/downloads","issues_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/issues{/number}","pulls_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/pulls{/number}","milestones_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/milestones{/number}","notifications_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/labels{/name}","releases_url":"https://api.github.com/repos/chirag04/react-native-dashed-border/releases{/id}","created_at":"2015-05-07T17:41:37Z","updated_at":"2015-07-27T13:22:29Z","pushed_at":"2015-07-27T20:04:01Z","git_url":"git://github.com/chirag04/react-native-dashed-border.git","ssh_url":"git@github.com:chirag04/react-native-dashed-border.git","clone_url":"https://github.com/chirag04/react-native-dashed-border.git","svn_url":"https://github.com/chirag04/react-native-dashed-border","homepage":null,"size":188,"stargazers_count":6,"watchers_count":6,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chirag04/react-native-dashed-border/pulls/3"},"html":{"href":"https://github.com/chirag04/react-native-dashed-border/pull/3"},"issue":{"href":"https://api.github.com/repos/chirag04/react-native-dashed-border/issues/3"},"comments":{"href":"https://api.github.com/repos/chirag04/react-native-dashed-border/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/chirag04/react-native-dashed-border/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/chirag04/react-native-dashed-border/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chirag04/react-native-dashed-border/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/chirag04/react-native-dashed-border/statuses/4532b3150b14150ae5944488b0c24020615d744f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chirag04","id":954063,"avatar_url":"https://avatars.githubusercontent.com/u/954063?v=3","gravatar_id":"","url":"https://api.github.com/users/chirag04","html_url":"https://github.com/chirag04","followers_url":"https://api.github.com/users/chirag04/followers","following_url":"https://api.github.com/users/chirag04/following{/other_user}","gists_url":"https://api.github.com/users/chirag04/gists{/gist_id}","starred_url":"https://api.github.com/users/chirag04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirag04/subscriptions","organizations_url":"https://api.github.com/users/chirag04/orgs","repos_url":"https://api.github.com/users/chirag04/repos","events_url":"https://api.github.com/users/chirag04/events{/privacy}","received_events_url":"https://api.github.com/users/chirag04/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":1,"deletions":1,"changed_files":1}}