Skip to content

Commit

Permalink
Added Xcode QuickLook support
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jun 8, 2017
1 parent 78eba13 commit d6e7641
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Sources/Silica/Context.swift
Original file line number Diff line number Diff line change
Expand Up @@ -882,3 +882,19 @@ internal extension Collection {
return self.indexedMap { ($1, other[$0]) }
}
}

#if os(macOS) && Xcode

import Foundation
import AppKit

public extension Context {

@objc(debugQuickLookObject)
public var debugQuickLookObject: AnyObject {

return surface.debugQuickLookObject
}
}

#endif

0 comments on commit d6e7641

Please sign in to comment.