Skip to content

Commit

Permalink
* Fixed build settings
Browse files Browse the repository at this point in the history
* Updated drawing macros
* Updated comments
  • Loading branch information
soffes committed Aug 20, 2010
1 parent 29f476d commit f17ed17
Show file tree
Hide file tree
Showing 52 changed files with 98 additions and 59 deletions.
2 changes: 1 addition & 1 deletion Other Sources/SSToolkit_Prefix.pch
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 9/9/09. // 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. // Prefix header for all source files of the 'SSToolkit' target in the 'SSToolkit' project.
// //
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit.xcodeproj/project.pbxproj
Expand Up @@ -437,7 +437,7 @@
DSTROOT = /tmp/TWToolkit.dst; DSTROOT = /tmp/TWToolkit.dst;
GCC_MODEL_TUNING = G5; GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES; 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; HEADER_SEARCH_PATHS = /usr/include/libxml2;
INSTALL_PATH = /usr/local/lib; INSTALL_PATH = /usr/local/lib;
LD_OPENMP_FLAGS = "-fopenmp -lxml2"; LD_OPENMP_FLAGS = "-fopenmp -lxml2";
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSArray+SSToolkitAdditions.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 8/19/09. // 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) @interface NSArray (SSToolkitAdditions)
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSArray+SSToolkitAdditions.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 8/19/09. // 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" #import "NSArray+SSToolkitAdditions.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSData+SSToolkitAdditions.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 9/29/08. // 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) @interface NSData (SSToolkitAdditions)
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSData+SSToolkitAdditions.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 9/29/08. // 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" #import "NSData+SSToolkitAdditions.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSDate+SSToolkitAdditions.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 5/26/10. // 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) @interface NSDate (SSToolkitAdditions)
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSDate+SSToolkitAdditions.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 5/26/10. // 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" #import "NSDate+SSToolkitAdditions.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSString+SSToolkitAdditions.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 6/22/09. // 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) @interface NSString (SSToolkitAdditions)
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSString+SSToolkitAdditions.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 6/22/09. // 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" #import "NSString+SSToolkitAdditions.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSURL+SSToolkitAdditions.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 4/27/10. // 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) @interface NSURL (SSToolkitAdditions)
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/NSURL+SSToolkitAdditions.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 4/27/10. // 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" #import "NSURL+SSToolkitAdditions.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSCategories.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 9/17/09. // Created by Sam Soffes on 9/17/09.
// Copyright 2009 Sam Soffes, Inc. All rights reserved. // Copyright 2009 Sam Soffes. All rights reserved.
// //


// Foundation // Foundation
Expand Down
49 changes: 44 additions & 5 deletions SSToolkit/SSDrawingMacros.h
Expand Up @@ -3,13 +3,52 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 4/22/10. // 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 #ifndef SSDRAWINGMACROS
#define DEGREES_TO_RADIANS(d) ((d) * 0.0174532925199432958) #define SSDRAWINGMACROS
#endif


#ifndef RADIANS_TO_DEGREES #define DEGREES_TO_RADIANS(d) ((d) * 0.0174532925199432958)
#define RADIANS_TO_DEGREES(r) ((r) * 57.29577951308232) #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 #endif
2 changes: 1 addition & 1 deletion SSToolkit/SSGradientView.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 10/27/09. // 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 // Greatly inspired by BWGradientBox. http://brandonwalkin.com/bwtoolkit
// //
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSGradientView.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 10/27/09. // 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" #import "SSGradientView.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSHUDView.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 9/29/09. // 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 { @interface SSHUDView : UIAlertView {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSHUDView.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 9/29/09. // 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" #import "SSHUDView.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSIndicatorLabel.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 7/13/10. // 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 { @interface SSIndicatorLabel : UIView {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSIndicatorLabel.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 7/13/10. // 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" #import "SSIndicatorLabel.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSKeychain.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 5/19/10. // Created by Sam Soffes on 5/19/10.
// Copyright 2009 Sam Soffes, Inc. All rights reserved. // Copyright 2009 Sam Soffes. All rights reserved.
// //


enum { enum {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSKeychain.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 5/19/10. // 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" #import "SSKeychain.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSLabel.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 7/12/10. // 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 { typedef enum {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSLabel.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 7/12/10. // 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" #import "SSLabel.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSLineView.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 4/12/10. // 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 { @interface SSLineView : UIView {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSLineView.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 4/12/10. // 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" #import "SSLineView.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSLoadingView.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 7/8/09. // 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 { @interface SSLoadingView : UIView {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSLoadingView.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 7/8/09. // 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" #import "SSLoadingView.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSPickerViewController.h
Expand Up @@ -9,7 +9,7 @@
// customize this class. // customize this class.
// //
// Created by Sam Soffes on 10/9/08. // 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 { @interface SSPickerViewController : UITableViewController {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSPickerViewController.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 10/9/08. // 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" #import "SSPickerViewController.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSPieProgressView.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 4/22/10. // 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 { @interface SSPieProgressView : UIView {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSPieProgressView.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 4/22/10. // 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" #import "SSPieProgressView.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSTextField.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 3/11/10. // 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 { @interface SSTextField : UITextField {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSTextField.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 3/11/10. // 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" #import "SSTextField.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSTextView.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 8/18/10. // 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 { @interface SSTextView : UITextView {
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSTextView.m
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 8/18/10. // 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" #import "SSTextView.h"
Expand Down
2 changes: 1 addition & 1 deletion SSToolkit/SSToolkit.h
Expand Up @@ -3,7 +3,7 @@
// SSToolkit // SSToolkit
// //
// Created by Sam Soffes on 3/19/09. // Created by Sam Soffes on 3/19/09.
// Copyright 2009 Sam Soffes, Inc. All rights reserved. // Copyright 2009 Sam Soffes. All rights reserved.
// //


// Views // Views
Expand Down

0 comments on commit f17ed17

Please sign in to comment.