Permalink
Browse files

Add Sparkle Framework

  • Loading branch information...
1 parent 45a26cc commit b2b4210b4f71eb78512d9b44229346bc180c9ccc @oscardelben committed Apr 21, 2012
Showing with 2,496 additions and 3 deletions.
  1. +39 −0 RailsOneClick.xcodeproj/project.pbxproj
  2. +6 −2 RailsOneClick/RailsOneClick-Info.plist
  3. +20 −0 RailsOneClick/dsa_pub.pem
  4. +63 −1 RailsOneClick/en.lproj/MainMenu.xib
  5. +1 −0 Sparkle.framework/Headers
  6. +1 −0 Sparkle.framework/Resources
  7. +1 −0 Sparkle.framework/Sparkle
  8. +33 −0 Sparkle.framework/Versions/A/Headers/SUAppcast.h
  9. +47 −0 Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
  10. +118 −0 Sparkle.framework/Versions/A/Headers/SUUpdater.h
  11. +27 −0 Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h
  12. +21 −0 Sparkle.framework/Versions/A/Headers/Sparkle.h
  13. +24 −0 Sparkle.framework/Versions/A/Resources/Info.plist
  14. +7 −0 Sparkle.framework/Versions/A/Resources/License.txt
  15. +174 −0 Sparkle.framework/Versions/A/Resources/SUModelTranslation.plist
  16. +56 −0 Sparkle.framework/Versions/A/Resources/SUStatus.nib/classes.nib
  17. +20 −0 Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib
  18. BIN Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib
  19. +50 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  20. +20 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/info.nib
  21. BIN Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  22. +67 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/classes.nib
  23. +20 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/info.nib
  24. BIN Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/keyedobjects.nib
  25. +59 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  26. +20 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/info.nib
  27. BIN Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  28. BIN Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings
  29. +50 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  30. +20 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/info.nib
  31. BIN Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  32. +67 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/classes.nib
  33. +20 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib
  34. BIN Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib
  35. +59 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  36. +21 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/info.nib
  37. BIN Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  38. BIN Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings
  39. +50 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  40. +20 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/info.nib
  41. BIN Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  42. +67 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/classes.nib
  43. +20 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/info.nib
  44. BIN Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/keyedobjects.nib
  45. +59 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  46. +20 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/info.nib
  47. BIN Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  48. BIN Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings
  49. +50 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  50. +16 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/info.nib
  51. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  52. +67 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/classes.nib
  53. +16 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/info.nib
  54. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib
  55. +59 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  56. +16 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/info.nib
  57. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  58. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings
  59. +1 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/fr.lproj
  60. +1 −0 Sparkle.framework/Versions/A/Resources/fr_CA.lproj
  61. +50 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  62. +20 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/info.nib
  63. BIN Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  64. +67 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/classes.nib
  65. +20 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/info.nib
  66. BIN Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/keyedobjects.nib
  67. +59 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  68. +20 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/info.nib
  69. BIN Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  70. BIN Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings
  71. +50 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  72. +18 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/info.nib
  73. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  74. +67 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/classes.nib
  75. +16 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/info.nib
  76. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/keyedobjects.nib
  77. +59 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  78. +16 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/info.nib
  79. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  80. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings
  81. BIN Sparkle.framework/Versions/A/Resources/relaunch
  82. +50 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  83. +20 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/info.nib
  84. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  85. +67 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/classes.nib
  86. +20 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/info.nib
  87. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/keyedobjects.nib
  88. +59 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  89. +18 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/info.nib
  90. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  91. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings
  92. +50 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  93. +20 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/info.nib
  94. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  95. +39 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/classes.nib
  96. +18 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/info.nib
  97. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib
  98. +59 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  99. +20 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/info.nib
  100. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  101. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings
  102. BIN Sparkle.framework/Versions/A/Sparkle
  103. +1 −0 Sparkle.framework/Versions/Current
@@ -8,6 +8,9 @@
/* Begin PBXBuildFile section */
BF18F17E15419C7100C89E0D /* AppHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = BF18F17D15419C7100C89E0D /* AppHelper.m */; };
+ BF18F1811542CA6500C89E0D /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF18F1801542CA6500C89E0D /* Sparkle.framework */; };
+ BF18F1831542CAB500C89E0D /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = BF18F1801542CA6500C89E0D /* Sparkle.framework */; };
+ BF18F1861542CB7400C89E0D /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = BF18F1851542CB7400C89E0D /* dsa_pub.pem */; };
BFC858411539A3D0005D0372 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BFC858401539A3D0005D0372 /* Cocoa.framework */; };
BFC8584B1539A3D0005D0372 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = BFC858491539A3D0005D0372 /* InfoPlist.strings */; };
BFC8584D1539A3D0005D0372 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = BFC8584C1539A3D0005D0372 /* main.m */; };
@@ -37,9 +40,24 @@
BFC858BF154069AE005D0372 /* icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = BFC858BE154069AE005D0372 /* icon.icns */; };
/* End PBXBuildFile section */
+/* Begin PBXCopyFilesBuildPhase section */
+ BF18F1821542CAA100C89E0D /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ BF18F1831542CAB500C89E0D /* Sparkle.framework in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
/* Begin PBXFileReference section */
BF18F17C15419C7100C89E0D /* AppHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppHelper.h; sourceTree = "<group>"; };
BF18F17D15419C7100C89E0D /* AppHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppHelper.m; sourceTree = "<group>"; };
+ BF18F1801542CA6500C89E0D /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = "<group>"; };
+ BF18F1851542CB7400C89E0D /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = dsa_pub.pem; sourceTree = "<group>"; };
BFC8583C1539A3D0005D0372 /* RailsOneClick.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RailsOneClick.app; sourceTree = BUILT_PRODUCTS_DIR; };
BFC858401539A3D0005D0372 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
BFC858431539A3D0005D0372 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
@@ -87,12 +105,21 @@
buildActionMask = 2147483647;
files = (
BFC858411539A3D0005D0372 /* Cocoa.framework in Frameworks */,
+ BF18F1811542CA6500C89E0D /* Sparkle.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ BF18F1841542CB6000C89E0D /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ BF18F1851542CB7400C89E0D /* dsa_pub.pem */,
+ );
+ name = Resources;
+ sourceTree = "<group>";
+ };
BFC858311539A3D0005D0372 = {
isa = PBXGroup;
children = (
@@ -116,6 +143,7 @@
BFC8583F1539A3D0005D0372 /* Frameworks */ = {
isa = PBXGroup;
children = (
+ BF18F1801542CA6500C89E0D /* Sparkle.framework */,
BFC858401539A3D0005D0372 /* Cocoa.framework */,
BFC858421539A3D0005D0372 /* Other Frameworks */,
);
@@ -135,6 +163,7 @@
BFC858461539A3D0005D0372 /* RailsOneClick */ = {
isa = PBXGroup;
children = (
+ BF18F1841542CB6000C89E0D /* Resources */,
BFC858A3153EB1E0005D0372 /* Images */,
BFC85883153AB748005D0372 /* LogWindow */,
BFC8587D153AB233005D0372 /* ManageAppsScreen */,
@@ -230,6 +259,7 @@
BFC858381539A3D0005D0372 /* Sources */,
BFC858391539A3D0005D0372 /* Frameworks */,
BFC8583A1539A3D0005D0372 /* Resources */,
+ BF18F1821542CAA100C89E0D /* CopyFiles */,
);
buildRules = (
);
@@ -291,6 +321,7 @@
BFC858BC153ED6B7005D0372 /* rails_click_homepage.png in Resources */,
BFC858BD153ED6B7005D0372 /* rails_documentation.png in Resources */,
BFC858BF154069AE005D0372 /* icon.icns in Resources */,
+ BF18F1861542CB7400C89E0D /* dsa_pub.pem in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -391,6 +422,10 @@
BFC8585B1539A3D0005D0372 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)\"",
+ );
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "RailsOneClick/RailsOneClick-Prefix.pch";
INFOPLIST_FILE = "RailsOneClick/RailsOneClick-Info.plist";
@@ -403,6 +438,10 @@
BFC8585C1539A3D0005D0372 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)\"",
+ );
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "RailsOneClick/RailsOneClick-Prefix.pch";
INFOPLIST_FILE = "RailsOneClick/RailsOneClick-Info.plist";
@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>0.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1</string>
+ <string>0.1.0</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
@@ -30,5 +30,9 @@
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
+ <key>SUFeedURL</key>
+ <string>http://fructivity.s3.amazonaws.com/RailsOneClick/appcast.xml</string>
+ <key>SUPublicDSAKeyFile</key>
+ <string>dsa_pub.pem</string>
</dict>
</plist>
View
@@ -0,0 +1,20 @@
+-----BEGIN PUBLIC KEY-----
+MIIDOzCCAi4GByqGSM44BAEwggIhAoIBAQCajNFd2ftvTijGkM3iEFtMLbxzFV1X
+/F86UGrIMqH1lwEcQUFYmBJjYjfGgMcbGmmy74hzJp3XwX/+SesyyuW5uI8srDM0
+WxMnnu623iS6fGHWs6In5HIyfzNP76u/06q/AQ97XhHH/FNhhyaazds21kxHTNf5
+UOvFn4qNnzfW6VSUPOk2QU1PH2jmerTr1HanZGFGOJdQ7zpYKohKh4LTB+HI32dF
+pF30hs2U7dHa6nxvciOGXzxetmN0pouRCwAP0FJsNgxGHIOv65MjtUeUYvVXpnRw
+Au2Pzi/cbNK4fS7RfOoBjfaqm0pbDmzgTF0n0BtDKAYD9eAhzts+/sh/AhUAiqRF
+A0P5SKKUqbTuR/8VQzq9ZUcCggEBAIE4rXoYXRDwlrCBqrAPYRZdSArZ5eCTCJjZ
+YNSzYFpxwuZgCDq6SnCtEH450rlzKLfqqg3+LHvckLi2YpV8rND0VINdQ0fnQ8wR
+cp59aTe0qdx+LDPgMCGOdf8nVraxrzi4THnIFESMXj5B9G+riA2A+nxz53Z4DsYY
+i7L0Ir0T6eFC0GakgfWZ3JMhF3PxXIMPKNMU7Fa5QfxWDIAnPNqu2/fKyKXbTWPr
+FfdvhGNdpVcwGZ/QdTvEiggh2iBlajB5YAEdy7+i3eF4u4DhmwqeYDrN5hQRaRj3
+nKHT6XyLE7BptHj0fAYyjHJ2Yid9Fd/kM520UOO53EwWrpbX8fMDggEFAAKCAQAd
+ydi5/GW2WCI9CmhmvPf3HuaY7rp9N5qFsP2IB+rG2nfQZHLEPqRcjCi2SgA/HXCZ
+hS6kxtto3w2cOr4vR00Gkhdv6DF84UcbzHC/XvbRM/zUWAaEQeobtfaLF2o7B3Vh
+NcQpXTZs8hNIvv/2df+ghiRfz2ztLf637FEyfw9vSHFrBL7IdMBgywJgxU4MMr1R
+XFogOworVuMe21nphfnL5Gj8apiLhxdR3ryQ5wM83mR+jsChWRglwHEqxEJ0PLKJ
+yzONjV5q2nZJJGZg5q2lKD4hsB4kRTK4XXdUZFgduOSV49REcF2nJ4aj9pv5PYZf
+q88bdt9OztPwH+5pYBpe
+-----END PUBLIC KEY-----
@@ -63,6 +63,14 @@
<reference key="NSOnImage" ref="35465992"/>
<reference key="NSMixedImage" ref="502551668"/>
</object>
+ <object class="NSMenuItem" id="269671888">
+ <reference key="NSMenu" ref="110575045"/>
+ <string key="NSTitle">Check for updates</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
<object class="NSMenuItem" id="304266470">
<reference key="NSMenu" ref="110575045"/>
<bool key="NSIsDisabled">YES</bool>
@@ -1322,6 +1330,9 @@
<object class="NSCustomObject" id="905102771">
<string key="NSClassName">AppController</string>
</object>
+ <object class="NSCustomObject" id="11139850">
+ <string key="NSClassName">SUUpdater</string>
+ </object>
</array>
<object class="IBObjectContainer" key="IBDocument.Objects">
<array class="NSMutableArray" key="connectionRecords">
@@ -2013,6 +2024,14 @@
</object>
<int key="connectionID">723</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">checkForUpdates:</string>
+ <reference key="source" ref="11139850"/>
+ <reference key="destination" ref="269671888"/>
+ </object>
+ <int key="connectionID">726</int>
+ </object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
@@ -2333,6 +2352,7 @@
<reference ref="1046388886"/>
<reference ref="1056857174"/>
<reference ref="342932134"/>
+ <reference ref="269671888"/>
</array>
<reference key="parent" ref="694149608"/>
</object>
@@ -3018,6 +3038,16 @@
<reference key="object" ref="905102771"/>
<reference key="parent" ref="0"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">724</int>
+ <reference key="object" ref="11139850"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">725</int>
+ <reference key="object" ref="269671888"/>
+ <reference key="parent" ref="110575045"/>
+ </object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
@@ -3166,6 +3196,8 @@
<string key="58.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="682.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="72.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string key="724.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string key="725.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="73.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="74.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="75.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3181,7 +3213,7 @@
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
- <int key="maxID">723</int>
+ <int key="maxID">726</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -3223,6 +3255,36 @@
<string key="minorKey">./Classes/AppDelegate.h</string>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">SUUpdater</string>
+ <string key="superclassName">NSObject</string>
+ <object class="NSMutableDictionary" key="actions">
+ <string key="NS.key.0">checkForUpdates:</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <string key="NS.key.0">checkForUpdates:</string>
+ <object class="IBActionInfo" key="NS.object.0">
+ <string key="name">checkForUpdates:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <string key="NS.key.0">delegate</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <string key="NS.key.0">delegate</string>
+ <object class="IBToOneOutletInfo" key="NS.object.0">
+ <string key="name">delegate</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/SUUpdater.h</string>
+ </object>
+ </object>
</array>
</object>
<int key="IBDocument.localizationMode">0</int>
@@ -0,0 +1,33 @@
+//
+// SUAppcast.h
+// Sparkle
+//
+// Created by Andy Matuschak on 3/12/06.
+// Copyright 2006 Andy Matuschak. All rights reserved.
+//
+
+#ifndef SUAPPCAST_H
+#define SUAPPCAST_H
+
+@class SUAppcastItem;
+@interface SUAppcast : NSObject {
+ NSArray *items;
+ NSString *userAgentString;
+ id delegate;
+ NSMutableData *incrementalData;
+}
+
+- (void)fetchAppcastFromURL:(NSURL *)url;
+- (void)setDelegate:delegate;
+- (void)setUserAgentString:(NSString *)userAgentString;
+
+- (NSArray *)items;
+
+@end
+
+@interface NSObject (SUAppcastDelegate)
+- (void)appcastDidFinishLoading:(SUAppcast *)appcast;
+- (void)appcast:(SUAppcast *)appcast failedToLoadWithError:(NSError *)error;
+@end
+
+#endif
@@ -0,0 +1,47 @@
+//
+// SUAppcastItem.h
+// Sparkle
+//
+// Created by Andy Matuschak on 3/12/06.
+// Copyright 2006 Andy Matuschak. All rights reserved.
+//
+
+#ifndef SUAPPCASTITEM_H
+#define SUAPPCASTITEM_H
+
+@interface SUAppcastItem : NSObject {
+ NSString *title;
+ NSDate *date;
+ NSString *itemDescription;
+
+ NSURL *releaseNotesURL;
+
+ NSString *DSASignature;
+ NSString *minimumSystemVersion;
+
+ NSURL *fileURL;
+ NSString *versionString;
+ NSString *displayVersionString;
+
+ NSDictionary *propertiesDictionary;
+}
+
+// Initializes with data from a dictionary provided by the RSS class.
+- initWithDictionary:(NSDictionary *)dict;
+
+- (NSString *)title;
+- (NSString *)versionString;
+- (NSString *)displayVersionString;
+- (NSDate *)date;
+- (NSString *)itemDescription;
+- (NSURL *)releaseNotesURL;
+- (NSURL *)fileURL;
+- (NSString *)DSASignature;
+- (NSString *)minimumSystemVersion;
+
+// Returns the dictionary provided in initWithDictionary; this might be useful later for extensions.
+- (NSDictionary *)propertiesDictionary;
+
+@end
+
+#endif
Oops, something went wrong.

0 comments on commit b2b4210

Please sign in to comment.