Recommended project structure for Quick Look?

  • The Quick Look sample, based on Sketch, basically duplicates all the
    Sketch files. Makes sense, since to Quick Look you have to include
    your model, your model loading code, and your render code; a non-
    trivial portion of any application.

    To Add Quick Look to my own application, I don't just want to copy and
    paste all that code into a separate Quick Look project - how do I set
    up a project in Xcode so that my Quick Look and Application share the
    code? Shove it all into a Framework? Separate Targets?

    What I could use is a sample that builds the Sketch Quick Look and
    Sketch itself, without two separate sets of code!

    Thanks,
    Graham Perks
    http://www.asinglepixel.com
  • On Oct 28, 2007, at 9:28 PM, Graham Perks wrote:

    > The Quick Look sample, based on Sketch, basically duplicates all the
    > Sketch files. Makes sense, since to Quick Look you have to include
    > your model, your model loading code, and your render code; a non-
    > trivial portion of any application.
    >
    > To Add Quick Look to my own application, I don't just want to copy
    > and paste all that code into a separate Quick Look project - how do
    > I set up a project in Xcode so that my Quick Look and Application
    > share the code? Shove it all into a Framework? Separate Targets?

    Using separate targets is likely the best way. Same project. Same
    files. Just pick and choose which ones are necessary.

    --
    Seth Willits
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today