{"action":"created","issue":{"url":"https://api.github.com/repos/leancloud/swift-sdk/issues/68","repository_url":"https://api.github.com/repos/leancloud/swift-sdk","labels_url":"https://api.github.com/repos/leancloud/swift-sdk/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/leancloud/swift-sdk/issues/68/comments","events_url":"https://api.github.com/repos/leancloud/swift-sdk/issues/68/events","html_url":"https://github.com/leancloud/swift-sdk/pull/68","id":354978663,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNjE1MzE0","number":68,"title":"Extract application configurations into a class","user":{"login":"tang3w","id":2226563,"node_id":"MDQ6VXNlcjIyMjY1NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/2226563?v=4","gravatar_id":"","url":"https://api.github.com/users/tang3w","html_url":"https://github.com/tang3w","followers_url":"https://api.github.com/users/tang3w/followers","following_url":"https://api.github.com/users/tang3w/following{/other_user}","gists_url":"https://api.github.com/users/tang3w/gists{/gist_id}","starred_url":"https://api.github.com/users/tang3w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tang3w/subscriptions","organizations_url":"https://api.github.com/users/tang3w/orgs","repos_url":"https://api.github.com/users/tang3w/repos","events_url":"https://api.github.com/users/tang3w/events{/privacy}","received_events_url":"https://api.github.com/users/tang3w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-29T03:11:34Z","updated_at":"2018-08-29T14:41:41Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/leancloud/swift-sdk/pulls/68","html_url":"https://github.com/leancloud/swift-sdk/pull/68","diff_url":"https://github.com/leancloud/swift-sdk/pull/68.diff","patch_url":"https://github.com/leancloud/swift-sdk/pull/68.patch"},"body":"这个 PR 的主要改动是把应用配置提取到一个名为 LCApplication 的类中。\r\n\r\n一方面是为了优化接口，让初始化、日志开启的方法集中到一个对象上；另一方面约束内部设计，为未来支持多应用做准备。\r\n\r\n其他改动包括：\r\n\r\n* 修复在 Xcode 10 中的编译警告；\r\n* 把 LCSMS 重命名为 LCSMSClient；\r\n* 把 HTTP 超时时间设置为跟 NSURLRequest 的一样；\r\n* 从单元测试中移除 non-standard 的属性测试用例，这个机制在 Swift 4.2 中不可用了；\r\n* 把版本号的变量改成了小写。\r\n\r\n@zapcannon87 @leancloud/sdk-only"},"comment":{"url":"https://api.github.com/repos/leancloud/swift-sdk/issues/comments/416979171","html_url":"https://github.com/leancloud/swift-sdk/pull/68#issuecomment-416979171","issue_url":"https://api.github.com/repos/leancloud/swift-sdk/issues/68","id":416979171,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjk3OTE3MQ==","user":{"login":"zapcannon87","id":4376676,"node_id":"MDQ6VXNlcjQzNzY2NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/4376676?v=4","gravatar_id":"","url":"https://api.github.com/users/zapcannon87","html_url":"https://github.com/zapcannon87","followers_url":"https://api.github.com/users/zapcannon87/followers","following_url":"https://api.github.com/users/zapcannon87/following{/other_user}","gists_url":"https://api.github.com/users/zapcannon87/gists{/gist_id}","starred_url":"https://api.github.com/users/zapcannon87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zapcannon87/subscriptions","organizations_url":"https://api.github.com/users/zapcannon87/orgs","repos_url":"https://api.github.com/users/zapcannon87/repos","events_url":"https://api.github.com/users/zapcannon87/events{/privacy}","received_events_url":"https://api.github.com/users/zapcannon87/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T14:41:41Z","updated_at":"2018-08-29T14:41:41Z","author_association":"MEMBER","body":"LGTM"}}
{"actor":{"display_login":"zapcannon87"}}