Permalink
Browse files

* Fixed build settings

* Updated drawing macros
* Updated comments
  • Loading branch information...
1 parent 29f476d commit f17ed170142c999c4539cbf550f11e88f4b9c020 @soffes soffes committed Aug 20, 2010
Showing with 98 additions and 59 deletions.
  1. +1 −1 Other Sources/SSToolkit_Prefix.pch
  2. +1 −1 SSToolkit.xcodeproj/project.pbxproj
  3. +1 −1 SSToolkit/NSArray+SSToolkitAdditions.h
  4. +1 −1 SSToolkit/NSArray+SSToolkitAdditions.m
  5. +1 −1 SSToolkit/NSData+SSToolkitAdditions.h
  6. +1 −1 SSToolkit/NSData+SSToolkitAdditions.m
  7. +1 −1 SSToolkit/NSDate+SSToolkitAdditions.h
  8. +1 −1 SSToolkit/NSDate+SSToolkitAdditions.m
  9. +1 −1 SSToolkit/NSString+SSToolkitAdditions.h
  10. +1 −1 SSToolkit/NSString+SSToolkitAdditions.m
  11. +1 −1 SSToolkit/NSURL+SSToolkitAdditions.h
  12. +1 −1 SSToolkit/NSURL+SSToolkitAdditions.m
  13. +1 −1 SSToolkit/SSCategories.h
  14. +44 −5 SSToolkit/SSDrawingMacros.h
  15. +1 −1 SSToolkit/SSGradientView.h
  16. +1 −1 SSToolkit/SSGradientView.m
  17. +1 −1 SSToolkit/SSHUDView.h
  18. +1 −1 SSToolkit/SSHUDView.m
  19. +1 −1 SSToolkit/SSIndicatorLabel.h
  20. +1 −1 SSToolkit/SSIndicatorLabel.m
  21. +1 −1 SSToolkit/SSKeychain.h
  22. +1 −1 SSToolkit/SSKeychain.m
  23. +1 −1 SSToolkit/SSLabel.h
  24. +1 −1 SSToolkit/SSLabel.m
  25. +1 −1 SSToolkit/SSLineView.h
  26. +1 −1 SSToolkit/SSLineView.m
  27. +1 −1 SSToolkit/SSLoadingView.h
  28. +1 −1 SSToolkit/SSLoadingView.m
  29. +1 −1 SSToolkit/SSPickerViewController.h
  30. +1 −1 SSToolkit/SSPickerViewController.m
  31. +1 −1 SSToolkit/SSPieProgressView.h
  32. +1 −1 SSToolkit/SSPieProgressView.m
  33. +1 −1 SSToolkit/SSTextField.h
  34. +1 −1 SSToolkit/SSTextField.m
  35. +1 −1 SSToolkit/SSTextView.h
  36. +1 −1 SSToolkit/SSTextView.m
  37. +1 −1 SSToolkit/SSToolkit.h
  38. +4 −4 SSToolkit/SSViewController.m
  39. +1 −1 SSToolkit/SSWebView.h
  40. +1 −1 SSToolkit/SSWebView.m
  41. +1 −1 SSToolkit/UIColor+SSToolkitAdditions.h
  42. +1 −1 SSToolkit/UIColor+SSToolkitAdditions.m
  43. +1 −1 SSToolkit/UIControl+SSToolkitAdditions.h
  44. +1 −1 SSToolkit/UIControl+SSToolkitAdditions.m
  45. +1 −1 SSToolkit/UIDevice+SSToolkitAdditions.h
  46. +1 −1 SSToolkit/UIDevice+SSToolkitAdditions.m
  47. +1 −1 SSToolkit/UIImage+SSToolkitAdditions.h
  48. +1 −1 SSToolkit/UIImage+SSToolkitAdditions.m
  49. +1 −1 SSToolkit/UIScrollView+SSToolkitAdditions.h
  50. +1 −1 SSToolkit/UIScrollView+SSToolkitAdditions.m
  51. +1 −1 SSToolkit/UIViewController+SSToolkitAdditions.h
  52. +1 −1 SSToolkit/UIViewController+SSToolkitAdditions.m
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 9/9/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
// Prefix header for all source files of the 'SSToolkit' target in the 'SSToolkit' project.
//
@@ -437,7 +437,7 @@
DSTROOT = /tmp/TWToolkit.dst;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "Other Sources/TWToolkit_Prefix.pch";
+ GCC_PREFIX_HEADER = "Other Sources/SSToolkit_Prefix.pch";
HEADER_SEARCH_PATHS = /usr/include/libxml2;
INSTALL_PATH = /usr/local/lib;
LD_OPENMP_FLAGS = "-fopenmp -lxml2";
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 8/19/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
@interface NSArray (SSToolkitAdditions)
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 8/19/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
#import "NSArray+SSToolkitAdditions.h"
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 9/29/08.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
@interface NSData (SSToolkitAdditions)
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 9/29/08.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
#import "NSData+SSToolkitAdditions.h"
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 5/26/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
@interface NSDate (SSToolkitAdditions)
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 5/26/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
#import "NSDate+SSToolkitAdditions.h"
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 6/22/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
@interface NSString (SSToolkitAdditions)
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 6/22/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
#import "NSString+SSToolkitAdditions.h"
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 4/27/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
@interface NSURL (SSToolkitAdditions)
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 4/27/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
#import "NSURL+SSToolkitAdditions.h"
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 9/17/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
// Foundation
@@ -3,13 +3,52 @@
// SSToolkit
//
// Created by Sam Soffes on 4/22/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
-#ifndef DEGREES_TO_RADIANS
-#define DEGREES_TO_RADIANS(d) ((d) * 0.0174532925199432958)
-#endif
+#ifndef SSDRAWINGMACROS
+#define SSDRAWINGMACROS
-#ifndef RADIANS_TO_DEGREES
+#define DEGREES_TO_RADIANS(d) ((d) * 0.0174532925199432958)
#define RADIANS_TO_DEGREES(r) ((r) * 57.29577951308232)
+
+//CGRect CGRectSetX(CGRect rect, CGFloat x) {
+// return CGRectMake(x, rect.origin.y, rect.size.width, rect.size.height);
+//}
+//
+//
+//CGRect CGRectSetY(CGRect rect, CGFloat y) {
+// return CGRectMake(rect.origin.x, y, rect.size.width, rect.size.height);
+//}
+//
+//
+//CGRect CGRectSetWidth(CGRect rect, CGFloat width) {
+// return CGRectMake(rect.origin.x, rect.origin.y, width, rect.size.height);
+//}
+//
+//
+//CGRect CGRectSetHeight(CGRect rect, CGFloat height) {
+// return CGRectMake(rect.origin.x, rect.origin.y, rect.size.width, height);
+//}
+//
+//
+//CGRect CGRectSetOrigin(CGRect rect, CGSize size) {
+// return CGRectMake(rect.origin.x, rect.origin.y, size.width, size.height);
+//}
+//
+//
+//CGRect CGRectSetSize(CGRect rect, CGPoint origin) {
+// return CGRectMake(origin.x, origin.y, rect.size.width, rect.size.height);
+//}
+//
+//
+//CGRect CGRectSetZeroOrigin(CGRect rect) {
+// return CGRectMake(0.0, 0.0, rect.size.width, rect.size.height);
+//}
+//
+//
+//CGRect CGRectSetZeroSize(CGRect rect) {
+// return CGRectMake(rect.origin.x, rect.origin.y, 0.0, 0.0);
+//}
+
#endif
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 10/27/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
// Greatly inspired by BWGradientBox. http://brandonwalkin.com/bwtoolkit
//
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 10/27/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
#import "SSGradientView.h"
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 9/29/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
@interface SSHUDView : UIAlertView {
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 9/29/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
#import "SSHUDView.h"
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 7/13/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
@interface SSIndicatorLabel : UIView {
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 7/13/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
#import "SSIndicatorLabel.h"
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 5/19/10.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
enum {
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 5/19/10.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
#import "SSKeychain.h"
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 7/12/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
typedef enum {
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 7/12/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
#import "SSLabel.h"
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 4/12/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
@interface SSLineView : UIView {
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 4/12/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
#import "SSLineView.h"
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 7/8/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
@interface SSLoadingView : UIView {
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 7/8/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
#import "SSLoadingView.h"
@@ -9,7 +9,7 @@
// customize this class.
//
// Created by Sam Soffes on 10/9/08.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
@interface SSPickerViewController : UITableViewController {
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 10/9/08.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
#import "SSPickerViewController.h"
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 4/22/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
@interface SSPieProgressView : UIView {
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 4/22/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
#import "SSPieProgressView.h"
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 3/11/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
@interface SSTextField : UITextField {
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 3/11/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
#import "SSTextField.h"
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 8/18/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
@interface SSTextView : UITextView {
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 8/18/10.
-// Copyright 2010 Sam Soffes, Inc. All rights reserved.
+// Copyright 2010 Sam Soffes. All rights reserved.
//
#import "SSTextView.h"
View
@@ -3,7 +3,7 @@
// SSToolkit
//
// Created by Sam Soffes on 3/19/09.
-// Copyright 2009 Sam Soffes, Inc. All rights reserved.
+// Copyright 2009 Sam Soffes. All rights reserved.
//
// Views
Oops, something went wrong.

0 comments on commit f17ed17

Please sign in to comment.