{"action":"opened","number":310,"pull_request":{"url":"https://api.github.com/repos/hyperoslo/Form/pulls/310","id":32675896,"html_url":"https://github.com/hyperoslo/Form/pull/310","diff_url":"https://github.com/hyperoslo/Form/pull/310.diff","patch_url":"https://github.com/hyperoslo/Form/pull/310.patch","issue_url":"https://api.github.com/repos/hyperoslo/Form/issues/310","number":310,"state":"open","locked":false,"title":"Update swift demo","user":{"login":"kostiakoval","id":1086260,"avatar_url":"https://avatars.githubusercontent.com/u/1086260?v=3","gravatar_id":"","url":"https://api.github.com/users/kostiakoval","html_url":"https://github.com/kostiakoval","followers_url":"https://api.github.com/users/kostiakoval/followers","following_url":"https://api.github.com/users/kostiakoval/following{/other_user}","gists_url":"https://api.github.com/users/kostiakoval/gists{/gist_id}","starred_url":"https://api.github.com/users/kostiakoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostiakoval/subscriptions","organizations_url":"https://api.github.com/users/kostiakoval/orgs","repos_url":"https://api.github.com/users/kostiakoval/repos","events_url":"https://api.github.com/users/kostiakoval/events{/privacy}","received_events_url":"https://api.github.com/users/kostiakoval/received_events","type":"User","site_admin":false},"body":"1 - don't use self.\r\n2 - Lazy properties\r\n3 - Double numbers format\r\n4 - Split code in extensions\r\n\r\n5 - Crazy idea to keep class variable declaration clean by making Lazy struct to init lazy property\r\nthis idea could sound little crazy :)\r\nit is a mix of Lazy loading mechanism and keeping Class declaration clean\r\n\r\nhttps://medium.com/swift-programming/how-to-do-proper-lazy-loading-in-swift-b8bc57dbc7b9\r\nand this \r\nhttps://medium.com/swift-programming/keep-your-swift-models-clean-ea7eb314d49d","created_at":"2015-04-06T12:30:48Z","updated_at":"2015-04-06T12:30:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hyperoslo/Form/pulls/310/commits","review_comments_url":"https://api.github.com/repos/hyperoslo/Form/pulls/310/comments","review_comment_url":"https://api.github.com/repos/hyperoslo/Form/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperoslo/Form/issues/310/comments","statuses_url":"https://api.github.com/repos/hyperoslo/Form/statuses/3c4f617711dab0a6be8602378e95c96690fa7559","head":{"label":"hyperoslo:refactor/swift-example","ref":"refactor/swift-example","sha":"3c4f617711dab0a6be8602378e95c96690fa7559","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":24758457,"name":"Form","full_name":"hyperoslo/Form","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/Form","description":"The most flexible and powerful way to build a form on iOS.","fork":false,"url":"https://api.github.com/repos/hyperoslo/Form","forks_url":"https://api.github.com/repos/hyperoslo/Form/forks","keys_url":"https://api.github.com/repos/hyperoslo/Form/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/Form/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/Form/teams","hooks_url":"https://api.github.com/repos/hyperoslo/Form/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/Form/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/Form/events","assignees_url":"https://api.github.com/repos/hyperoslo/Form/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/Form/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/Form/tags","blobs_url":"https://api.github.com/repos/hyperoslo/Form/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/Form/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/Form/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/Form/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/Form/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/Form/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/Form/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/Form/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/Form/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/Form/subscription","commits_url":"https://api.github.com/repos/hyperoslo/Form/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/Form/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/Form/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/Form/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/Form/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/Form/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/Form/merges","archive_url":"https://api.github.com/repos/hyperoslo/Form/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/Form/downloads","issues_url":"https://api.github.com/repos/hyperoslo/Form/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/Form/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/Form/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/Form/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/Form/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/Form/releases{/id}","created_at":"2014-10-03T12:59:46Z","updated_at":"2015-04-06T09:55:25Z","pushed_at":"2015-04-06T12:30:49Z","git_url":"git://github.com/hyperoslo/Form.git","ssh_url":"git@github.com:hyperoslo/Form.git","clone_url":"https://github.com/hyperoslo/Form.git","svn_url":"https://github.com/hyperoslo/Form","homepage":"http://hyper.no","size":13876,"stargazers_count":909,"watchers_count":909,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":55,"mirror_url":null,"open_issues_count":26,"forks":55,"open_issues":26,"watchers":909,"default_branch":"master"}},"base":{"label":"hyperoslo:master","ref":"master","sha":"7adeae79d05cbfe8edc5de4aacd745f561b33862","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":24758457,"name":"Form","full_name":"hyperoslo/Form","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/Form","description":"The most flexible and powerful way to build a form on iOS.","fork":false,"url":"https://api.github.com/repos/hyperoslo/Form","forks_url":"https://api.github.com/repos/hyperoslo/Form/forks","keys_url":"https://api.github.com/repos/hyperoslo/Form/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/Form/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/Form/teams","hooks_url":"https://api.github.com/repos/hyperoslo/Form/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/Form/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/Form/events","assignees_url":"https://api.github.com/repos/hyperoslo/Form/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/Form/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/Form/tags","blobs_url":"https://api.github.com/repos/hyperoslo/Form/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/Form/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/Form/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/Form/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/Form/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/Form/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/Form/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/Form/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/Form/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/Form/subscription","commits_url":"https://api.github.com/repos/hyperoslo/Form/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/Form/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/Form/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/Form/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/Form/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/Form/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/Form/merges","archive_url":"https://api.github.com/repos/hyperoslo/Form/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/Form/downloads","issues_url":"https://api.github.com/repos/hyperoslo/Form/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/Form/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/Form/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/Form/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/Form/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/Form/releases{/id}","created_at":"2014-10-03T12:59:46Z","updated_at":"2015-04-06T09:55:25Z","pushed_at":"2015-04-06T12:30:49Z","git_url":"git://github.com/hyperoslo/Form.git","ssh_url":"git@github.com:hyperoslo/Form.git","clone_url":"https://github.com/hyperoslo/Form.git","svn_url":"https://github.com/hyperoslo/Form","homepage":"http://hyper.no","size":13876,"stargazers_count":909,"watchers_count":909,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":55,"mirror_url":null,"open_issues_count":26,"forks":55,"open_issues":26,"watchers":909,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperoslo/Form/pulls/310"},"html":{"href":"https://github.com/hyperoslo/Form/pull/310"},"issue":{"href":"https://api.github.com/repos/hyperoslo/Form/issues/310"},"comments":{"href":"https://api.github.com/repos/hyperoslo/Form/issues/310/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperoslo/Form/pulls/310/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperoslo/Form/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperoslo/Form/pulls/310/commits"},"statuses":{"href":"https://api.github.com/repos/hyperoslo/Form/statuses/3c4f617711dab0a6be8602378e95c96690fa7559"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":48,"deletions":46,"changed_files":2}}