{"action":"created","comment":{"url":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/comments/46765512","id":46765512,"diff_hunk":"@@ -7,29 +7,211 @@\n //\n \n import UIKit\n+import Parse\n \n class UPViewController: BaseViewController {\n+    var up: UpInvitation!\n+    var rsvpUsers: [PFUser?] = []\n \n-    override func viewDidLoad() {\n-        super.viewDidLoad()\n+    private var _upContentView: UIView!\n+    private var _rsvpTableView: UITableView!\n \n-        // Do any additional setup after loading the view.\n+    private var _messageLabel: UILabel!\n+    private var _message: UITextView!\n+    private var _grouponUPDateLabel: UILabel!\n+    private var _grouponUPDate: UITextField!\n+    private var _rsvpTableViewLabel: UILabel!\n+\n+    override func viewWillAppear(animated: Bool) {\n+        super.viewWillAppear(animated)\n+        initData()\n+    }\n+\n+    override func initializeUI() {\n+        title = \"Groupon UP Detail\"\n+    }\n+\n+    override func addSubviews() {\n+        view.addSubview(upContentView)\n+\n+        upContentView.addSubview(messageLabel)\n+        upContentView.addSubview(message)","path":"Groupon UP/Groupon UP/UPViewController.swift","position":35,"original_position":35,"commit_id":"a23d8d25ff0525fb14aec42d17e7f8221997ee8b","original_commit_id":"a23d8d25ff0525fb14aec42d17e7f8221997ee8b","user":{"login":"buy","id":1431965,"avatar_url":"https://avatars.githubusercontent.com/u/1431965?v=3","gravatar_id":"","url":"https://api.github.com/users/buy","html_url":"https://github.com/buy","followers_url":"https://api.github.com/users/buy/followers","following_url":"https://api.github.com/users/buy/following{/other_user}","gists_url":"https://api.github.com/users/buy/gists{/gist_id}","starred_url":"https://api.github.com/users/buy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buy/subscriptions","organizations_url":"https://api.github.com/users/buy/orgs","repos_url":"https://api.github.com/users/buy/repos","events_url":"https://api.github.com/users/buy/events{/privacy}","received_events_url":"https://api.github.com/users/buy/received_events","type":"User","site_admin":false},"body":"nvm, found the issue, forgot to set the height of the parent container","created_at":"2015-12-06T01:40:24Z","updated_at":"2015-12-06T01:40:24Z","html_url":"https://github.com/GrouponChina/groupon-up/pull/15#discussion_r46765512","pull_request_url":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/comments/46765512"},"html":{"href":"https://github.com/GrouponChina/groupon-up/pull/15#discussion_r46765512"},"pull_request":{"href":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/15","id":52769018,"html_url":"https://github.com/GrouponChina/groupon-up/pull/15","diff_url":"https://github.com/GrouponChina/groupon-up/pull/15.diff","patch_url":"https://github.com/GrouponChina/groupon-up/pull/15.patch","issue_url":"https://api.github.com/repos/GrouponChina/groupon-up/issues/15","number":15,"state":"open","locked":false,"title":"Add view UP page","user":{"login":"buy","id":1431965,"avatar_url":"https://avatars.githubusercontent.com/u/1431965?v=3","gravatar_id":"","url":"https://api.github.com/users/buy","html_url":"https://github.com/buy","followers_url":"https://api.github.com/users/buy/followers","following_url":"https://api.github.com/users/buy/following{/other_user}","gists_url":"https://api.github.com/users/buy/gists{/gist_id}","starred_url":"https://api.github.com/users/buy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buy/subscriptions","organizations_url":"https://api.github.com/users/buy/orgs","repos_url":"https://api.github.com/users/buy/repos","events_url":"https://api.github.com/users/buy/events{/privacy}","received_events_url":"https://api.github.com/users/buy/received_events","type":"User","site_admin":false},"body":"## Goal\r\nAs a user I would like to be able to view a groupon up event\r\n\r\n## Changes\r\n- [x] Add Groupon UP details page\r\n- [x] Add Groupon UP message and event date\r\n- [x] Started the table view for rsvp list\r\n\r\n### Screenshot\r\n![image](https://i.gyazo.com/6a207c5be9794939cfbf3a0d621d7bab.gif)","created_at":"2015-12-06T00:32:55Z","updated_at":"2015-12-06T01:40:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81b5421f4308258a5af96a22722e4baf0c080b9b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/15/commits","review_comments_url":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/15/comments","review_comment_url":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GrouponChina/groupon-up/issues/15/comments","statuses_url":"https://api.github.com/repos/GrouponChina/groupon-up/statuses/a23d8d25ff0525fb14aec42d17e7f8221997ee8b","head":{"label":"GrouponChina:groupon-up","ref":"groupon-up","sha":"a23d8d25ff0525fb14aec42d17e7f8221997ee8b","user":{"login":"GrouponChina","id":15825374,"avatar_url":"https://avatars.githubusercontent.com/u/15825374?v=3","gravatar_id":"","url":"https://api.github.com/users/GrouponChina","html_url":"https://github.com/GrouponChina","followers_url":"https://api.github.com/users/GrouponChina/followers","following_url":"https://api.github.com/users/GrouponChina/following{/other_user}","gists_url":"https://api.github.com/users/GrouponChina/gists{/gist_id}","starred_url":"https://api.github.com/users/GrouponChina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrouponChina/subscriptions","organizations_url":"https://api.github.com/users/GrouponChina/orgs","repos_url":"https://api.github.com/users/GrouponChina/repos","events_url":"https://api.github.com/users/GrouponChina/events{/privacy}","received_events_url":"https://api.github.com/users/GrouponChina/received_events","type":"Organization","site_admin":false},"repo":{"id":46543537,"name":"groupon-up","full_name":"GrouponChina/groupon-up","owner":{"login":"GrouponChina","id":15825374,"avatar_url":"https://avatars.githubusercontent.com/u/15825374?v=3","gravatar_id":"","url":"https://api.github.com/users/GrouponChina","html_url":"https://github.com/GrouponChina","followers_url":"https://api.github.com/users/GrouponChina/followers","following_url":"https://api.github.com/users/GrouponChina/following{/other_user}","gists_url":"https://api.github.com/users/GrouponChina/gists{/gist_id}","starred_url":"https://api.github.com/users/GrouponChina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrouponChina/subscriptions","organizations_url":"https://api.github.com/users/GrouponChina/orgs","repos_url":"https://api.github.com/users/GrouponChina/repos","events_url":"https://api.github.com/users/GrouponChina/events{/privacy}","received_events_url":"https://api.github.com/users/GrouponChina/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GrouponChina/groupon-up","description":"Experience the Groupon like never before","fork":false,"url":"https://api.github.com/repos/GrouponChina/groupon-up","forks_url":"https://api.github.com/repos/GrouponChina/groupon-up/forks","keys_url":"https://api.github.com/repos/GrouponChina/groupon-up/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GrouponChina/groupon-up/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GrouponChina/groupon-up/teams","hooks_url":"https://api.github.com/repos/GrouponChina/groupon-up/hooks","issue_events_url":"https://api.github.com/repos/GrouponChina/groupon-up/issues/events{/number}","events_url":"https://api.github.com/repos/GrouponChina/groupon-up/events","assignees_url":"https://api.github.com/repos/GrouponChina/groupon-up/assignees{/user}","branches_url":"https://api.github.com/repos/GrouponChina/groupon-up/branches{/branch}","tags_url":"https://api.github.com/repos/GrouponChina/groupon-up/tags","blobs_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/refs{/sha}","trees_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GrouponChina/groupon-up/statuses/{sha}","languages_url":"https://api.github.com/repos/GrouponChina/groupon-up/languages","stargazers_url":"https://api.github.com/repos/GrouponChina/groupon-up/stargazers","contributors_url":"https://api.github.com/repos/GrouponChina/groupon-up/contributors","subscribers_url":"https://api.github.com/repos/GrouponChina/groupon-up/subscribers","subscription_url":"https://api.github.com/repos/GrouponChina/groupon-up/subscription","commits_url":"https://api.github.com/repos/GrouponChina/groupon-up/commits{/sha}","git_commits_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/commits{/sha}","comments_url":"https://api.github.com/repos/GrouponChina/groupon-up/comments{/number}","issue_comment_url":"https://api.github.com/repos/GrouponChina/groupon-up/issues/comments{/number}","contents_url":"https://api.github.com/repos/GrouponChina/groupon-up/contents/{+path}","compare_url":"https://api.github.com/repos/GrouponChina/groupon-up/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GrouponChina/groupon-up/merges","archive_url":"https://api.github.com/repos/GrouponChina/groupon-up/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GrouponChina/groupon-up/downloads","issues_url":"https://api.github.com/repos/GrouponChina/groupon-up/issues{/number}","pulls_url":"https://api.github.com/repos/GrouponChina/groupon-up/pulls{/number}","milestones_url":"https://api.github.com/repos/GrouponChina/groupon-up/milestones{/number}","notifications_url":"https://api.github.com/repos/GrouponChina/groupon-up/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GrouponChina/groupon-up/labels{/name}","releases_url":"https://api.github.com/repos/GrouponChina/groupon-up/releases{/id}","created_at":"2015-11-20T06:19:15Z","updated_at":"2015-11-21T07:59:28Z","pushed_at":"2015-12-06T01:35:56Z","git_url":"git://github.com/GrouponChina/groupon-up.git","ssh_url":"git@github.com:GrouponChina/groupon-up.git","clone_url":"https://github.com/GrouponChina/groupon-up.git","svn_url":"https://github.com/GrouponChina/groupon-up","homepage":null,"size":553,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"GrouponChina:master","ref":"master","sha":"9137c495bc89544e4d3ee78be2596239d008c47b","user":{"login":"GrouponChina","id":15825374,"avatar_url":"https://avatars.githubusercontent.com/u/15825374?v=3","gravatar_id":"","url":"https://api.github.com/users/GrouponChina","html_url":"https://github.com/GrouponChina","followers_url":"https://api.github.com/users/GrouponChina/followers","following_url":"https://api.github.com/users/GrouponChina/following{/other_user}","gists_url":"https://api.github.com/users/GrouponChina/gists{/gist_id}","starred_url":"https://api.github.com/users/GrouponChina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrouponChina/subscriptions","organizations_url":"https://api.github.com/users/GrouponChina/orgs","repos_url":"https://api.github.com/users/GrouponChina/repos","events_url":"https://api.github.com/users/GrouponChina/events{/privacy}","received_events_url":"https://api.github.com/users/GrouponChina/received_events","type":"Organization","site_admin":false},"repo":{"id":46543537,"name":"groupon-up","full_name":"GrouponChina/groupon-up","owner":{"login":"GrouponChina","id":15825374,"avatar_url":"https://avatars.githubusercontent.com/u/15825374?v=3","gravatar_id":"","url":"https://api.github.com/users/GrouponChina","html_url":"https://github.com/GrouponChina","followers_url":"https://api.github.com/users/GrouponChina/followers","following_url":"https://api.github.com/users/GrouponChina/following{/other_user}","gists_url":"https://api.github.com/users/GrouponChina/gists{/gist_id}","starred_url":"https://api.github.com/users/GrouponChina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrouponChina/subscriptions","organizations_url":"https://api.github.com/users/GrouponChina/orgs","repos_url":"https://api.github.com/users/GrouponChina/repos","events_url":"https://api.github.com/users/GrouponChina/events{/privacy}","received_events_url":"https://api.github.com/users/GrouponChina/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GrouponChina/groupon-up","description":"Experience the Groupon like never before","fork":false,"url":"https://api.github.com/repos/GrouponChina/groupon-up","forks_url":"https://api.github.com/repos/GrouponChina/groupon-up/forks","keys_url":"https://api.github.com/repos/GrouponChina/groupon-up/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GrouponChina/groupon-up/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GrouponChina/groupon-up/teams","hooks_url":"https://api.github.com/repos/GrouponChina/groupon-up/hooks","issue_events_url":"https://api.github.com/repos/GrouponChina/groupon-up/issues/events{/number}","events_url":"https://api.github.com/repos/GrouponChina/groupon-up/events","assignees_url":"https://api.github.com/repos/GrouponChina/groupon-up/assignees{/user}","branches_url":"https://api.github.com/repos/GrouponChina/groupon-up/branches{/branch}","tags_url":"https://api.github.com/repos/GrouponChina/groupon-up/tags","blobs_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/refs{/sha}","trees_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GrouponChina/groupon-up/statuses/{sha}","languages_url":"https://api.github.com/repos/GrouponChina/groupon-up/languages","stargazers_url":"https://api.github.com/repos/GrouponChina/groupon-up/stargazers","contributors_url":"https://api.github.com/repos/GrouponChina/groupon-up/contributors","subscribers_url":"https://api.github.com/repos/GrouponChina/groupon-up/subscribers","subscription_url":"https://api.github.com/repos/GrouponChina/groupon-up/subscription","commits_url":"https://api.github.com/repos/GrouponChina/groupon-up/commits{/sha}","git_commits_url":"https://api.github.com/repos/GrouponChina/groupon-up/git/commits{/sha}","comments_url":"https://api.github.com/repos/GrouponChina/groupon-up/comments{/number}","issue_comment_url":"https://api.github.com/repos/GrouponChina/groupon-up/issues/comments{/number}","contents_url":"https://api.github.com/repos/GrouponChina/groupon-up/contents/{+path}","compare_url":"https://api.github.com/repos/GrouponChina/groupon-up/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GrouponChina/groupon-up/merges","archive_url":"https://api.github.com/repos/GrouponChina/groupon-up/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GrouponChina/groupon-up/downloads","issues_url":"https://api.github.com/repos/GrouponChina/groupon-up/issues{/number}","pulls_url":"https://api.github.com/repos/GrouponChina/groupon-up/pulls{/number}","milestones_url":"https://api.github.com/repos/GrouponChina/groupon-up/milestones{/number}","notifications_url":"https://api.github.com/repos/GrouponChina/groupon-up/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GrouponChina/groupon-up/labels{/name}","releases_url":"https://api.github.com/repos/GrouponChina/groupon-up/releases{/id}","created_at":"2015-11-20T06:19:15Z","updated_at":"2015-11-21T07:59:28Z","pushed_at":"2015-12-06T01:35:56Z","git_url":"git://github.com/GrouponChina/groupon-up.git","ssh_url":"git@github.com:GrouponChina/groupon-up.git","clone_url":"https://github.com/GrouponChina/groupon-up.git","svn_url":"https://github.com/GrouponChina/groupon-up","homepage":null,"size":553,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/15"},"html":{"href":"https://github.com/GrouponChina/groupon-up/pull/15"},"issue":{"href":"https://api.github.com/repos/GrouponChina/groupon-up/issues/15"},"comments":{"href":"https://api.github.com/repos/GrouponChina/groupon-up/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GrouponChina/groupon-up/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/GrouponChina/groupon-up/statuses/a23d8d25ff0525fb14aec42d17e7f8221997ee8b"}}}}