Skip to content

Commit 573f446

Browse files
committed
More moving [Custom]PlaygroundQuickLook[able]=>PlaygroundSupport
1 parent a6fa45e commit 573f446

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PlaygroundLogger/PlaygroundLogger/LoggerMirror.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ final class LoggerMirror {
136136
let cpql = _PlaygroundQuickLook(reflecting: obj)
137137
switch cpql {
138138
case .text( _):
139-
if (obj as? CustomPlaygroundQuickLookable) != nil {
139+
if (obj as? CustomPlaygroundQuickLookable_) != nil {
140140
quickLookData = cpql
141141
} else {
142142
// ignore .Text quicklook data that doesn't come from a CustomPlaygroundQuickLookable as that is a synthetized conformance

PlaygroundLogger/PlaygroundLogger/TestCases.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ class EnumSummaryTestCase_NotGeneric : TestCase {
603603
// NSBezierPath(rect: rect).fill()
604604
// }
605605
// }
606-
// class MyView: NSView , CustomPlaygroundQuickLookable{
606+
// class MyView: NSView , _CustomPlaygroundQuickLookable{
607607
// override func drawRect(_ rect: CGRect) {
608608
// NSColor.blueColor().set()
609609
// NSBezierPath(rect: rect).fill()
@@ -654,7 +654,7 @@ class PlaygroundQuickLookCalledOnceTestCase : TestCase {
654654
var explanation: String { return "Check that the logger only calls customPlaygroundQuickLook() one time per log operation" }
655655
var behavior: TestBehavior { return .ExpectedSuccess }
656656
func doTest() {
657-
class MyObject : CustomPlaygroundQuickLookable {
657+
class MyObject : _CustomPlaygroundQuickLookable {
658658
var numCalls = 0
659659
var customPlaygroundQuickLook: _PlaygroundQuickLook {
660660
get {

0 commit comments

Comments
 (0)