Skip to content
Browse files

Standardize whitespace on tabs

98% of the project was already using tabs. Fix the lines that were
indented with spaces and set the project setting to tabs.
  • Loading branch information...
1 parent a0eb6d9 commit daf8f15929e0ca7047dfbd09273af4b9beb8debf @kballard kballard committed Oct 29, 2011
View
2 FontLabel/Classes/FontLabel/FontLabelStringDrawing.m
@@ -457,7 +457,7 @@ static CGSize drawOrSizeTextConstrainedToSize(BOOL performDraw, NSString *string
READ_GLYPHS();
NSMutableCharacterSet *alphaCharset = [NSMutableCharacterSet alphanumericCharacterSet];
- [alphaCharset addCharactersInString:@"'\u2019\u02BC"]; // apostrophes
+ [alphaCharset addCharactersInString:@"'\u2019\u02BC"]; // apostrophes
// scan left-to-right looking for newlines or until we hit the width constraint
// When we hit a wrapping point, calculate truncation as follows:
View
4 FontLabel/Classes/FontLabelAppDelegate.h
@@ -25,8 +25,8 @@
@class FontLabelViewController;
@interface FontLabelAppDelegate : NSObject <UIApplicationDelegate> {
- UIWindow *window;
- FontLabelViewController *viewController;
+ UIWindow *window;
+ FontLabelViewController *viewController;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
View
12 FontLabel/Classes/FontLabelAppDelegate.m
@@ -38,16 +38,16 @@ - (void)applicationDidFinishLaunching:(UIApplication *)application {
[[FontManager sharedManager] loadFont:@"Schwarzwald Regular"];
[[FontManager sharedManager] loadFont:@"Scissor Cuts"];
- // Override point for customization after app launch
- [window addSubview:viewController.view];
- [window makeKeyAndVisible];
+ // Override point for customization after app launch
+ [window addSubview:viewController.view];
+ [window makeKeyAndVisible];
}
- (void)dealloc {
- [viewController release];
- [window release];
- [super dealloc];
+ [viewController release];
+ [window release];
+ [super dealloc];
}
View
2 FontLabel/Classes/FontLabelViewController.m
@@ -84,6 +84,6 @@ - (void)loadView {
}
- (void)dealloc {
- [super dealloc];
+ [super dealloc];
}
@end
View
1 FontLabel/FontLabel.xcodeproj/project.pbxproj
@@ -121,6 +121,7 @@
);
name = CustomTemplate;
sourceTree = "<group>";
+ usesTabs = 1;
};
29B97315FDCFA39411CA2CEA /* Other Sources */ = {
isa = PBXGroup;
View
4 FontLabel/FontLabel_Prefix.pch
@@ -3,6 +3,6 @@
//
#ifdef __OBJC__
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+ #import <UIKit/UIKit.h>
#endif
View
8 FontLabel/main.m
@@ -10,8 +10,8 @@
int main(int argc, char *argv[]) {
- NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
- int retVal = UIApplicationMain(argc, argv, nil, nil);
- [pool release];
- return retVal;
+ NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
+ int retVal = UIApplicationMain(argc, argv, nil, nil);
+ [pool release];
+ return retVal;
}

0 comments on commit daf8f15

Please sign in to comment.
Something went wrong with that request. Please try again.