how to display preview of file?

Discussion in 'Mac Programming' started by mkristain, Sep 24, 2011.

  1. mkristain, Sep 24, 2011
    Last edited: Sep 24, 2011

    mkristain macrumors regular

    Joined:
    Aug 18, 2011
    #1
    hi all,

    i want to display preview of file can any bony help me to do this.

    like in any folder, when i view this as Column so when i select any file than its display its preview in its right column.

    i am inserting some files in NSTableView so i want when i select any file its preview can display.

    thanks.
     
  2. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    If you can't be bothered to put the necessary details into your initial post, I doubt anybody can be bothered to try to help you.
     
  3. mkristain, Sep 25, 2011
    Last edited: Sep 26, 2011

    mkristain thread starter macrumors regular

    Joined:
    Aug 18, 2011
    #3
    i am edit my post please tell me now its clear to you..

    and please help me for this.

    thanks.
     
  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    Matt Gemmell has written this lovely NSImage category that will do what you want.
     
  5. admanimal macrumors 68040

    Joined:
    Apr 22, 2005
    #5
    Coincidentally, that link is the first result when I Googled "cocoa file preview."

    The moral of this story is: learn how to Google!
     
  6. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #6
    I Googled for something a bit less obvious to find it. I think it was something like "Quick Look Framework File Preview Mac"!
     
  7. mkristain, Sep 26, 2011
    Last edited: Sep 27, 2011

    mkristain thread starter macrumors regular

    Joined:
    Aug 18, 2011
    #7
    thanks..

    is there any option to implement 'Preview Pane' (like in Windows Vista System) for the files.

    thanks.
     

Share This Page