{"action":"created","comment":{"url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/comments/213039669","pull_request_review_id":149772533,"id":213039669,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzAzOTY2OQ==","diff_hunk":"@@ -0,0 +1,22 @@\n+# Distance composite symbol\n+\n+Demonstrates how to create a graphic using a distance composite scene symbol. Distance composite scene symbols can render different symbols depending on the distance between the camera and the graphic.\n+\n+![](image1.png)\n+\n+# How to use the sample\n+\n+The symbol of graphic will change while zooming in or out.\n+\n+## How it works\n+\n+To create and display a `AGSDistanceCompositeSceneSymbol`:\n+\n+1. Create an `AGSGraphicsOverlay` and add it to the `AGSSceneView`.\n+1. Create symbols for each `AGSRange` the composite symbol.\n+1. Create a distance composite scene symbol.\n+1. Add a range for each symbol to `distanceCompositeSceneSymbol.ranges.append(AGSDistanceSymbolRange(symbol:minDistance:maxDistance:))`.","path":"arcgis-runtime-samples-macos/Scenes/Distance composite symbol/README.md","position":18,"original_position":18,"commit_id":"d92f12a2a7d7b0db051ddd9b91f9236ff008fcc6","original_commit_id":"d92f12a2a7d7b0db051ddd9b91f9236ff008fcc6","user":{"login":"pgruenler","id":4060924,"node_id":"MDQ6VXNlcjQwNjA5MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4060924?v=4","gravatar_id":"","url":"https://api.github.com/users/pgruenler","html_url":"https://github.com/pgruenler","followers_url":"https://api.github.com/users/pgruenler/followers","following_url":"https://api.github.com/users/pgruenler/following{/other_user}","gists_url":"https://api.github.com/users/pgruenler/gists{/gist_id}","starred_url":"https://api.github.com/users/pgruenler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgruenler/subscriptions","organizations_url":"https://api.github.com/users/pgruenler/orgs","repos_url":"https://api.github.com/users/pgruenler/repos","events_url":"https://api.github.com/users/pgruenler/events{/privacy}","received_events_url":"https://api.github.com/users/pgruenler/received_events","type":"User","site_admin":false},"body":"This doesn't exactly match your code.  Did you do that on purpose to show different ways to add ranges?  I'm wondering if that will be confusing.","created_at":"2018-08-27T16:45:47Z","updated_at":"2018-08-27T16:46:13Z","html_url":"https://github.com/Esri/arcgis-runtime-samples-macos/pull/154#discussion_r213039669","pull_request_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/154","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/comments/213039669"},"html":{"href":"https://github.com/Esri/arcgis-runtime-samples-macos/pull/154#discussion_r213039669"},"pull_request":{"href":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/154"}}},"pull_request":{"url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/154","id":211139385,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMTM5Mzg1","html_url":"https://github.com/Esri/arcgis-runtime-samples-macos/pull/154","diff_url":"https://github.com/Esri/arcgis-runtime-samples-macos/pull/154.diff","patch_url":"https://github.com/Esri/arcgis-runtime-samples-macos/pull/154.patch","issue_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues/154","number":154,"state":"open","locked":false,"title":"Adds Distance Composite Symbol sample","user":{"login":"philium","id":2257493,"node_id":"MDQ6VXNlcjIyNTc0OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/2257493?v=4","gravatar_id":"","url":"https://api.github.com/users/philium","html_url":"https://github.com/philium","followers_url":"https://api.github.com/users/philium/followers","following_url":"https://api.github.com/users/philium/following{/other_user}","gists_url":"https://api.github.com/users/philium/gists{/gist_id}","starred_url":"https://api.github.com/users/philium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philium/subscriptions","organizations_url":"https://api.github.com/users/philium/orgs","repos_url":"https://api.github.com/users/philium/repos","events_url":"https://api.github.com/users/philium/events{/privacy}","received_events_url":"https://api.github.com/users/philium/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-27T15:08:02Z","updated_at":"2018-08-27T16:46:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10b9b5299a2caeb56731f4a2b8f72afe9b5c0111","assignee":{"login":"philium","id":2257493,"node_id":"MDQ6VXNlcjIyNTc0OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/2257493?v=4","gravatar_id":"","url":"https://api.github.com/users/philium","html_url":"https://github.com/philium","followers_url":"https://api.github.com/users/philium/followers","following_url":"https://api.github.com/users/philium/following{/other_user}","gists_url":"https://api.github.com/users/philium/gists{/gist_id}","starred_url":"https://api.github.com/users/philium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philium/subscriptions","organizations_url":"https://api.github.com/users/philium/orgs","repos_url":"https://api.github.com/users/philium/repos","events_url":"https://api.github.com/users/philium/events{/privacy}","received_events_url":"https://api.github.com/users/philium/received_events","type":"User","site_admin":false},"assignees":[{"login":"philium","id":2257493,"node_id":"MDQ6VXNlcjIyNTc0OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/2257493?v=4","gravatar_id":"","url":"https://api.github.com/users/philium","html_url":"https://github.com/philium","followers_url":"https://api.github.com/users/philium/followers","following_url":"https://api.github.com/users/philium/following{/other_user}","gists_url":"https://api.github.com/users/philium/gists{/gist_id}","starred_url":"https://api.github.com/users/philium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philium/subscriptions","organizations_url":"https://api.github.com/users/philium/orgs","repos_url":"https://api.github.com/users/philium/repos","events_url":"https://api.github.com/users/philium/events{/privacy}","received_events_url":"https://api.github.com/users/philium/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"saratchandrakarumuri","id":8692125,"node_id":"MDQ6VXNlcjg2OTIxMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/8692125?v=4","gravatar_id":"","url":"https://api.github.com/users/saratchandrakarumuri","html_url":"https://github.com/saratchandrakarumuri","followers_url":"https://api.github.com/users/saratchandrakarumuri/followers","following_url":"https://api.github.com/users/saratchandrakarumuri/following{/other_user}","gists_url":"https://api.github.com/users/saratchandrakarumuri/gists{/gist_id}","starred_url":"https://api.github.com/users/saratchandrakarumuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saratchandrakarumuri/subscriptions","organizations_url":"https://api.github.com/users/saratchandrakarumuri/orgs","repos_url":"https://api.github.com/users/saratchandrakarumuri/repos","events_url":"https://api.github.com/users/saratchandrakarumuri/events{/privacy}","received_events_url":"https://api.github.com/users/saratchandrakarumuri/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/154/commits","review_comments_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/154/comments","review_comment_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues/154/comments","statuses_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/statuses/d92f12a2a7d7b0db051ddd9b91f9236ff008fcc6","head":{"label":"Esri:philium/distance-composite-symbol","ref":"philium/distance-composite-symbol","sha":"d92f12a2a7d7b0db051ddd9b91f9236ff008fcc6","user":{"login":"Esri","id":628795,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyODc5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/628795?v=4","gravatar_id":"","url":"https://api.github.com/users/Esri","html_url":"https://github.com/Esri","followers_url":"https://api.github.com/users/Esri/followers","following_url":"https://api.github.com/users/Esri/following{/other_user}","gists_url":"https://api.github.com/users/Esri/gists{/gist_id}","starred_url":"https://api.github.com/users/Esri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Esri/subscriptions","organizations_url":"https://api.github.com/users/Esri/orgs","repos_url":"https://api.github.com/users/Esri/repos","events_url":"https://api.github.com/users/Esri/events{/privacy}","received_events_url":"https://api.github.com/users/Esri/received_events","type":"Organization","site_admin":false},"repo":{"id":73071335,"node_id":"MDEwOlJlcG9zaXRvcnk3MzA3MTMzNQ==","name":"arcgis-runtime-samples-macos","full_name":"Esri/arcgis-runtime-samples-macos","owner":{"login":"Esri","id":628795,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyODc5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/628795?v=4","gravatar_id":"","url":"https://api.github.com/users/Esri","html_url":"https://github.com/Esri","followers_url":"https://api.github.com/users/Esri/followers","following_url":"https://api.github.com/users/Esri/following{/other_user}","gists_url":"https://api.github.com/users/Esri/gists{/gist_id}","starred_url":"https://api.github.com/users/Esri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Esri/subscriptions","organizations_url":"https://api.github.com/users/Esri/orgs","repos_url":"https://api.github.com/users/Esri/repos","events_url":"https://api.github.com/users/Esri/events{/privacy}","received_events_url":"https://api.github.com/users/Esri/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Esri/arcgis-runtime-samples-macos","description":"The samples for the ArcGIS Runtime SDK for macOS","fork":false,"url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos","forks_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/forks","keys_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/teams","hooks_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/hooks","issue_events_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues/events{/number}","events_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/events","assignees_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/assignees{/user}","branches_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/branches{/branch}","tags_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/tags","blobs_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/statuses/{sha}","languages_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/languages","stargazers_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/stargazers","contributors_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/contributors","subscribers_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/subscribers","subscription_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/subscription","commits_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/contents/{+path}","compare_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/merges","archive_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/downloads","issues_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues{/number}","pulls_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls{/number}","milestones_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/milestones{/number}","notifications_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/labels{/name}","releases_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/releases{/id}","deployments_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/deployments","created_at":"2016-11-07T11:21:25Z","updated_at":"2018-08-02T22:32:07Z","pushed_at":"2018-08-27T15:08:03Z","git_url":"git://github.com/Esri/arcgis-runtime-samples-macos.git","ssh_url":"git@github.com:Esri/arcgis-runtime-samples-macos.git","clone_url":"https://github.com/Esri/arcgis-runtime-samples-macos.git","svn_url":"https://github.com/Esri/arcgis-runtime-samples-macos","homepage":null,"size":131113,"stargazers_count":7,"watchers_count":7,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":8,"open_issues":2,"watchers":7,"default_branch":"master"}},"base":{"label":"Esri:v.next","ref":"v.next","sha":"31c60eb04d8fd38e23b8a33cbbd555631156078c","user":{"login":"Esri","id":628795,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyODc5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/628795?v=4","gravatar_id":"","url":"https://api.github.com/users/Esri","html_url":"https://github.com/Esri","followers_url":"https://api.github.com/users/Esri/followers","following_url":"https://api.github.com/users/Esri/following{/other_user}","gists_url":"https://api.github.com/users/Esri/gists{/gist_id}","starred_url":"https://api.github.com/users/Esri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Esri/subscriptions","organizations_url":"https://api.github.com/users/Esri/orgs","repos_url":"https://api.github.com/users/Esri/repos","events_url":"https://api.github.com/users/Esri/events{/privacy}","received_events_url":"https://api.github.com/users/Esri/received_events","type":"Organization","site_admin":false},"repo":{"id":73071335,"node_id":"MDEwOlJlcG9zaXRvcnk3MzA3MTMzNQ==","name":"arcgis-runtime-samples-macos","full_name":"Esri/arcgis-runtime-samples-macos","owner":{"login":"Esri","id":628795,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyODc5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/628795?v=4","gravatar_id":"","url":"https://api.github.com/users/Esri","html_url":"https://github.com/Esri","followers_url":"https://api.github.com/users/Esri/followers","following_url":"https://api.github.com/users/Esri/following{/other_user}","gists_url":"https://api.github.com/users/Esri/gists{/gist_id}","starred_url":"https://api.github.com/users/Esri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Esri/subscriptions","organizations_url":"https://api.github.com/users/Esri/orgs","repos_url":"https://api.github.com/users/Esri/repos","events_url":"https://api.github.com/users/Esri/events{/privacy}","received_events_url":"https://api.github.com/users/Esri/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Esri/arcgis-runtime-samples-macos","description":"The samples for the ArcGIS Runtime SDK for macOS","fork":false,"url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos","forks_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/forks","keys_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/teams","hooks_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/hooks","issue_events_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues/events{/number}","events_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/events","assignees_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/assignees{/user}","branches_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/branches{/branch}","tags_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/tags","blobs_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/statuses/{sha}","languages_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/languages","stargazers_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/stargazers","contributors_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/contributors","subscribers_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/subscribers","subscription_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/subscription","commits_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/contents/{+path}","compare_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/merges","archive_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/downloads","issues_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues{/number}","pulls_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls{/number}","milestones_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/milestones{/number}","notifications_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/labels{/name}","releases_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/releases{/id}","deployments_url":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/deployments","created_at":"2016-11-07T11:21:25Z","updated_at":"2018-08-02T22:32:07Z","pushed_at":"2018-08-27T15:08:03Z","git_url":"git://github.com/Esri/arcgis-runtime-samples-macos.git","ssh_url":"git@github.com:Esri/arcgis-runtime-samples-macos.git","clone_url":"https://github.com/Esri/arcgis-runtime-samples-macos.git","svn_url":"https://github.com/Esri/arcgis-runtime-samples-macos","homepage":null,"size":131113,"stargazers_count":7,"watchers_count":7,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":8,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/154"},"html":{"href":"https://github.com/Esri/arcgis-runtime-samples-macos/pull/154"},"issue":{"href":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues/154"},"comments":{"href":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/Esri/arcgis-runtime-samples-macos/statuses/d92f12a2a7d7b0db051ddd9b91f9236ff008fcc6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"pgruenler"}}