Permalink
Browse files

Okay, so clear buttons do not work all that well for centered-text in…

…puts
  • Loading branch information...
1 parent c43c5ea commit faf0cf568e40f68f662503deec2c2cffd2915d4d @rickofullsail rickofullsail committed May 27, 2012
View
@@ -7,7 +7,12 @@
#import <UIKit/UIKit.h>
+@class LogInViewController;
+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
+{
+ __strong LogInViewController *logInViewController;
+}
@property (strong, nonatomic) UIWindow *window;
View
@@ -6,6 +6,7 @@
//
#import "AppDelegate.h"
+#import "LogInViewController.h"
@implementation AppDelegate
@@ -18,6 +19,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
+
+ logInViewController = [[LogInViewController alloc] initWithNibName:nil bundle:nil];
+ [self.window addSubview:logInViewController.view];
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
return YES;
@@ -59,13 +59,13 @@
<float key="IBUIMinimumFontSize">10</float>
<int key="IBUITextAlignment">1</int>
<int key="IBUILineBreakMode">0</int>
- <object class="IBUIFontDescription" key="IBUIFontDescription" id="405909342">
+ <object class="IBUIFontDescription" key="IBUIFontDescription" id="896281734">
<int key="type">1</int>
- <double key="pointSize">14</double>
+ <double key="pointSize">17</double>
</object>
- <object class="NSFont" key="IBUIFont" id="305090332">
+ <object class="NSFont" key="IBUIFont" id="927940645">
<string key="NSName">Helvetica</string>
- <double key="NSSize">14</double>
+ <double key="NSSize">17</double>
<int key="NSfFlags">16</int>
</object>
</object>
@@ -86,16 +86,16 @@
<string key="IBUIPlaceholder">username</string>
<reference key="IBUITextColor" ref="991435286"/>
<int key="IBUITextAlignment">1</int>
+ <bool key="IBUIClearsOnBeginEditing">YES</bool>
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
<float key="IBUIMinimumFontSize">17</float>
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
<int key="IBUIAutocorrectionType">1</int>
<int key="IBUIReturnKeyType">4</int>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
- <int key="IBUIClearButtonMode">1</int>
- <reference key="IBUIFontDescription" ref="405909342"/>
- <reference key="IBUIFont" ref="305090332"/>
+ <reference key="IBUIFontDescription" ref="896281734"/>
+ <reference key="IBUIFont" ref="927940645"/>
</object>
<object class="IBUITextField" id="585540906">
<reference key="NSNextResponder" ref="191373211"/>
@@ -117,6 +117,7 @@
<bytes key="NSRGB">MC42NTQ5MDE5ODE0IDAuMjAzOTIxNTg2MyAwAA</bytes>
</object>
<int key="IBUITextAlignment">1</int>
+ <bool key="IBUIClearsOnBeginEditing">YES</bool>
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
<float key="IBUIMinimumFontSize">17</float>
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
@@ -126,9 +127,8 @@
<bool key="IBUISecureTextEntry">YES</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
- <int key="IBUIClearButtonMode">1</int>
- <reference key="IBUIFontDescription" ref="405909342"/>
- <reference key="IBUIFont" ref="305090332"/>
+ <reference key="IBUIFontDescription" ref="896281734"/>
+ <reference key="IBUIFont" ref="927940645"/>
</object>
<object class="IBUIButton" id="1011260551">
<reference key="NSNextResponder" ref="191373211"/>

0 comments on commit faf0cf5

Please sign in to comment.