Browse files

convenience interface to add type safety for UI progress components

  • Loading branch information...
1 parent c735229 commit bdbe4e8810523598c651fdfb964d4eaea3134128 @jonkean committed Jan 27, 2012
Showing with 30 additions and 0 deletions.
  1. +15 −0 Classes/NSProgressIndicator+ASIProgressDelegate.h
  2. +15 −0 Classes/UIProgressView+ASIProgressDelegate.h
View
15 Classes/NSProgressIndicator+ASIProgressDelegate.h
@@ -0,0 +1,15 @@
+//
+// Created by Jon Kean on 1/27/12.
+//
+
+#if TARGET_OS_MAC
+
+ #import "ASIProgressDelegate.h"
+
+ @class NSProgressIndicator;
+
+ @interface NSProgressIndicator ()<ASIProgressDelegate>
+
+ @end
+
+#endif
View
15 Classes/UIProgressView+ASIProgressDelegate.h
@@ -0,0 +1,15 @@
+//
+// Created by Jon Kean on 1/27/12.
+//
+
+#if TARGET_OS_IPHONE
+
+ #import "ASIProgressDelegate.h"
+
+ @class UIProgressView;
+
+ @interface UIProgressView ()<ASIProgressDelegate>
+
+ @end
+
+#endif

0 comments on commit bdbe4e8

Please sign in to comment.