Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…puts
  • Loading branch information...
commit faf0cf568e40f68f662503deec2c2cffd2915d4d 1 parent c43c5ea
@rickofullsail rickofullsail authored
View
BIN  arhatfso.xcodeproj/project.xcworkspace/xcuserdata/rosborne.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
5 arhatfso/AppDelegate.h
@@ -7,7 +7,12 @@
#import <UIKit/UIKit.h>
+@class LogInViewController;
+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
+{
+ __strong LogInViewController *logInViewController;
+}
@property (strong, nonatomic) UIWindow *window;
View
4 arhatfso/AppDelegate.m
@@ -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;
View
20 arhatfso/LogInViewController.xib
@@ -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,6 +86,7 @@
<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">
@@ -93,9 +94,8 @@
<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"/>
Please sign in to comment.
Something went wrong with that request. Please try again.