Skip to content

Commit 4bd66d1

Browse files
committed
tabs to spaces
1 parent 28d03b2 commit 4bd66d1

19 files changed

+3755
-3755
lines changed

AccountHistoryCell.xib

+485-485
Large diffs are not rendered by default.

Allowance-Info.plist

+33-33
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,38 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>CFBundleDevelopmentRegion</key>
6-
<string>English</string>
7-
<key>CFBundleDisplayName</key>
8-
<string>Kiddy Bank</string>
9-
<key>CFBundleExecutable</key>
10-
<string>${EXECUTABLE_NAME}</string>
11-
<key>CFBundleIconFiles</key>
12-
<array>
13-
<string>Icon.png</string>
14-
<string>[email protected]</string>
15-
</array>
16-
<key>CFBundleIdentifier</key>
17-
<string>com.trickbot.ios.allowance</string>
18-
<key>CFBundleInfoDictionaryVersion</key>
19-
<string>6.0</string>
20-
<key>CFBundleName</key>
21-
<string>${PRODUCT_NAME}</string>
22-
<key>CFBundlePackageType</key>
23-
<string>APPL</string>
24-
<key>CFBundleShortVersionString</key>
25-
<string>1.1</string>
26-
<key>CFBundleSignature</key>
27-
<string>????</string>
28-
<key>CFBundleVersion</key>
29-
<string>1.1</string>
30-
<key>LSRequiresIPhoneOS</key>
31-
<true/>
32-
<key>NSMainNibFile</key>
33-
<string>MainWindow</string>
34-
<key>UILaunchImageFile~iphone</key>
35-
<string>Default</string>
36-
<key>UIPrerenderedIcon</key>
37-
<true/>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>English</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>Kiddy Bank</string>
9+
<key>CFBundleExecutable</key>
10+
<string>${EXECUTABLE_NAME}</string>
11+
<key>CFBundleIconFiles</key>
12+
<array>
13+
<string>Icon.png</string>
14+
<string>[email protected]</string>
15+
</array>
16+
<key>CFBundleIdentifier</key>
17+
<string>com.trickbot.ios.allowance</string>
18+
<key>CFBundleInfoDictionaryVersion</key>
19+
<string>6.0</string>
20+
<key>CFBundleName</key>
21+
<string>${PRODUCT_NAME}</string>
22+
<key>CFBundlePackageType</key>
23+
<string>APPL</string>
24+
<key>CFBundleShortVersionString</key>
25+
<string>1.1</string>
26+
<key>CFBundleSignature</key>
27+
<string>????</string>
28+
<key>CFBundleVersion</key>
29+
<string>1.1</string>
30+
<key>LSRequiresIPhoneOS</key>
31+
<true/>
32+
<key>NSMainNibFile</key>
33+
<string>MainWindow</string>
34+
<key>UILaunchImageFile~iphone</key>
35+
<string>Default</string>
36+
<key>UIPrerenderedIcon</key>
37+
<true/>
3838
</dict>
3939
</plist>

AllowanceAppDelegate.m

+26-26
Original file line numberDiff line numberDiff line change
@@ -64,32 +64,32 @@ + (UIButton *)newButtonWithTitle:(NSString *)title
6464
imagePressed:(UIImage *)imagePressed
6565
darkTextColor:(BOOL)darkTextColor
6666
{
67-
UIButton *button = [[UIButton alloc] initWithFrame:frame];
68-
// or you can do this:
69-
// UIButton *button = [[UIButton buttonWithType:UIButtonTypeCustom] retain];
70-
71-
button.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
72-
button.contentHorizontalAlignment = UIControlContentHorizontalAlignmentCenter;
73-
74-
[button setTitle:title forState:UIControlStateNormal];
75-
if (darkTextColor) {
76-
[button setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
77-
} else {
78-
[button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
79-
}
80-
81-
UIImage *newImage = [image stretchableImageWithLeftCapWidth:12.0 topCapHeight:0.0];
82-
[button setBackgroundImage:newImage forState:UIControlStateNormal];
83-
84-
UIImage *newPressedImage = [imagePressed stretchableImageWithLeftCapWidth:12.0 topCapHeight:0.0];
85-
[button setBackgroundImage:newPressedImage forState:UIControlStateHighlighted];
86-
87-
[button addTarget:target action:selector forControlEvents:UIControlEventTouchUpInside];
88-
67+
UIButton *button = [[UIButton alloc] initWithFrame:frame];
68+
// or you can do this:
69+
// UIButton *button = [[UIButton buttonWithType:UIButtonTypeCustom] retain];
70+
71+
button.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
72+
button.contentHorizontalAlignment = UIControlContentHorizontalAlignmentCenter;
73+
74+
[button setTitle:title forState:UIControlStateNormal];
75+
if (darkTextColor) {
76+
[button setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
77+
} else {
78+
[button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
79+
}
80+
81+
UIImage *newImage = [image stretchableImageWithLeftCapWidth:12.0 topCapHeight:0.0];
82+
[button setBackgroundImage:newImage forState:UIControlStateNormal];
83+
84+
UIImage *newPressedImage = [imagePressed stretchableImageWithLeftCapWidth:12.0 topCapHeight:0.0];
85+
[button setBackgroundImage:newPressedImage forState:UIControlStateHighlighted];
86+
87+
[button addTarget:target action:selector forControlEvents:UIControlEventTouchUpInside];
88+
8989
// in case the parent view draws with a custom color or gradient, use a transparent color
90-
button.backgroundColor = [UIColor clearColor];
91-
92-
return button;
90+
button.backgroundColor = [UIColor clearColor];
91+
92+
return button;
9393
}
9494

9595
static NSNumber *numCentPlaces;
@@ -163,7 +163,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
163163
[window addSubview:navController.view];
164164
[window makeKeyAndVisible];
165165
[self setupDefaults];
166-
return YES;
166+
return YES;
167167
}
168168

169169
- (void)applicationSignificantTimeChange:(UIApplication *)application {

0 commit comments

Comments
 (0)