Permalink
Browse files

Implemented Sparkle framework integration for Core Data w/ unit tests…

… project template.
  • Loading branch information...
1 parent 4f5733a commit 6d6b0ed755b1d3b97c23e86e64df61b67e3adb39 @tomaz committed Jun 3, 2010
Showing with 2,467 additions and 11 deletions.
  1. +71 −9 ...tes/Application/Cocoa Application/Core Data Application with Unit Testing/Controller/MainMenu.xib
  2. +1 −0 ...on/Cocoa Application/Core Data Application with Unit Testing/Frameworks/Sparkle.framework/Headers
  3. +1 −0 .../Cocoa Application/Core Data Application with Unit Testing/Frameworks/Sparkle.framework/Resources
  4. +1 −0 ...on/Cocoa Application/Core Data Application with Unit Testing/Frameworks/Sparkle.framework/Sparkle
  5. +33 −0 ...re Data Application with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Headers/SUAppcast.h
  6. +47 −0 ...ata Application with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
  7. +118 −0 ...re Data Application with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Headers/SUUpdater.h
  8. +27 −0 ...n with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h
  9. +21 −0 ...Core Data Application with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Headers/Sparkle.h
  10. +24 −0 ...e Data Application with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/Info.plist
  11. +7 −0 ... Data Application with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/License.txt
  12. +174 −0 ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/SUModelTranslation.plist
  13. +56 −0 ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/SUStatus.nib/classes.nib
  14. +20 −0 ...ication with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib
  15. BIN ...with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib
  16. +50 −0 ...Frameworks/Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  17. +20 −0 ...ng/Frameworks/Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/info.nib
  18. BIN ...works/Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  19. +67 −0 ... Testing/Frameworks/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/classes.nib
  20. +20 −0 ...nit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/info.nib
  21. BIN ...ing/Frameworks/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/keyedobjects.nib
  22. +59 −0 ...ameworks/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  23. +20 −0 .../Frameworks/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/info.nib
  24. BIN ...rks/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  25. BIN ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings
  26. +50 −0 ...Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  27. +20 −0 ...ng/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/info.nib
  28. BIN ...works/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  29. +67 −0 ... Testing/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/classes.nib
  30. +20 −0 ...nit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib
  31. BIN ...ing/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib
  32. +59 −0 ...ameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  33. +21 −0 .../Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/info.nib
  34. BIN ...rks/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  35. BIN ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings
  36. +50 −0 ...Frameworks/Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  37. +20 −0 ...ng/Frameworks/Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/info.nib
  38. BIN ...works/Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  39. +67 −0 ... Testing/Frameworks/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/classes.nib
  40. +20 −0 ...nit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/info.nib
  41. BIN ...ing/Frameworks/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/keyedobjects.nib
  42. +59 −0 ...ameworks/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  43. +20 −0 .../Frameworks/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/info.nib
  44. BIN ...rks/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  45. BIN ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings
  46. +50 −0 ...Frameworks/Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  47. +16 −0 ...ng/Frameworks/Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/info.nib
  48. BIN ...works/Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  49. +67 −0 ... Testing/Frameworks/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/classes.nib
  50. +16 −0 ...nit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/info.nib
  51. BIN ...ing/Frameworks/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib
  52. +59 −0 ...ameworks/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  53. +16 −0 .../Frameworks/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/info.nib
  54. BIN ...rks/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  55. BIN ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings
  56. +1 −0 ... Data Application with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/fr_CA.lproj
  57. +50 −0 ...Frameworks/Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  58. +20 −0 ...ng/Frameworks/Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/info.nib
  59. BIN ...works/Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  60. +67 −0 ... Testing/Frameworks/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/classes.nib
  61. +20 −0 ...nit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/info.nib
  62. BIN ...ing/Frameworks/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/keyedobjects.nib
  63. +59 −0 ...ameworks/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  64. +20 −0 .../Frameworks/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/info.nib
  65. BIN ...rks/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  66. BIN ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings
  67. +50 −0 ...Frameworks/Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  68. +18 −0 ...ng/Frameworks/Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/info.nib
  69. BIN ...works/Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  70. +67 −0 ... Testing/Frameworks/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/classes.nib
  71. +16 −0 ...nit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/info.nib
  72. BIN ...ing/Frameworks/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/keyedobjects.nib
  73. +59 −0 ...ameworks/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  74. +16 −0 .../Frameworks/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/info.nib
  75. BIN ...rks/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  76. BIN ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings
  77. BIN ...ore Data Application with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/relaunch
  78. +50 −0 ...Frameworks/Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  79. +20 −0 ...ng/Frameworks/Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/info.nib
  80. BIN ...works/Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  81. +67 −0 ... Testing/Frameworks/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/classes.nib
  82. +20 −0 ...nit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/info.nib
  83. BIN ...ing/Frameworks/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/keyedobjects.nib
  84. +59 −0 ...ameworks/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  85. +18 −0 .../Frameworks/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/info.nib
  86. BIN ...rks/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  87. BIN ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings
  88. +50 −0 ...Frameworks/Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  89. +20 −0 ...ng/Frameworks/Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/info.nib
  90. BIN ...works/Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  91. +39 −0 ... Testing/Frameworks/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/classes.nib
  92. +18 −0 ...nit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/info.nib
  93. BIN ...ing/Frameworks/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib
  94. +59 −0 ...ameworks/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  95. +20 −0 .../Frameworks/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/info.nib
  96. BIN ...rks/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  97. BIN ...tion with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings
  98. BIN ...plication/Core Data Application with Unit Testing/Frameworks/Sparkle.framework/Versions/A/Sparkle
  99. +1 −0 ...Application/Core Data Application with Unit Testing/Frameworks/Sparkle.framework/Versions/Current
  100. +1 −0 ...lates/Application/Cocoa Application/Core Data Application with Unit Testing/Resources/dsa_pub.pem
  101. +8 −0 ...ocoa Application/Core Data Application with Unit Testing/___PROJECTNAMEASIDENTIFIER___-Info.plist
  102. +1 −1 ...pplication/Core Data Application with Unit Testing/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
  103. +19 −1 ...a Application/Core Data Application with Unit Testing/___PROJECTNAME___.xcodeproj/project.pbxproj
@@ -12,7 +12,7 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="29"/>
+ <integer value="57"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -71,6 +71,14 @@
<reference key="NSOnImage" ref="893455832"/>
<reference key="NSMixedImage" ref="424226900"/>
</object>
+ <object class="NSMenuItem" id="222923847">
+ <reference key="NSMenu" ref="123765298"/>
+ <string key="NSTitle">Check for Updates</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="893455832"/>
+ <reference key="NSMixedImage" ref="424226900"/>
+ </object>
<object class="NSMenuItem" id="791044830">
<reference key="NSMenu" ref="123765298"/>
<bool key="NSIsDisabled">YES</bool>
@@ -1127,6 +1135,9 @@
<object class="NSCustomObject" id="39582327">
<string key="NSClassName">NSFontManager</string>
</object>
+ <object class="NSCustomObject" id="148834159">
+ <string key="NSClassName">SUUpdater</string>
+ </object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
@@ -1707,6 +1718,14 @@
</object>
<int key="connectionID">521</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">checkForUpdates:</string>
+ <reference key="source" ref="148834159"/>
+ <reference key="destination" ref="222923847"/>
+ </object>
+ <int key="connectionID">524</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1776,6 +1795,7 @@
<reference ref="901869444"/>
<reference ref="163840636"/>
<reference ref="791044830"/>
+ <reference ref="222923847"/>
</object>
<reference key="parent" ref="376192112"/>
</object>
@@ -2598,6 +2618,17 @@
<reference key="object" ref="954120217"/>
<reference key="parent" ref="508081226"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">522</int>
+ <reference key="object" ref="148834159"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">Updater</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">523</int>
+ <reference key="object" ref="222923847"/>
+ <reference key="parent" ref="123765298"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -2752,6 +2783,8 @@
<string>519.IBEditorWindowLastContentRect</string>
<string>519.IBPluginDependency</string>
<string>520.IBPluginDependency</string>
+ <string>522.IBPluginDependency</string>
+ <string>523.IBPluginDependency</string>
<string>56.IBPluginDependency</string>
<string>56.ImportedFromIB2</string>
<string>57.IBEditorWindowLastContentRect</string>
@@ -2803,7 +2836,7 @@
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
- <string>{{610, 1023}, {194, 73}}</string>
+ <string>{{564, 763}, {194, 73}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -2819,15 +2852,15 @@
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
- <string>{{410, 921}, {234, 43}}</string>
+ <string>{{514, 793}, {231, 43}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{494, 1053}, {83, 43}}</string>
+ <string>{{448, 793}, {83, 43}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -2873,7 +2906,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{450, 813}, {254, 283}}</string>
+ <string>{{404, 553}, {254, 283}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -2920,12 +2953,14 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{681, 1073}, {250, 23}}</string>
+ <string>{{635, 813}, {246, 23}}</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
- <string>{{85, 781}, {245, 183}}</string>
+ <string>{{196, 633}, {275, 203}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -2938,7 +2973,7 @@
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
- <string>{{408, 1023}, {176, 73}}</string>
+ <string>{{362, 763}, {176, 73}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -2961,7 +2996,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">521</int>
+ <int key="maxID">524</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -3379,6 +3414,20 @@
<string key="minorKey">Foundation.framework/Headers/NSURLDownload.h</string>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Sparkle.framework/Headers/SUAppcast.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier" id="206197821">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Sparkle.framework/Headers/SUUpdater.h</string>
+ </object>
+ </object>
<object class="IBPartialClassDescription">
<string key="className">NSResponder</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -3460,6 +3509,19 @@
<string key="minorKey">AppKit.framework/Headers/NSWindowScripting.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="outlets">
+ <string key="NS.key.0">delegate</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <reference key="sourceIdentifier" ref="206197821"/>
+ </object>
</object>
</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 6d6b0ed

Please sign in to comment.