Adding The Sparkle Framework

07 Mar '08 Filed under AppleScript, Developer, Tutorials -

5 Comments

  1. The AppleScript Studio Workshop › Adding a Check Updates Feature posted:

    [...] first read about this on a MacScripter posting asking about this, and then found this excellent tutorial by Max Karreth. There are very few differences between my tutorial below and his, but in my own [...]

  2. itistoday posted:

    For 1.5, should not key for the shared defaults be SUEnableAutomaticChecks?

  3. Max Karreth posted:

    Yeah … thats for the newest release of sparkle. For the old one, which I was using in this tutorial, it was still at SUCheckAtStartup. Let me add that in.

    Max

  4. Christiaan Hofman posted:

    Be aware that from 1.5b5 on you should not use the user defaults yourself, they’re supposed to be private. Instead you should bind directly to the SUUpdater instance. Just add one to your Preferences.nib, the same way as in MainMenu.nib. The key is automaticallyChecksForUpdates. You can also bind updateCheckInterval if you like, e.g. for a PopUpButton.

  5. Max Karreth posted:

    Christiaan - thanks for that note. I’ll add that in the tutorial as soon as I can.

    Max

Post a comment: