Questions tagged [quicklook]

QuickLook an objective-c framework used in iOS and MacOS application development typically for previews.

324 questions
3
votes
1 answer

Unbalanced calls to begin/end appearance transitions for QLRemotePreviewContentController

I'm using Objective-C. I want to open a local file with quick look. And I have this code in my mainViewController: - (IBAction)open:(id)sender { QLPreviewController *myQlPreViewController = [[QLPreviewController alloc]init]; …
Hongxu Jin
  • 817
  • 2
  • 9
  • 16
3
votes
2 answers

Gnome 3: Call sushi, the Nautilus quick file previewer via DBus

In Gnome 3, Nautilus has a new file previewer called Sushi. You can select a file in Nautilus, hit the spacebar and it will show a quick preview. This is very similar to what Quick Look (Preview) on OSX does. Quick Look has a command line…
Matt
  • 1,415
  • 2
  • 15
  • 23
3
votes
0 answers

OSX Quick Look generator: How to have animated thumbnail icons?

For quicktime and other video files, apples quicklook thumbnails are able to preview the video. How could I implement something when building my own generator that could either play the video or show a slideshow of images?
Andy Hin
  • 30,345
  • 42
  • 99
  • 142
3
votes
0 answers

QuickLook Plugin Failing with sandboxing error

I have a QLPlugin that resides in my app's bundle. It worked on Mountain Lion and earlier, but now on Mavericks, only the thumbnail generator works. The preview generator fails with a sandboxing error in Console: 8/5/14 7:41:34.000 PM kernel[0]:…
Dov
  • 15,530
  • 13
  • 76
  • 177
3
votes
2 answers

QLPreviewController: quicklookd failing to load

I've got some simple code showing a simple PDF, using QLPreviewController. It works great in the simulator, and in a very simple app. In the app I actually want it to work in, it fails on the device. The device shows the preview view, but in place…
Graham Perks
  • 23,007
  • 8
  • 61
  • 83
3
votes
0 answers

How to programatically set quicklook preview window size

I noticed that system plugins often adapt Quick Look preview window size to what is being previewed. I would like to implement similar behaviour in my .qlgenerator but I can't seem to find how this is done. I only found the initial static sizes…
silverdr
  • 1,978
  • 2
  • 22
  • 27
3
votes
0 answers

QuickLook - Application UTI overriding QLGenerator UTI

I wrote a .qlgenerator for a particular set of file types and defined a supposedly correct set of "Imported Type UTIs" in the .plist file. The form of UTIs is "public.archive.xxx.yyy", where "xxx" is a vendor code and "yyy" is a particular file…
silverdr
  • 1,978
  • 2
  • 22
  • 27
3
votes
1 answer

How to add a quicklook generator in sandboxed application?

I have created a QuickLook Generator for my application and I copied the quicklook generator to this location Containers/com.Aravindh.EgApp/Data/Library/QuickLook/QuickLookGenerator.qlgenerator by using this following code. NSString *path1 =…
Aravindhan
  • 15,608
  • 10
  • 56
  • 71
3
votes
0 answers

QLPreviewController query (Quicklook framework)

I'm trying to use the QLPreviewController in order to preview some files. I have the following problem: If I access the file directly : #define kStringURLViewControllerPDF @"http://myweb.com/PreviewController_Class.pdf" fileURL = [NSURL…
user1312508
  • 183
  • 2
  • 10
3
votes
2 answers

How do you create an interactive quicklook plugin thumbnail?

I want to create an interactive thumbnail for file type, like the ones that comes with Mac OS X for audio files or PDFs. I know this is possible but does it involve an undocumented private API?
Tyilo
  • 28,998
  • 40
  • 113
  • 198
2
votes
0 answers

Open QLPreviewPanel in 'multi display' mode

I'm using QLPreviewPanel to display the contents of a folder. By default this shows the first item and then the user can tap the multi display button to display them all. I would like to go into multi display by default but I can't see a way to do…
NeilInglis
  • 3,431
  • 4
  • 30
  • 31
2
votes
2 answers

Creating a QuickLook plug-in for text files in Xcode 4.1

Background I'm learning Objective-C and Cocoa, and I thought creating simple programs to answer my needs would be a nice thing. I already have a solid .NET C# background, some Python knowledge, and a little of C. One of my "simple first app" I tried…
Albireo
  • 10,977
  • 13
  • 62
  • 96
2
votes
1 answer

How do I put a file in a custom location inside my application bundle?

I need to put a plugin (specifically a QuickLook plugin) in /Contents/Library/QuickLook in my app bundle. This is easy to do in Finder by clicking Show Package Contents and so forth, but I would like Xcode to do this every time I build my app. How…
spudwaffle
  • 2,905
  • 1
  • 22
  • 29
2
votes
1 answer

Create custom AR Quick Look experience without using the device's camera

I'm wondering if there's a way to recreate the "Object" experience when viewing a .usdz file through Apple's AR Quick Look. I want an experience that showcases a 3D object without "augmenting reality". Some options that I'm thinking of that might be…
Ilmira
  • 21
  • 2
2
votes
1 answer

How to properly return an image from QLThumbnailGenerator? (SwiftUI)

My Problem How do I return a cgImage from QLThumbnailGenerator.shared.generateRepresentations(for: ... )? My Hangups/Attempt (Code Below) My attempt has a function (line 13) that returns a CGImage for a ListView entry (line 39). I tried to use an…
Beginner
  • 455
  • 7
  • 14