From 71edb9035c7847ddef92b82620dbc9c3e4c4a588 Mon Sep 17 00:00:00 2001 From: Bereket Ghebremedhin Date: Sat, 6 Jun 2015 17:52:04 -0400 Subject: [PATCH] IfElse Clone COMMITED!!!! :D :D :D --- .../xcshareddata/IfElse.xccheckout | 20 ++-- .../UserInterfaceState.xcuserstate | Bin 0 -> 15093 bytes .../xcdebugger/Breakpoints_v2.xcbkptlist | 85 +++++++++++++ .../xcschemes/IfElse.xcscheme | 112 ++++++++++++++++++ .../xcschemes/xcschememanagement.plist | 27 +++++ IfElse/IfElse/Base.lproj/Main.storyboard | 61 +++++++--- IfElse/IfElse/ViewController.m | 23 ++-- 7 files changed, 295 insertions(+), 33 deletions(-) create mode 100644 IfElse/IfElse.xcodeproj/project.xcworkspace/xcuserdata/bereket.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 IfElse/IfElse.xcodeproj/xcuserdata/bereket.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist create mode 100644 IfElse/IfElse.xcodeproj/xcuserdata/bereket.xcuserdatad/xcschemes/IfElse.xcscheme create mode 100644 IfElse/IfElse.xcodeproj/xcuserdata/bereket.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/IfElse/IfElse.xcodeproj/project.xcworkspace/xcshareddata/IfElse.xccheckout b/IfElse/IfElse.xcodeproj/project.xcworkspace/xcshareddata/IfElse.xccheckout index c528788..7d0567e 100644 --- a/IfElse/IfElse.xcodeproj/project.xcworkspace/xcshareddata/IfElse.xccheckout +++ b/IfElse/IfElse.xcodeproj/project.xcworkspace/xcshareddata/IfElse.xccheckout @@ -7,34 +7,34 @@ IDESourceControlProjectIdentifier 1FB1EB48-B010-423E-B8FC-A6EF94AD96F8 IDESourceControlProjectName - project + IfElse IDESourceControlProjectOriginsDictionary - 871AD5BEB35E842816B7B3CF4033C4298E764D23 - https://github.com/accesscode-2-2/unit-0.git + BAD0033D05756E529C5FF0EABC2DBC15B8B8219E + https://github.com/bereket6725/IfElse.git IDESourceControlProjectPath - lessons/week-0/IfElse/IfElse.xcodeproj/project.xcworkspace + IfElse/IfElse.xcodeproj IDESourceControlProjectRelativeInstallPathDictionary - 871AD5BEB35E842816B7B3CF4033C4298E764D23 - ../../../../.. + BAD0033D05756E529C5FF0EABC2DBC15B8B8219E + ../../.. IDESourceControlProjectURL - https://github.com/accesscode-2-2/unit-0.git + https://github.com/bereket6725/IfElse.git IDESourceControlProjectVersion 111 IDESourceControlProjectWCCIdentifier - 871AD5BEB35E842816B7B3CF4033C4298E764D23 + BAD0033D05756E529C5FF0EABC2DBC15B8B8219E IDESourceControlProjectWCConfigurations IDESourceControlRepositoryExtensionIdentifierKey public.vcs.git IDESourceControlWCCIdentifierKey - 871AD5BEB35E842816B7B3CF4033C4298E764D23 + BAD0033D05756E529C5FF0EABC2DBC15B8B8219E IDESourceControlWCCName - unit-0 + IfElse diff --git a/IfElse/IfElse.xcodeproj/project.xcworkspace/xcuserdata/bereket.xcuserdatad/UserInterfaceState.xcuserstate b/IfElse/IfElse.xcodeproj/project.xcworkspace/xcuserdata/bereket.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..8d39431cc44bd92311d4734a3de6b84cd6c62007 GIT binary patch literal 15093 zcmb_?2V7HE`~Nw25E2N45J(6K*&!hWkd3w$5UA9JECELhaDiwbm;~H=Cpwbt(1U0ZAI-fCNGryc&z%}p3q-}n9h-xoega?iQXbIvoq&p4;C)9v#4 zGcw)=5DA^a4620w@2!n5!k{1IM&f51Np zilB*TB9<@_W+IcwBC?4bBA3V`@`(cC8lr@_ju=CXB`S$3qME29>WKzoGBJgiPBaq? z;URp)65=M}PU0@&ZsH!|UgADt9nnMd5`DyGVh`~Mv6pz1*hf4@JWd=S4iZlj&lAUp zH;6ZhvKam&6ixf?TQIV8{l2NIY zol2w9sSIiul}Tk$*;EddOBGY2sB)@?s->n-PRd2ipuCii@>6rDh14SIChBHtIdvCx zAGMC^p?axJ)MjcA^$4|>I!rxH9id*OUZY;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H!7bwB8S)JN#WdWk+(AE#I7 z?fP_mraoJrtIyXL>C5!x`my@)`pNof`sw;6eT%+LKVQF8zg)jUf4hFQeyx7J{(1c? z`d{=H4JJd1p~5iL;5Bp^<{0K178zK>jfR^Iw-{C!ZZ~W)Y%x4!*lyTm*kgFq@VH^W z;h^Cu!_$WM3_lyAjVfc7vC7C8k?~&R!^T6#=Z!BKUp5{yzHU5W{J{8;@l)d$#;;6L zlg6Ys8BNKi6jQ3Hz*KB1F_oD{o5q-`O_NLwrm3dsrbg3p)7_@~OzTZOrVXY|rk$oo zO#4hvnD(1qFdZ|!W_rVP-1MI5r0JCDOVfGNZ>9^TKh4lgn#0WD<`}ctoNmrE=a}=% zqs?Q?9)+Z%(pDGEVeAQtg_s1*<#sh*=E^c z*=2d$vfpyZa@caja@2Cn@~-7`%UR3!mUEW#mY*$uTcMS*hFOKy2&>GhwwkS3)?918 zb%b@Kwa_}w+F+exoo1bGZL~I9TdY27w{?zno^^qBkri35w=TEdX1(3I+WLUC&$`L_ zpmm#dhxJM80qY^_(wo==8+XP#sZL)2;&1IWm zYq!m_&9^PEEwU}Q-D+E5TWMQod%)Ib+hlvt_K@vy+f%kzY#-S^wS8gx+IHIZo$Z|M zC)=;K3#sB%NvbqemKvX$kg7`6r0P?Rspiy-)DfxGsnb(ur{0>{oBBlRo2g&fE%tPK zuD#Gc&R$`!wAa|{><#u-yW8%ud+oFB^Xv=li|tG7x7zQp-*4Yyf5^VwzSI7g{RR6= z_E+q$+26FkV}H;7zWtQ_Bl{WqclICb=hKSQCZtVFt4ga)+myB^ZExDXv?tOd(iQ2- hbXB@0eO~&l>8sN3;;SeEUqj=5===G + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IfElse/IfElse.xcodeproj/xcuserdata/bereket.xcuserdatad/xcschemes/IfElse.xcscheme b/IfElse/IfElse.xcodeproj/xcuserdata/bereket.xcuserdatad/xcschemes/IfElse.xcscheme new file mode 100644 index 0000000..6485954 --- /dev/null +++ b/IfElse/IfElse.xcodeproj/xcuserdata/bereket.xcuserdatad/xcschemes/IfElse.xcscheme @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IfElse/IfElse.xcodeproj/xcuserdata/bereket.xcuserdatad/xcschemes/xcschememanagement.plist b/IfElse/IfElse.xcodeproj/xcuserdata/bereket.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..44aa48b --- /dev/null +++ b/IfElse/IfElse.xcodeproj/xcuserdata/bereket.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + IfElse.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 8DFE63E81B22A54400D3D7AA + + primary + + + 8DFE64011B22A54400D3D7AA + + primary + + + + + diff --git a/IfElse/IfElse/Base.lproj/Main.storyboard b/IfElse/IfElse/Base.lproj/Main.storyboard index 34c014c..41b4399 100644 --- a/IfElse/IfElse/Base.lproj/Main.storyboard +++ b/IfElse/IfElse/Base.lproj/Main.storyboard @@ -1,7 +1,8 @@ - + + @@ -51,6 +52,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -73,20 +94,23 @@ + + + - - - - - - + + + + + + + - @@ -95,26 +119,33 @@ + + + - - - - - - + + + + + + + - + + + + diff --git a/IfElse/IfElse/ViewController.m b/IfElse/IfElse/ViewController.m index b3ee131..9a10f8a 100644 --- a/IfElse/IfElse/ViewController.m +++ b/IfElse/IfElse/ViewController.m @@ -9,19 +9,26 @@ #import "ViewController.h" @interface ViewController () +@property (weak, nonatomic) IBOutlet UITextField *TextField1; +@property (weak, nonatomic) IBOutlet UITextField *TextField2; +@property (weak, nonatomic) IBOutlet UITextField *TextField3; +@property (weak, nonatomic) IBOutlet UISwitch *SwitchButton; +@property (weak, nonatomic) IBOutlet UITextField *hiddenTextField; @end @implementation ViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. +- (IBAction)SwitchName:(id)sender { + NSLog(@"you switched it!"); + + if(self.SwitchButton.on) + { + [self.hiddenTextField setHidden:NO]; + } } -- (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. +- (IBAction)buttonTapped:(id)sender { + NSLog(@"Tapped that!"); } -@end +@end \ No newline at end of file