Permalink
Browse files

The Great Rename

  • Loading branch information...
1 parent 85f0648 commit f3d43b663658176294899a4aac4ef6a18a4b2c61 @soffes soffes committed Aug 19, 2010
Showing with 1,459 additions and 1,610 deletions.
  1. +1 −1 LICENSE
  2. +13 −0 Other Sources/SSToolkit_Prefix.pch
  3. +0 −14 Other Sources/TWToolkit_Prefix.pch
  4. +40 −41 Readme.markdown
  5. BIN ...bleViewCellBackgroundGray.png → SSToolkit.bundle/images/SSMessageTableViewCellBackgroundGray.png}
  6. BIN ...eViewCellBackgroundGreen.png → SSToolkit.bundle/images/SSMessageTableViewCellBackgroundGreen.png}
  7. BIN ...dButtonBackground.png → SSToolkit.bundle/images/SSMessagesViewControllerSendButtonBackground.png}
  8. BIN ...extFieldBackground.png → SSToolkit.bundle/images/SSMessagesViewControllerTextFieldBackground.png}
  9. BIN .../TWViewControllerFormBackground.png → SSToolkit.bundle/images/SSViewControllerFormBackground.png}
  10. BIN ...wControllerModalVignetteiPad.png → SSToolkit.bundle/images/SSViewControllerModalVignetteiPad.png}
  11. +4 −4 TWCatalog/Classes/TCAppDelegate.h → SSCatalog/Classes/SCAppDelegate.h
  12. +7 −7 TWCatalog/Classes/TCAppDelegate.m → SSCatalog/Classes/SCAppDelegate.m
  13. +20 −0 SSCatalog/Classes/SCGradientViewDemoViewController.h
  14. +10 −10 ...Classes/TCGradientViewDemoViewController.m → SSCatalog/Classes/SCGradientViewDemoViewController.m
  15. +21 −0 SSCatalog/Classes/SCHUDViewDemoViewController.h
  16. +7 −7 TWCatalog/Classes/TCHUDViewDemoViewController.m → SSCatalog/Classes/SCHUDViewDemoViewController.m
  17. +15 −0 SSCatalog/Classes/SCLineViewDemoViewController.h
  18. +8 −8 TWCatalog/Classes/TCLineViewDemoViewController.m → SSCatalog/Classes/SCLineViewDemoViewController.m
  19. +17 −0 SSCatalog/Classes/SCMessagesDemoViewController.h
  20. +9 −9 TWCatalog/Classes/TCMessagesDemoViewController.m → SSCatalog/Classes/SCMessagesDemoViewController.m
  21. +4 −4 TWCatalog/Classes/TCPickerDemoViewController.h → SSCatalog/Classes/SCPickerDemoViewController.h
  22. +7 −7 TWCatalog/Classes/TCPickerDemoViewController.m → SSCatalog/Classes/SCPickerDemoViewController.m
  23. +15 −0 SSCatalog/Classes/SCPickerDetailViewController.h
  24. +8 −8 TWCatalog/Classes/TCPickerDetailViewController.m → SSCatalog/Classes/SCPickerDetailViewController.m
  25. +21 −0 SSCatalog/Classes/SCPieProgressViewDemoViewController.h
  26. +13 −13 ...s/TCPieProgressViewDemoViewController.m → SSCatalog/Classes/SCPieProgressViewDemoViewController.m
  27. +14 −0 SSCatalog/Classes/SCRootViewController.h
  28. +15 −15 TWCatalog/Classes/TCRootViewController.m → SSCatalog/Classes/SCRootViewController.m
  29. +13 −0 SSCatalog/Other Sources/SSCatalog_Prefix.pch
  30. +3 −3 {TWCatalog → SSCatalog}/Other Sources/main.m
  31. BIN {TWCatalog → SSCatalog}/Resources/Default.png
  32. BIN {TWCatalog → SSCatalog}/Resources/Icon.png
  33. +1 −1 TWCatalog/Resources/TWCatalog-Info.plist → SSCatalog/Resources/SSCatalog-Info.plist
  34. BIN {TWCatalog → SSCatalog}/Resources/iTunesArtwork
  35. +93 −169 {TWCatalog/TWCatalog.xcodeproj → SSCatalog/SSCatalog.xcodeproj}/project.pbxproj
  36. +492 −0 SSToolkit.xcodeproj/project.pbxproj
  37. +13 −0 SSToolkit/NSArray+SSToolkitAdditions.h
  38. +5 −5 TWToolkit/NSArray+TWToolkitAdditions.m → SSToolkit/NSArray+SSToolkitAdditions.m
  39. +13 −0 SSToolkit/NSData+SSToolkitAdditions.h
  40. +5 −5 TWToolkit/NSData+TWToolkitAdditions.m → SSToolkit/NSData+SSToolkitAdditions.m
  41. +4 −4 TWToolkit/NSDate+TWToolkitAdditions.h → SSToolkit/NSDate+SSToolkitAdditions.h
  42. +5 −5 TWToolkit/NSDate+TWToolkitAdditions.m → SSToolkit/NSDate+SSToolkitAdditions.m
  43. +4 −4 TWToolkit/NSString+TWToolkitAdditions.h → SSToolkit/NSString+SSToolkitAdditions.h
  44. +5 −5 TWToolkit/NSString+TWToolkitAdditions.m → SSToolkit/NSString+SSToolkitAdditions.m
  45. +13 −0 SSToolkit/NSURL+SSToolkitAdditions.h
  46. +5 −5 TWToolkit/NSURL+TWToolkitAdditions.m → SSToolkit/NSURL+SSToolkitAdditions.m
  47. +23 −0 SSToolkit/SSCategories.h
  48. +3 −3 TWToolkit/TWConcurrentOperation.h → SSToolkit/SSConcurrentOperation.h
  49. +5 −5 TWToolkit/TWConcurrentOperation.m → SSToolkit/SSConcurrentOperation.m
  50. +3 −3 TWToolkit/TWDrawingMacros.h → SSToolkit/SSDrawingMacros.h
  51. +4 −4 TWToolkit/TWGradientView.h → SSToolkit/SSGradientView.h
  52. +12 −12 TWToolkit/TWGradientView.m → SSToolkit/SSGradientView.m
  53. +4 −4 TWToolkit/TWHUDView.h → SSToolkit/SSHUDView.h
  54. +6 −6 TWToolkit/TWHUDView.m → SSToolkit/SSHUDView.m
  55. +4 −4 TWToolkit/TWIndicatorLabel.h → SSToolkit/SSIndicatorLabel.h
  56. +5 −5 TWToolkit/TWIndicatorLabel.m → SSToolkit/SSIndicatorLabel.m
  57. +8 −8 TWToolkit/TWKeychain.h → SSToolkit/SSKeychain.h
  58. +15 −15 TWToolkit/TWKeychain.m → SSToolkit/SSKeychain.m
  59. +24 −0 SSToolkit/SSLabel.h
  60. +8 −8 TWToolkit/TWLabel.m → SSToolkit/SSLabel.m
  61. +4 −4 TWToolkit/TWLineView.h → SSToolkit/SSLineView.h
  62. +5 −5 TWToolkit/TWLineView.m → SSToolkit/SSLineView.m
  63. +4 −4 TWToolkit/TWLoadingView.h → SSToolkit/SSLoadingView.h
  64. +4 −4 TWToolkit/TWLoadingView.m → SSToolkit/SSLoadingView.m
  65. +24 −0 SSToolkit/SSMessageTableViewCell.h
  66. +8 −8 TWToolkit/TWMessageTableViewCell.m → SSToolkit/SSMessageTableViewCell.m
  67. +25 −0 SSToolkit/SSMessageTableViewCellBubbleView.h
  68. +12 −12 TWToolkit/TWMessageTableViewCellBubbleView.m → SSToolkit/SSMessageTableViewCellBubbleView.m
  69. +7 −7 TWToolkit/TWMessagesViewController.h → SSToolkit/SSMessagesViewController.h
  70. +19 −19 TWToolkit/TWMessagesViewController.m → SSToolkit/SSMessagesViewController.m
  71. +6 −6 TWToolkit/TWModalViewController.h → SSToolkit/SSModalViewController.h
  72. +4 −4 TWToolkit/TWPickerViewController.h → SSToolkit/SSPickerViewController.h
  73. +6 −6 TWToolkit/TWPickerViewController.m → SSToolkit/SSPickerViewController.m
  74. +4 −4 TWToolkit/TWPieProgressView.h → SSToolkit/SSPieProgressView.h
  75. +6 −6 TWToolkit/TWPieProgressView.m → SSToolkit/SSPieProgressView.m
  76. +4 −4 TWToolkit/TWTextField.h → SSToolkit/SSTextField.h
  77. +5 −5 TWToolkit/TWTextField.m → SSToolkit/SSTextField.m
  78. +4 −4 TWToolkit/TWTextView.h → SSToolkit/SSTextView.h
  79. +6 −6 TWToolkit/TWTextView.m → SSToolkit/SSTextView.m
  80. +32 −0 SSToolkit/SSToolkit.h
  81. +9 −9 TWToolkit/TWViewController.h → SSToolkit/SSViewController.h
  82. +21 −21 TWToolkit/TWViewController.m → SSToolkit/SSViewController.m
  83. +19 −19 TWToolkit/TWWebView.h → SSToolkit/SSWebView.h
  84. +19 −19 TWToolkit/TWWebView.m → SSToolkit/SSWebView.m
  85. +13 −0 SSToolkit/UIColor+SSToolkitAdditions.h
  86. +17 −0 SSToolkit/UIColor+SSToolkitAdditions.m
  87. +13 −0 SSToolkit/UIControl+SSToolkitAdditions.h
  88. +5 −5 TWToolkit/UIControl+TWToolkitAdditions.m → SSToolkit/UIControl+SSToolkitAdditions.m
  89. +13 −0 SSToolkit/UIDevice+SSToolkitAdditions.h
  90. +20 −0 SSToolkit/UIDevice+SSToolkitAdditions.m
  91. +4 −4 TWToolkit/UIImage+TWToolkitAdditions.h → SSToolkit/UIImage+SSToolkitAdditions.h
  92. +5 −5 TWToolkit/UIImage+TWToolkitAdditions.m → SSToolkit/UIImage+SSToolkitAdditions.m
  93. +14 −0 SSToolkit/UIScrollView+SSToolkitAdditions.h
  94. +5 −5 TWToolkit/UIScrollView+TWToolkitAdditions.m → SSToolkit/UIScrollView+SSToolkitAdditions.m
  95. +2 −2 TWToolkit/UIView+TWToolkitAdditions.h → SSToolkit/UIView+SSToolkitAdditions.h
  96. +5 −5 TWToolkit/UIView+TWToolkitAdditions.m → SSToolkit/UIView+SSToolkitAdditions.m
  97. +14 −0 SSToolkit/UIViewController+SSToolkitAdditions.h
  98. +5 −5 TWToolkit/UIViewController+TWToolkitAdditions.m → SSToolkit/UIViewController+SSToolkitAdditions.m
  99. +0 −20 TWCatalog/Classes/TCGradientViewDemoViewController.h
  100. +0 −21 TWCatalog/Classes/TCHUDViewDemoViewController.h
  101. +0 −15 TWCatalog/Classes/TCLineViewDemoViewController.h
  102. +0 −17 TWCatalog/Classes/TCMessagesDemoViewController.h
  103. +0 −15 TWCatalog/Classes/TCPickerDetailViewController.h
  104. +0 −21 TWCatalog/Classes/TCPieProgressViewDemoViewController.h
  105. +0 −14 TWCatalog/Classes/TCRootViewController.h
  106. +0 −14 TWCatalog/Other Sources/TWCatalog_Prefix.pch
  107. BIN TWCatalog/Resources/placeholder.png
  108. +0 −564 TWToolkit.xcodeproj/project.pbxproj
  109. +0 −13 TWToolkit/NSArray+TWToolkitAdditions.h
  110. +0 −13 TWToolkit/NSData+TWToolkitAdditions.h
  111. +0 −13 TWToolkit/NSURL+TWToolkitAdditions.h
  112. +0 −23 TWToolkit/TWCategories.h
  113. +0 −24 TWToolkit/TWLabel.h
  114. +0 −24 TWToolkit/TWMessageTableViewCell.h
  115. +0 −25 TWToolkit/TWMessageTableViewCellBubbleView.h
  116. +0 −32 TWToolkit/TWToolkit.h
  117. +0 −13 TWToolkit/UIColor+TWToolkitAdditions.h
  118. +0 −17 TWToolkit/UIColor+TWToolkitAdditions.m
  119. +0 −13 TWToolkit/UIControl+TWToolkitAdditions.h
  120. +0 −13 TWToolkit/UIDevice+TWToolkitAdditions.h
  121. +0 −20 TWToolkit/UIDevice+TWToolkitAdditions.m
  122. +0 −14 TWToolkit/UIScrollView+TWToolkitAdditions.h
  123. +0 −14 TWToolkit/UIViewController+TWToolkitAdditions.h
View
@@ -1,4 +1,4 @@
-Copyright (c) 2010 Tasteful Works, Inc.
+Copyright (c) 2010 Sam Soffes
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -0,0 +1,13 @@
+//
+// SSToolkit_Prefix.pch
+// SSToolkit
+//
+// Created by Sam Soffes on 9/9/09.
+// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+//
+// Prefix header for all source files of the 'SSToolkit' target in the 'SSToolkit' project.
+//
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+#endif
@@ -1,14 +0,0 @@
-//
-// TWToolkit_Prefix.pch
-// TWToolkit
-//
-// Created by Sam Soffes on 9/9/09.
-// Copyright 2009 Tasteful Works, Inc. All rights reserved.
-//
-// Prefix header for all source files of the 'TWToolkit' target in the 'TWToolkit' project.
-//
-
-#ifdef __OBJC__
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
-#endif
View
@@ -1,83 +1,82 @@
-# TWToolkit
+# SSToolkit
-TWToolkit makes life easier. It is made up of various view controllers, views, and categories that we use at [Tasteful Works][] for our apps. Feel free to fork the repo and help us make it better.
+SSToolkit makes life easier. It is made up of various view controllers, views, and categories that I use in all of my apps. Feel free to fork the repo and make it better.
## Classes
### View Controllers
-* [TWViewController][] - custom modal craziness
-* [TWPickerViewController][] - easily create picker view controllers like the Settings app
-* [TWMessagesViewController][] - simple message UI like the built-in SMS app
+* [SSViewController][] - custom modal craziness
+* [SSPickerViewController][] - easily create picker view controllers like the Settings app
+* [SSMessagesViewController][] - simple message UI like the built-in SMS app
### Views
-* [TWGradientView][] - easily create gradients with optional borders and insets
-* [TWHUDView][] - simple heads-up display
-* [TWLabel][] - ever wanted to align your text to the top or the bottom
-* [TWLineView][] - easily create lines with an inset
-* [TWLoadingView][] - flexible loading view
-* [TWPieProgressView][] - pie chart style progress bar similar to the one in Xcode's status bar
-* [TWTextField][] - simply add edge insets
-* [TWWebView][] - handy delegate additions and control over shadows and scroll (still betay)
+* [SSGradientView][] - easily create gradients with optional borders and insets
+* [SSHUDView][] - simple heads-up display
+* [SSLabel][] - ever wanted to align your text to the top or the bottom
+* [SSLineView][] - easily create lines with an inset
+* [SSLoadingView][] - flexible loading view
+* [SSPieProgressView][] - pie chart style progress bar similar to the one in Xcode's status bar
+* [SSTextField][] - simply add edge insets
+* [SSWebView][] - handy delegate additions and control over shadows and scroll (still betay)
### Categories
-[Several categories](http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWCategories.h) are included and used throughout TWToolkit.
+[Several categories](http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSCategories.h) are included and used throughout SSToolkit.
-## Adding TWToolkit to your project
+## Adding SSToolkit to your project
1. Run the following command to add the submodule. Be sure you have been added to the project on GitHub.
- git submodule add git://github.com/tastefulworks/twtoolkit.git Frameworks/TWToolkit
+ git submodule add git://github.com/samsoffes/sstoolkit.git Frameworks/SSToolkit
-2. In Finder, navigate to the `Frameworks/TWToolkit` folder and drag the `xcodeproj` file into the `Frameworks` folder in your Xcode project.
+2. In Finder, navigate to the `Frameworks/SSToolkit` folder and drag the `xcodeproj` file into the `Frameworks` folder in your Xcode project.
-3. In Finder, drag `TWToolkit.bundle` located in `Frameworks/TWToolkit/Resources` into the `Resources` folder in your Xcode project.
+3. In Finder, drag `SSToolkit.bundle` located in `Frameworks/SSToolkit/Resources` into the `Resources` folder in your Xcode project.
-4. Select the TWToolkit Xcode project from the sidebar in Xcode. In the file browser on the right in Xcode, click the checkbox next to `libTWToolkit.a`. (If you don't see the file browser, hit Command-Shift-E to toggle it on.)
+4. Select the SSToolkit Xcode project from the sidebar in Xcode. In the file browser on the right in Xcode, click the checkbox next to `libSSToolkit.a`. (If you don't see the file browser, hit Command-Shift-E to toggle it on.)
5. Select your target from the sidebar and open Get Info (Command-I).
6. Choose the *General* tab from the top.
-7. Under the *Direct Dependencies* area, click the plus button, select *TWToolkit* from the menu, and choose *Add Target*.
+7. Under the *Direct Dependencies* area, click the plus button, select *SSToolkit* from the menu, and choose *Add Target*.
8. Choose the build tab from the top of the window. Make sure the configuration dropdown at the top is set to *All Configurations*.
-9. Add `Frameworks/TWToolkit` to *Header Search Path* (do not click the *Recursive* checkbox).
+9. Add `Frameworks/SSToolkit` to *Header Search Path* (do not click the *Recursive* checkbox).
10. Add `-all_load -ObjC` to *Other Linker Flags*.
## Usage
-To use TWToolkit, simply add the following line to your source file.
+To use SSToolkit, simply add the following line to your source file.
- #import <TWToolkit/TWToolkit.h>
+ #import <SSToolkit/SSToolkit.h>
You can also import individual files instead of the whole framework (for faster compile times) by doing something like:
- #import <TWToolkit/TWLoadingView.h>
+ #import <SSToolkit/SSLoadingView.h>
## Demo
-[TWCatalog][] is include with TWToolkit. This is a sample iPhone application to demonstrate the various features of TWToolkit.
+[SSCatalog][] is include with SSToolkit. This is a sample iPhone application to demonstrate the various features of SSToolkit.
## Links
-* [Known bugs](http://github.com/tastefulworks/twtoolkit/issues/labels/Bug)
-* [Future features](http://github.com/tastefulworks/twtoolkit/issues/labels/Enhancement)
-
-[Tasteful Works]: http://tastefulworks.com/
-[TWViewController]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWViewController.h
-[TWPickerViewController]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWPickerViewController.h
-[TWMessagesViewController]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWMessagesViewController.h
-[TWHUDView]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWHUDView.h
-[TWGradientView]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWGradientView.h
-[TWLabel]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWLabel.h
-[TWLineView]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWLineView.h
-[TWLoadingView]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWLoadingView.h
-[TWPieProgressView]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWPieProgressView.h
-[TWTextField]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWTextField.h
-[TWWebView]: http://github.com/tastefulworks/twtoolkit/blob/master/TWToolkit/TWWebView.h
-[TWCatalog]: https://github.com/tastefulworks/twtoolkit/tree/master/TWCatalog/
+* [Known bugs](http://github.com/samsoffes/sstoolkit/issues/labels/Bug)
+* [Future features](http://github.com/samsoffes/sstoolkit/issues/labels/Enhancement)
+
+[SSViewController]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSViewController.h
+[SSPickerViewController]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSPickerViewController.h
+[SSMessagesViewController]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSMessagesViewController.h
+[SSHUDView]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSHUDView.h
+[SSGradientView]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSGradientView.h
+[SSLabel]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSLabel.h
+[SSLineView]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSLineView.h
+[SSLoadingView]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSLoadingView.h
+[SSPieProgressView]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSPieProgressView.h
+[SSTextField]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSTextField.h
+[SSWebView]: http://github.com/samsoffes/sstoolkit/blob/master/SSToolkit/SSWebView.h
+[SSCatalog]: https://github.com/samsoffes/sstoolkit/tree/master/SSCatalog/
@@ -1,12 +1,12 @@
//
-// TCAppDelegate.h
-// TWCatalog
+// SCAppDelegate.h
+// SSCatalog
//
// Created by Sam Soffes on 9/21/09.
-// Copyright 2009 Tasteful Works, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes, Inc. All rights reserved.
//
-@interface TCAppDelegate : NSObject <UIApplicationDelegate> {
+@interface SCAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
UINavigationController *navigationController;
@@ -1,15 +1,15 @@
//
-// TCAppDelegate.m
-// TWCatalog
+// SCAppDelegate.m
+// SSCatalog
//
// Created by Sam Soffes on 9/21/09.
-// Copyright 2009 Tasteful Works, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes, Inc. All rights reserved.
//
-#import "TCAppDelegate.h"
-#import "TCRootViewController.h"
+#import "SCAppDelegate.h"
+#import "SCRootViewController.h"
-@implementation TCAppDelegate
+@implementation SCAppDelegate
@synthesize window;
@synthesize navigationController;
@@ -33,7 +33,7 @@ - (void)applicationDidFinishLaunching:(UIApplication *)application {
window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
- TCRootViewController *viewController = [[TCRootViewController alloc] initWithStyle:UITableViewStyleGrouped];
+ SCRootViewController *viewController = [[SCRootViewController alloc] initWithStyle:UITableViewStyleGrouped];
UINavigationController *aNavigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
self.navigationController = aNavigationController;
@@ -0,0 +1,20 @@
+//
+// SCGradientViewDemoViewController.h
+// SSCatalog
+//
+// Created by Sam Soffes on 10/27/09.
+// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+//
+
+@class SSGradientView;
+
+@interface SCGradientViewDemoViewController : UIViewController {
+
+ SSGradientView *gradientView;
+}
+
++ (NSString *)title;
+
+- (void)changeColor:(id)sender;
+
+@end
@@ -1,15 +1,15 @@
//
-// TCGradientViewDemoViewController.m
-// TWCatalog
+// SCGradientViewDemoViewController.m
+// SSCatalog
//
// Created by Sam Soffes on 10/27/09.
-// Copyright 2009 Tasteful Works, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes, Inc. All rights reserved.
//
-#import "TCGradientViewDemoViewController.h"
-#import "TWToolkit/TWGradientView.h"
+#import "SCGradientViewDemoViewController.h"
+#import <SSToolkit/SSGradientView.h>
-@implementation TCGradientViewDemoViewController
+@implementation SCGradientViewDemoViewController
#pragma mark -
#pragma mark Class Methods
@@ -40,7 +40,7 @@ - (void)viewDidLoad {
self.view.backgroundColor = [UIColor whiteColor];
// Gradient view
- gradientView = [[TWGradientView alloc] initWithFrame:CGRectMake(20.0, 20.0, 280.0, 280.0)];
+ gradientView = [[SSGradientView alloc] initWithFrame:CGRectMake(20.0, 20.0, 280.0, 280.0)];
[self.view addSubview:gradientView];
UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
@@ -57,12 +57,12 @@ - (void)viewDidLoad {
#pragma mark -
- (void)changeColor:(id)sender {
- if ([gradientView.topColor isEqual:[TWGradientView defaultTopColor]]) {
+ if ([gradientView.topColor isEqual:[SSGradientView defaultTopColor]]) {
gradientView.topColor = [UIColor whiteColor];
gradientView.bottomColor = [UIColor grayColor];
} else {
- gradientView.topColor = [TWGradientView defaultTopColor];
- gradientView.bottomColor = [TWGradientView defaultBottomColor];
+ gradientView.topColor = [SSGradientView defaultTopColor];
+ gradientView.bottomColor = [SSGradientView defaultBottomColor];
}
}
@@ -0,0 +1,21 @@
+//
+// SCHUDViewDemoViewController.h
+// SSCatalog
+//
+// Created by Sam Soffes on 11/18/09.
+// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+//
+
+@class SSHUDView;
+
+@interface SCHUDViewDemoViewController : UIViewController {
+
+ SSHUDView *hud;
+}
+
++ (NSString *)title;
+
+- (void)complete:(id)sender;
+- (void)pop:(id)sender;
+
+@end
@@ -1,15 +1,15 @@
//
-// TCHUDViewDemoViewController.m
-// TWCatalog
+// SCHUDViewDemoViewController.m
+// SSCatalog
//
// Created by Sam Soffes on 11/18/09.
-// Copyright 2009 Tasteful Works, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes, Inc. All rights reserved.
//
-#import "TCHUDViewDemoViewController.h"
-#import <TWToolkit/TWToolkit.h>
+#import "SCHUDViewDemoViewController.h"
+#import <SSToolkit/SSToolkit.h>
-@implementation TCHUDViewDemoViewController
+@implementation SCHUDViewDemoViewController
#pragma mark -
#pragma mark Class Methods
@@ -41,7 +41,7 @@ - (void)viewDidLoad {
self.view.backgroundColor = [UIColor whiteColor];
// Show HUD
- hud = [[TWHUDView alloc] initWithTitle:@"Custom Message"];
+ hud = [[SSHUDView alloc] initWithTitle:@"Custom Message"];
[hud show];
// After 3 seconds, complete action
@@ -0,0 +1,15 @@
+//
+// SCLineViewDemoViewController.h
+// SSCatalog
+//
+// Created by Sam Soffes on 4/19/10.
+// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+//
+
+@interface SCLineViewDemoViewController : UIViewController {
+
+}
+
++ (NSString *)title;
+
+@end
@@ -1,15 +1,15 @@
//
-// TCLineViewDemoViewController.m
-// TWCatalog
+// SCLineViewDemoViewController.m
+// SSCatalog
//
// Created by Sam Soffes on 4/19/10.
-// Copyright 2010 Tasteful Works, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes, Inc. All rights reserved.
//
-#import "TCLineViewDemoViewController.h"
-#import <TWToolkit/TWToolkit.h>
+#import "SCLineViewDemoViewController.h"
+#import <SSToolkit/SSToolkit.h>
-@implementation TCLineViewDemoViewController
+@implementation SCLineViewDemoViewController
#pragma mark -
#pragma mark Class Methods
@@ -29,11 +29,11 @@ - (void)viewDidLoad {
self.title = [[self class] title];
self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];
- TWLineView *lineView1 = [[TWLineView alloc] initWithFrame:CGRectMake(20.0, 20.0, 280.0, 2.0)];
+ SSLineView *lineView1 = [[SSLineView alloc] initWithFrame:CGRectMake(20.0, 20.0, 280.0, 2.0)];
[self.view addSubview:lineView1];
[lineView1 release];
- TWLineView *lineView2 = [[TWLineView alloc] initWithFrame:CGRectMake(20.0, 42.0, 280.0, 2.0)];
+ SSLineView *lineView2 = [[SSLineView alloc] initWithFrame:CGRectMake(20.0, 42.0, 280.0, 2.0)];
lineView2.lineColor = [UIColor blueColor];
[self.view addSubview:lineView2];
[lineView2 release];
@@ -0,0 +1,17 @@
+//
+// SCMessagesDemoViewController.h
+// SSCataglog
+//
+// Created by Sam Soffes on 3/10/10.
+// Copyright 2010 Sam Soffes. All rights reserved.
+//
+
+#import <SSToolkit/SSToolkit.h>
+
+@interface SCMessagesDemoViewController : SSMessagesViewController {
+
+}
+
++ (NSString *)title;
+
+@end
Oops, something went wrong.

0 comments on commit f3d43b6

Please sign in to comment.