{"action":"created","issue":{"url":"https://api.github.com/repos/PureLayout/PureLayout/issues/203","repository_url":"https://api.github.com/repos/PureLayout/PureLayout","labels_url":"https://api.github.com/repos/PureLayout/PureLayout/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/PureLayout/PureLayout/issues/203/comments","events_url":"https://api.github.com/repos/PureLayout/PureLayout/issues/203/events","html_url":"https://github.com/PureLayout/PureLayout/pull/203","id":263328262,"number":203,"title":"Added apis for using AutoLayout to superview safearea","user":{"login":"himaratsu","id":1206009,"avatar_url":"https://avatars0.githubusercontent.com/u/1206009?v=4","gravatar_id":"","url":"https://api.github.com/users/himaratsu","html_url":"https://github.com/himaratsu","followers_url":"https://api.github.com/users/himaratsu/followers","following_url":"https://api.github.com/users/himaratsu/following{/other_user}","gists_url":"https://api.github.com/users/himaratsu/gists{/gist_id}","starred_url":"https://api.github.com/users/himaratsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himaratsu/subscriptions","organizations_url":"https://api.github.com/users/himaratsu/orgs","repos_url":"https://api.github.com/users/himaratsu/repos","events_url":"https://api.github.com/users/himaratsu/events{/privacy}","received_events_url":"https://api.github.com/users/himaratsu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2017-10-06T03:42:59Z","updated_at":"2018-02-27T15:19:20Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/PureLayout/PureLayout/pulls/203","html_url":"https://github.com/PureLayout/PureLayout/pull/203","diff_url":"https://github.com/PureLayout/PureLayout/pull/203.diff","patch_url":"https://github.com/PureLayout/PureLayout/pull/203.patch"},"body":"It's adaptive for safeAreaLayoutGuide of iOS 11. ( #199 )\r\n\r\nFor setting AutoLayout to superview safearea, we need to use NSLayoutAnchor.  \r\nThis PR makes us to be able to write it more like PureLayout.\r\n\r\n**Now:**\r\n```swift\r\nsubview.topAnchor.constraint(\r\n    equalTo: view.safeAreaLayoutGuide.topAnchor\r\n    ).isActive = true\r\n```\r\n\r\n**Using PureLayout in this PR:**\r\n```swift\r\nsubview.autoPinEdge(toSuperviewSafeArea: .top)\r\n```"},"comment":{"url":"https://api.github.com/repos/PureLayout/PureLayout/issues/comments/368913053","html_url":"https://github.com/PureLayout/PureLayout/pull/203#issuecomment-368913053","issue_url":"https://api.github.com/repos/PureLayout/PureLayout/issues/203","id":368913053,"user":{"login":"revolter","id":5748627,"avatar_url":"https://avatars0.githubusercontent.com/u/5748627?v=4","gravatar_id":"","url":"https://api.github.com/users/revolter","html_url":"https://github.com/revolter","followers_url":"https://api.github.com/users/revolter/followers","following_url":"https://api.github.com/users/revolter/following{/other_user}","gists_url":"https://api.github.com/users/revolter/gists{/gist_id}","starred_url":"https://api.github.com/users/revolter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revolter/subscriptions","organizations_url":"https://api.github.com/users/revolter/orgs","repos_url":"https://api.github.com/users/revolter/repos","events_url":"https://api.github.com/users/revolter/events{/privacy}","received_events_url":"https://api.github.com/users/revolter/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T15:19:19Z","updated_at":"2018-02-27T15:19:19Z","author_association":"NONE","body":"@mickeyreiss, Could I also get an invite as a member?"}}
{"actor":{"display_login":"revolter"}}