Questions tagged [quicklook]

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

324 questions
0
votes
1 answer

No visible interface for NSAttributedString initWithRTF on Mac OS X

This one is a little odd - because I know the canonical answer to it. It's a problem that I'd expect to see on iOS (where NSAttributedString doesn't have initWithRTF), but I'm seeing it on Mac OS X at the moment. The code is as…
headbanger
  • 1,038
  • 1
  • 11
  • 32
0
votes
1 answer

iOS - QuickLook returning no window subview

I try to display an FPPopover and for this I need a parentView. Everything is fine on first attempt. But after displaying a PDF in QuicklLookViewController, the number of subviews in windows is 0, so I cannot grasp the last element to use it as…
Trichophyton
  • 625
  • 5
  • 21
0
votes
3 answers

QuickLook plugin fails to display HTML

I'm attempting to display HTML in a QuickLook plugin. GeneratePreviewForURL method: ... NSMutableString *html=[[NSMutableString alloc] init]; [html appendString:@""]; [html appendString:@""]; [html appendString:@"

First…

craig
  • 25,664
  • 27
  • 119
  • 205
0
votes
1 answer

presentOpenInMenuFromRect not working DocumentHandler.h - QuickLook

I'm using documenthandler cordova plugin in where if I click the button I get the pdf in the document handler from the url which works fine, so that I can save the pdf into iBooks. Now, instead of opening the document in the viewer and clicking the…
angular_learner
  • 671
  • 2
  • 14
  • 31
0
votes
2 answers

Prevent QLPreviewView from grabbing focus

I have a list of files. Next to it I have a QLPreviewView which shows the currently selected file. Unfortunately QLPreviewView loads a web view to preview bookmark files. Some web pages can grab keyboard focus. E.g. the Gmail login form places the…
Pierre Bernard
  • 3,148
  • 2
  • 23
  • 31
0
votes
1 answer

QuickLook Previews for Microsoft Office Files

I am developing a application where user has the facility to share MS-Office files. Under Windows I use the Word Automation objects and a virtual printer to create .BMP files from the .doc and the .ppt's which I then read/display and send it on a…
LazyCoder7
  • 45
  • 10
0
votes
1 answer

Quick Look on OS X 10.9 not showing title, artist and album mp3 tags anymore

QL on Mavericks appears not to be displaying ID3 tags anymore, only duration time and the illustration of mp3 files. It used to display more before : https://i.stack.imgur.com/jOswp.png Here is the version information of the plugin…
hymced
  • 570
  • 5
  • 19
0
votes
0 answers

Customise QLPreviewController

I am using UIDocumentInteractionController and QLFramework to preview videos from the Documents folder of my application. I want to customise the the upload button of QLPreviewController just like WhatsApp show a custom UIMenuAction sheet. Is…
user2955351
  • 273
  • 4
  • 18
0
votes
1 answer

How to open/link external files inside a HTML-designed QuickLook plugin without using the attribute?

After my previous question, it seems that I gotta definitely deal with the fact that I have to use HTML in order to design interactive GUIs...but now the problem is another one: I know that for security reasons is not possible (unlike on Xcode 4.2…
0
votes
1 answer

QLThumbnailImageCreate broken in Mavericks?

I have code that makes a preview of 'any' file, it runs threaded in a Cocoa desktop app. CFURLRef url = CFURLCreateWithFileSystemPath(nil, (CFStringRef) inFilePath, kCFURLPOSIXPathStyle, false); if (url) { …
Tom Andersen
  • 7,132
  • 3
  • 38
  • 55
0
votes
1 answer

Is it possible to use QLPreviewController to generate a document preview thumbnail?

I do some research on QLPreviewController, it requires me to use the QLPreviewController to present a document or something like that. Is this possible for me to get the live document content as icon but within loading the QLPreviewController?…
DNB5brims
  • 29,344
  • 50
  • 131
  • 195
0
votes
1 answer

QLPreviewController canPreviewItem: can't work for judging broken files

I downloaded file from network, but in advance I don't know what type of file, I name it as PDF file, thus destroying some files, I use QLPreViewController 's method “+ canPreviewItem” judging whether the file can be previewed, in my mind if the pdf…
0
votes
1 answer

Can quicklook view .coffeescript files on Mavericks

Not sure if this is the best place to ask this but does anyone know if it's possible to get quick look working nicely for .coffee files on OS X (Mavericks)? It's kinda doing my head in at the moment! :)
Neil Billingham
  • 2,235
  • 4
  • 23
  • 34
0
votes
1 answer

Quicklook plugin issue with M Lion

I developed a quicklook plugin that worked well with all MAC OS X version before M Lion. I am trying to make it work on M Lion and Mavericks. I got struck on a simple issue but unable to get any workaround. I debug the plugin and found an issue with…
Vinay Jain
  • 2,644
  • 3
  • 26
  • 44
0
votes
2 answers

how to get Quicklook to load image at index when selected in uicollectionview

i got a uicollectionsview when i select i image from there i want it to show in the Quicklook i think i got it to select the file prober but showing it crashes the app with this message : * Terminating app due to uncaught exception…
KennyVB
  • 745
  • 2
  • 9
  • 28