QuickLook an objective-c framework used in iOS and MacOS application development typically for previews.
Questions tagged [quicklook]
324 questions
0
votes
0 answers
Can't Open Any HTTPS Resource Swift
So I'm developing an app that will need to present both PDF and PPTX files served via the HTTPS protocol. However, try as I might I can't get it to work. At first I used PDFKit, and I did the following:
URLSession.shared.dataTask(with: url!) {…

Malik Brahimi
- 16,341
- 7
- 39
- 70
0
votes
1 answer
Disable Quicklook Animation (space-key) High Sierra?
Would really love to disable the quicklook animation in High Sierra! It's been possible a couple of 10.x back, but those terminal commands doesn't seem to work in High Sierra.
Anyway to do it?
It's just so "slow" watching the animation every single…

plbr
- 75
- 1
- 9
0
votes
1 answer
Use of undeclared type 'QLPreviewControllerDataSource'
I would like to implement QuickLook framework in swift 4 to preview Documents or PDF, but getting this issue, while this is working in Objective C. had tried a lot, Could someone please help. I am not even getting any sample anywhere QuickLook…

Gaurav Pandey
- 1,953
- 3
- 23
- 37
0
votes
1 answer
Preview PDF files on iOS 11.2
I ran into this bug that prevents my app from displaying PDF using UIDocumentInteractionController or QLPreviewController: https://forums.developer.apple.com/thread/91835
According to the suggestions, the solution is to copy files to documents or…

lukas
- 579
- 2
- 8
- 17
0
votes
1 answer
Implementation of NSURL/File QuickLook Preview & NSURL/File dragging
I have a file (let's say a PDF) I have stored to disk on my macos Cocoa application. I have the NSURL that contains the path to this file.
I am currently showing that this file exists to the user using an NSView, which contains a label displaying…

Will
- 147
- 1
- 10
0
votes
1 answer
Is there an easy way I can display a short message with the default Quick Look preview?
DRM-protected iTunes movie and music files show a fairly standard-looking Quick Look preview, but with an extra line of text added above the default material:
I'd like to be able to replicate this behavior for my DRM-protected custom document…

Bob
- 910
- 1
- 8
- 12
0
votes
0 answers
How to implement a pop-up window when hovering on a URL link
I'm relatively new to Cocoa application. In my application (MacOS), I already mark the text if it contains image url link. What I'm trying doing now is that when the mouse hover (without clicking) on the link, the application will open an NSPanel…

user2131907
- 342
- 1
- 6
- 14
0
votes
1 answer
How to display pdf from network in iOS
Currently I am using QuickLook module to open pdf from network, but it shows a blank page with error "Couldn't issue file extension for url: https://testing-xamidea.s3.amazonaws.com/flowchart/20171103182728150973368.pdf" in console. I guess…

Romit Kumar
- 2,442
- 6
- 21
- 34
0
votes
1 answer
NSView - Quick Look and NSResponder
I've subclassed NSView (MyCustomView) and have added it to my NSWindow's Content View in InterfaceBuilder using the custom view object in MainMenu.xib.
I have since added code to accept Quick Look responses to MyCustomView.
After calling…

mootymoots
- 4,545
- 9
- 46
- 74
0
votes
1 answer
Swift Mac Quick Look get image displayed
Once you open a file with QuickLook, it displays an image.
Is it possible to get the image shown on QLPreviewPanel?
Or maybe open panel and do a screenshot of the Panel's View with the image?
Tried using QLThumbnailImageCreate, but for some reason…

spacecash21
- 1,331
- 1
- 19
- 41
0
votes
1 answer
Debugging Custom QuickLook Plugin with Breakpoints
I'm having trouble getting my custom QuickLook Plugin to stop on my breakpoints.
I've tried several approaches with different schemes.
In Post-actions, I've added this in the Run Script:
rm -Rf "~/Library/QuickLook/$FULL_PRODUCT_NAME"
cp -R…

Fox Taco
- 11
- 3
0
votes
1 answer
QuickLook fails loading some files
Background
I am trying to open some files via QuickLook. I have a .docm and a .pdf that I was able to reproduce this error with. At first I thought it was due to macro enabled Microsoft Office documents, but since I get an error with a 100+MB pdf…

sargturner
- 540
- 2
- 18
0
votes
1 answer
Could not build module Cocoa in xcode 8
I am trying to write a simple QuickLook plugin based on apple dev docs and this blog post.
But as son as I add
#import
in the beginning of the *.c file I get an error: Could not build module Cocoa
Which looks like this:
I've also…

shershen
- 9,875
- 11
- 39
- 60
0
votes
1 answer
Sublime returning binary looking text from semi-plain text
Examining some files (log files, *.ldb files which are backups created by a chrome extension and so on) I find that some of those files are seen OK by Mac's QuickLook:
But sublime open them like this:
Explanations? Fixes?

Neithan Max
- 11,004
- 5
- 40
- 58
0
votes
1 answer
Quicklook/QLPreviewController shows a blank page instead of pdf in ios
I searched longtime but did'n get the exact solution for this!
QLPreviewController not opening the documents,it showing only blank page.

Jiyas
- 23
- 8