Sparkle installation help (Xcode 3.1 - Leopard)

Discussion in 'Mac Programming' started by pcwiz, May 28, 2008.

  1. pcwiz macrumors member

    Joined:
    May 28, 2008
    #1
    OK, so I am installing the Sparkle framework on an AppleScript Studio app. I am running Mac OS X 10.5.2 Leopard (Intel) with Xcode 3.1 and Interface Builder 3. I got to step 3 in the install instructions for Sparkle but I am stuck on the last 2 steps:

    I cannot find the Instantiate SUUpdater option. I've looked through the menus and buttons and tabs but I cannot find that option. I know that Interface Builder 3 has some changes to the interface, but I'm still having trouble. Screenshots on how to do this would be very appreciated.

    Thanks in advance
     
  2. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #2
    I pieced this together from a few pages... you'll need to include Sparkle.framework in applescript studio. Once you've done this, you'll need to make the Objective-C call. I couldn't find a clean link right to it, but go here:
    http://developer.apple.com/document...ce/StudioReference/Index/index_of_book.html#C
    And choose call method. It has the documentation on making an Objective-C call from applescript.

    You can then hit the Sparkle documentation on what you'll need to call in the framework to do.. whatever it is that Sparkle does (lets users of your app to see if there are updates?).

    This doesn't seem particularly easy, but does seem possible. My sources are the link above, and this post:
    http://lists.apple.com/archives/Cocoa-dev/2005/Feb/msg01717.html

    I think you can make subroutines in applescript. i would highly recommend using one to handle this, as it could get a little messy.

    Good luck!

    -Lee
     
  3. pcwiz thread starter macrumors member

    Joined:
    May 28, 2008
    #3
    Thanks

    Thanks lee, but the thing is Sparkle already provides easy instructions on their site:

    http://sparkle.andymatuschak.org/wiki/Documentation/Basics

    Its a 5 step install procedure, and it works with Applescript studio easily from what I've heard. I've already gotten Sparkle.framework as a linked framework, and I have SUUpdater set up as a class in Interface Builder, the problem is I don't understand steps 4 and 5 (posted in the first post). I think this is due to the fact that those instructions were meant for an older version of Interface Builder and IB3 does this differently.

    I just need some screenshots or something to show me how to do those 2 steps in Interface Builder.

    But thanks for trying anyway :)
     

Share This Page