{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/37","labels_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/37/comments","events_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/37/events","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/37","id":120538577,"number":37,"title":"Implemented NSAffineTransform.init() with tests","user":{"login":"mattrajca","id":123372,"avatar_url":"https://avatars.githubusercontent.com/u/123372?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrajca","html_url":"https://github.com/mattrajca","followers_url":"https://api.github.com/users/mattrajca/followers","following_url":"https://api.github.com/users/mattrajca/following{/other_user}","gists_url":"https://api.github.com/users/mattrajca/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrajca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrajca/subscriptions","organizations_url":"https://api.github.com/users/mattrajca/orgs","repos_url":"https://api.github.com/users/mattrajca/repos","events_url":"https://api.github.com/users/mattrajca/events{/privacy}","received_events_url":"https://api.github.com/users/mattrajca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-05T07:41:40Z","updated_at":"2015-12-05T22:08:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/37","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/37","diff_url":"https://github.com/apple/swift-corelibs-foundation/pull/37.diff","patch_url":"https://github.com/apple/swift-corelibs-foundation/pull/37.patch"},"body":"As described in the reference for NSAffineTransform, this initializer:\r\n\r\n    Creates and returns a new NSAffineTransform object initialized to the identity matrix.\r\n\r\nPart of this change:\r\n\r\n- an initializer for the underlying `NSAffineTransformStruct`'s members has been implemented\r\n- an initializer for creating `Double`s from `CGFloat`s has been added to aid testing. Its signature is identical to the one in `CoreGraphics` in the iOS 9.1 SDK. Tests are implemented in terms of `Double`s since `XCTAssertEqualWithAccuracy` only works with types that implement `FloatingPointType`, which `CGFloat` currently does not.\r\n"},"comment":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/comments/162252395","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/37#issuecomment-162252395","issue_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/37","id":162252395,"user":{"login":"mattrajca","id":123372,"avatar_url":"https://avatars.githubusercontent.com/u/123372?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrajca","html_url":"https://github.com/mattrajca","followers_url":"https://api.github.com/users/mattrajca/followers","following_url":"https://api.github.com/users/mattrajca/following{/other_user}","gists_url":"https://api.github.com/users/mattrajca/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrajca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrajca/subscriptions","organizations_url":"https://api.github.com/users/mattrajca/orgs","repos_url":"https://api.github.com/users/mattrajca/repos","events_url":"https://api.github.com/users/mattrajca/events{/privacy}","received_events_url":"https://api.github.com/users/mattrajca/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T22:08:06Z","updated_at":"2015-12-05T22:08:06Z","body":"apple/swift-corelibs-xctest#7 has been fixed and the tests now pass."}}