You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PlaygroundLogger] Implemented support for logging images, views, and sprites.
We now send PNG data for images and views, plus whatever SpriteKit gives us via _copyImageData.
Note that this does not yet handle recursive calls correctly, so in a playground environment this would likely try to log `self` when implicitly calling `-drawRect:` on a view that's being logged.
Copy file name to clipboardExpand all lines: PlaygroundLogger/PlaygroundLogger/OpaqueRepresentations/AppKit/NSBitmapImageRep+OpaqueImageRepresentable.swift
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
5
-
// Copyright (c) 2017 Apple Inc. and the Swift project authors
5
+
// Copyright (c) 2017-2018 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See http://swift.org/LICENSE.txt for license information
Copy file name to clipboardExpand all lines: PlaygroundLogger/PlaygroundLogger/OpaqueRepresentations/CoreGraphics/CGImage+OpaqueImageRepresentable.swift
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
5
-
// Copyright (c) 2017 Apple Inc. and the Swift project authors
5
+
// Copyright (c) 2017-2018 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See http://swift.org/LICENSE.txt for license information
0 commit comments