{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/SwiftBond/awesome-swift/pulls/1","id":44883523,"html_url":"https://github.com/SwiftBond/awesome-swift/pull/1","diff_url":"https://github.com/SwiftBond/awesome-swift/pull/1.diff","patch_url":"https://github.com/SwiftBond/awesome-swift/pull/1.patch","issue_url":"https://api.github.com/repos/SwiftBond/awesome-swift/issues/1","number":1,"state":"open","locked":false,"title":"Add FormulaStyleConstraint to the auto-layout section.","user":{"login":"fhisa","id":23127,"avatar_url":"https://avatars.githubusercontent.com/u/23127?v=3","gravatar_id":"","url":"https://api.github.com/users/fhisa","html_url":"https://github.com/fhisa","followers_url":"https://api.github.com/users/fhisa/followers","following_url":"https://api.github.com/users/fhisa/following{/other_user}","gists_url":"https://api.github.com/users/fhisa/gists{/gist_id}","starred_url":"https://api.github.com/users/fhisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhisa/subscriptions","organizations_url":"https://api.github.com/users/fhisa/orgs","repos_url":"https://api.github.com/users/fhisa/repos","events_url":"https://api.github.com/users/fhisa/events{/privacy}","received_events_url":"https://api.github.com/users/fhisa/received_events","type":"User","site_admin":false},"body":"added a self-made framework named FormulaStyleConstraint to the auto-layout section.\r\n\r\nUse of the framework example:\r\n```swift\r\nbaseView.addConstraints([\r\n    mainView[.Top] == topLayoutGuide[.Bottom] + 8\r\n    mainView[.Leading] == baseView[.Leading] + 8\r\n    mainView[.Trailing] == baseView[.Trailing] + 8\r\n    mainView[.Height] == (3.0 / 4.0) * baseView[.Height]\r\n    subView[.Top] == mainView[.Bottom] + 8\r\n    subView[.Leading] == baseView[.Leading] + 8\r\n    subView[.Trailing] == baseView[.Trailing] + 8\r\n    subView[.Bottom] == bottomLayoutGuide[.Top] - 8\r\n    ])\r\n```\r\n","created_at":"2015-09-13T23:33:43Z","updated_at":"2015-09-13T23:33:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SwiftBond/awesome-swift/pulls/1/commits","review_comments_url":"https://api.github.com/repos/SwiftBond/awesome-swift/pulls/1/comments","review_comment_url":"https://api.github.com/repos/SwiftBond/awesome-swift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SwiftBond/awesome-swift/issues/1/comments","statuses_url":"https://api.github.com/repos/SwiftBond/awesome-swift/statuses/a3c1a1e6d65523235ccd5eab4933e08c76619477","head":{"label":"fhisa:master","ref":"master","sha":"a3c1a1e6d65523235ccd5eab4933e08c76619477","user":{"login":"fhisa","id":23127,"avatar_url":"https://avatars.githubusercontent.com/u/23127?v=3","gravatar_id":"","url":"https://api.github.com/users/fhisa","html_url":"https://github.com/fhisa","followers_url":"https://api.github.com/users/fhisa/followers","following_url":"https://api.github.com/users/fhisa/following{/other_user}","gists_url":"https://api.github.com/users/fhisa/gists{/gist_id}","starred_url":"https://api.github.com/users/fhisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhisa/subscriptions","organizations_url":"https://api.github.com/users/fhisa/orgs","repos_url":"https://api.github.com/users/fhisa/repos","events_url":"https://api.github.com/users/fhisa/events{/privacy}","received_events_url":"https://api.github.com/users/fhisa/received_events","type":"User","site_admin":false},"repo":{"id":42415422,"name":"awesome-swift","full_name":"fhisa/awesome-swift","owner":{"login":"fhisa","id":23127,"avatar_url":"https://avatars.githubusercontent.com/u/23127?v=3","gravatar_id":"","url":"https://api.github.com/users/fhisa","html_url":"https://github.com/fhisa","followers_url":"https://api.github.com/users/fhisa/followers","following_url":"https://api.github.com/users/fhisa/following{/other_user}","gists_url":"https://api.github.com/users/fhisa/gists{/gist_id}","starred_url":"https://api.github.com/users/fhisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhisa/subscriptions","organizations_url":"https://api.github.com/users/fhisa/orgs","repos_url":"https://api.github.com/users/fhisa/repos","events_url":"https://api.github.com/users/fhisa/events{/privacy}","received_events_url":"https://api.github.com/users/fhisa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fhisa/awesome-swift","description":"A collaborative list of awesome swift resources. Feel free to contribute!","fork":true,"url":"https://api.github.com/repos/fhisa/awesome-swift","forks_url":"https://api.github.com/repos/fhisa/awesome-swift/forks","keys_url":"https://api.github.com/repos/fhisa/awesome-swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fhisa/awesome-swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fhisa/awesome-swift/teams","hooks_url":"https://api.github.com/repos/fhisa/awesome-swift/hooks","issue_events_url":"https://api.github.com/repos/fhisa/awesome-swift/issues/events{/number}","events_url":"https://api.github.com/repos/fhisa/awesome-swift/events","assignees_url":"https://api.github.com/repos/fhisa/awesome-swift/assignees{/user}","branches_url":"https://api.github.com/repos/fhisa/awesome-swift/branches{/branch}","tags_url":"https://api.github.com/repos/fhisa/awesome-swift/tags","blobs_url":"https://api.github.com/repos/fhisa/awesome-swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fhisa/awesome-swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fhisa/awesome-swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/fhisa/awesome-swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fhisa/awesome-swift/statuses/{sha}","languages_url":"https://api.github.com/repos/fhisa/awesome-swift/languages","stargazers_url":"https://api.github.com/repos/fhisa/awesome-swift/stargazers","contributors_url":"https://api.github.com/repos/fhisa/awesome-swift/contributors","subscribers_url":"https://api.github.com/repos/fhisa/awesome-swift/subscribers","subscription_url":"https://api.github.com/repos/fhisa/awesome-swift/subscription","commits_url":"https://api.github.com/repos/fhisa/awesome-swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/fhisa/awesome-swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/fhisa/awesome-swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/fhisa/awesome-swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/fhisa/awesome-swift/contents/{+path}","compare_url":"https://api.github.com/repos/fhisa/awesome-swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fhisa/awesome-swift/merges","archive_url":"https://api.github.com/repos/fhisa/awesome-swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fhisa/awesome-swift/downloads","issues_url":"https://api.github.com/repos/fhisa/awesome-swift/issues{/number}","pulls_url":"https://api.github.com/repos/fhisa/awesome-swift/pulls{/number}","milestones_url":"https://api.github.com/repos/fhisa/awesome-swift/milestones{/number}","notifications_url":"https://api.github.com/repos/fhisa/awesome-swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fhisa/awesome-swift/labels{/name}","releases_url":"https://api.github.com/repos/fhisa/awesome-swift/releases{/id}","created_at":"2015-09-13T22:30:47Z","updated_at":"2015-09-10T15:09:17Z","pushed_at":"2015-09-13T22:47:40Z","git_url":"git://github.com/fhisa/awesome-swift.git","ssh_url":"git@github.com:fhisa/awesome-swift.git","clone_url":"https://github.com/fhisa/awesome-swift.git","svn_url":"https://github.com/fhisa/awesome-swift","homepage":null,"size":245,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SwiftBond:master","ref":"master","sha":"ff79e83902a8f0906871b70b4363bee078a24d8d","user":{"login":"SwiftBond","id":10763247,"avatar_url":"https://avatars.githubusercontent.com/u/10763247?v=3","gravatar_id":"","url":"https://api.github.com/users/SwiftBond","html_url":"https://github.com/SwiftBond","followers_url":"https://api.github.com/users/SwiftBond/followers","following_url":"https://api.github.com/users/SwiftBond/following{/other_user}","gists_url":"https://api.github.com/users/SwiftBond/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiftBond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiftBond/subscriptions","organizations_url":"https://api.github.com/users/SwiftBond/orgs","repos_url":"https://api.github.com/users/SwiftBond/repos","events_url":"https://api.github.com/users/SwiftBond/events{/privacy}","received_events_url":"https://api.github.com/users/SwiftBond/received_events","type":"Organization","site_admin":false},"repo":{"id":31565807,"name":"awesome-swift","full_name":"SwiftBond/awesome-swift","owner":{"login":"SwiftBond","id":10763247,"avatar_url":"https://avatars.githubusercontent.com/u/10763247?v=3","gravatar_id":"","url":"https://api.github.com/users/SwiftBond","html_url":"https://github.com/SwiftBond","followers_url":"https://api.github.com/users/SwiftBond/followers","following_url":"https://api.github.com/users/SwiftBond/following{/other_user}","gists_url":"https://api.github.com/users/SwiftBond/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiftBond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiftBond/subscriptions","organizations_url":"https://api.github.com/users/SwiftBond/orgs","repos_url":"https://api.github.com/users/SwiftBond/repos","events_url":"https://api.github.com/users/SwiftBond/events{/privacy}","received_events_url":"https://api.github.com/users/SwiftBond/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SwiftBond/awesome-swift","description":"A collaborative list of awesome swift resources. Feel free to contribute!","fork":true,"url":"https://api.github.com/repos/SwiftBond/awesome-swift","forks_url":"https://api.github.com/repos/SwiftBond/awesome-swift/forks","keys_url":"https://api.github.com/repos/SwiftBond/awesome-swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SwiftBond/awesome-swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SwiftBond/awesome-swift/teams","hooks_url":"https://api.github.com/repos/SwiftBond/awesome-swift/hooks","issue_events_url":"https://api.github.com/repos/SwiftBond/awesome-swift/issues/events{/number}","events_url":"https://api.github.com/repos/SwiftBond/awesome-swift/events","assignees_url":"https://api.github.com/repos/SwiftBond/awesome-swift/assignees{/user}","branches_url":"https://api.github.com/repos/SwiftBond/awesome-swift/branches{/branch}","tags_url":"https://api.github.com/repos/SwiftBond/awesome-swift/tags","blobs_url":"https://api.github.com/repos/SwiftBond/awesome-swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SwiftBond/awesome-swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SwiftBond/awesome-swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/SwiftBond/awesome-swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SwiftBond/awesome-swift/statuses/{sha}","languages_url":"https://api.github.com/repos/SwiftBond/awesome-swift/languages","stargazers_url":"https://api.github.com/repos/SwiftBond/awesome-swift/stargazers","contributors_url":"https://api.github.com/repos/SwiftBond/awesome-swift/contributors","subscribers_url":"https://api.github.com/repos/SwiftBond/awesome-swift/subscribers","subscription_url":"https://api.github.com/repos/SwiftBond/awesome-swift/subscription","commits_url":"https://api.github.com/repos/SwiftBond/awesome-swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/SwiftBond/awesome-swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/SwiftBond/awesome-swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/SwiftBond/awesome-swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/SwiftBond/awesome-swift/contents/{+path}","compare_url":"https://api.github.com/repos/SwiftBond/awesome-swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SwiftBond/awesome-swift/merges","archive_url":"https://api.github.com/repos/SwiftBond/awesome-swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SwiftBond/awesome-swift/downloads","issues_url":"https://api.github.com/repos/SwiftBond/awesome-swift/issues{/number}","pulls_url":"https://api.github.com/repos/SwiftBond/awesome-swift/pulls{/number}","milestones_url":"https://api.github.com/repos/SwiftBond/awesome-swift/milestones{/number}","notifications_url":"https://api.github.com/repos/SwiftBond/awesome-swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SwiftBond/awesome-swift/labels{/name}","releases_url":"https://api.github.com/repos/SwiftBond/awesome-swift/releases{/id}","created_at":"2015-03-02T22:05:29Z","updated_at":"2015-09-10T15:09:17Z","pushed_at":"2015-09-13T23:33:43Z","git_url":"git://github.com/SwiftBond/awesome-swift.git","ssh_url":"git@github.com:SwiftBond/awesome-swift.git","clone_url":"https://github.com/SwiftBond/awesome-swift.git","svn_url":"https://github.com/SwiftBond/awesome-swift","homepage":null,"size":245,"stargazers_count":21,"watchers_count":21,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SwiftBond/awesome-swift/pulls/1"},"html":{"href":"https://github.com/SwiftBond/awesome-swift/pull/1"},"issue":{"href":"https://api.github.com/repos/SwiftBond/awesome-swift/issues/1"},"comments":{"href":"https://api.github.com/repos/SwiftBond/awesome-swift/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/SwiftBond/awesome-swift/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/SwiftBond/awesome-swift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SwiftBond/awesome-swift/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/SwiftBond/awesome-swift/statuses/a3c1a1e6d65523235ccd5eab4933e08c76619477"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":1,"deletions":1,"changed_files":1}}