Skip to content

Commit aa195ca

Browse files
Raja AtiRaja Ati
authored andcommitted
first commit
1 parent 78bd654 commit aa195ca

File tree

4 files changed

+84
-4
lines changed

4 files changed

+84
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Bucket
3+
type = "1"
4+
version = "2.0">
5+
</Bucket>

SUBFUNCTION1/Base.lproj/Main.storyboard

Lines changed: 65 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,84 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6254" systemVersion="14B25" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
55
</dependencies>
66
<scenes>
77
<!--View Controller-->
88
<scene sceneID="tne-QT-ifu">
99
<objects>
10-
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
10+
<viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
1111
<layoutGuides>
1212
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
1313
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
1414
</layoutGuides>
1515
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
1616
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
1717
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18+
<subviews>
19+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9WO-c0-2ip">
20+
<rect key="frame" x="319" y="211" width="42" height="21"/>
21+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
22+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
23+
<nil key="highlightedColor"/>
24+
</label>
25+
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gdR-VZ-zBs">
26+
<rect key="frame" x="309" y="407" width="46" height="30"/>
27+
<state key="normal" title="Button">
28+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
29+
</state>
30+
<connections>
31+
<action selector="ButtonPress:" destination="BYZ-38-t0r" eventType="touchUpInside" id="yoA-0P-DYZ"/>
32+
</connections>
33+
</button>
34+
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="jhv-Sf-hbs">
35+
<rect key="frame" x="207" y="279" width="97" height="30"/>
36+
<fontDescription key="fontDescription" type="system" pointSize="14"/>
37+
<textInputTraits key="textInputTraits"/>
38+
<connections>
39+
<action selector="FirstNameAction:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="WFT-sE-zIl"/>
40+
</connections>
41+
</textField>
42+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DJU-8e-0Ao">
43+
<rect key="frame" x="164" y="283" width="42" height="21"/>
44+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
45+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
46+
<nil key="highlightedColor"/>
47+
</label>
48+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iWa-cn-t4F">
49+
<rect key="frame" x="164" y="337" width="42" height="21"/>
50+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
51+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
52+
<nil key="highlightedColor"/>
53+
</label>
54+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gjr-KF-dBJ">
55+
<rect key="frame" x="319" y="211" width="42" height="21"/>
56+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
57+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
58+
<nil key="highlightedColor"/>
59+
</label>
60+
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XTh-Ea-kku">
61+
<rect key="frame" x="89" y="148" width="46" height="30"/>
62+
<state key="normal" title="Button">
63+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
64+
</state>
65+
</button>
66+
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="CLR-P4-jnJ">
67+
<rect key="frame" x="207" y="328" width="97" height="30"/>
68+
<fontDescription key="fontDescription" type="system" pointSize="14"/>
69+
<textInputTraits key="textInputTraits"/>
70+
<connections>
71+
<action selector="Address:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="x7K-DF-ntK"/>
72+
</connections>
73+
</textField>
74+
</subviews>
1875
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
1976
</view>
77+
<connections>
78+
<outlet property="Address" destination="CLR-P4-jnJ" id="FnA-RQ-lH8"/>
79+
<outlet property="FirstName" destination="jhv-Sf-hbs" id="IHE-JK-kk6"/>
80+
<outlet property="MainLabel" destination="Gjr-KF-dBJ" id="3kC-dp-lBR"/>
81+
</connections>
2082
</viewController>
2183
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
2284
</objects>

SUBFUNCTION1/ViewController.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010

1111
@interface ViewController : UIViewController
1212

13+
@property (weak, nonatomic) IBOutlet UILabel *MainLabel;
14+
@property (weak, nonatomic) IBOutlet UITextField *FirstName;
15+
@property (weak, nonatomic) IBOutlet UITextField *Address;
1316

14-
@end
17+
- (IBAction)FirstNameAction:(id)sender;
18+
- (IBAction)Address:(id)sender;
19+
- (IBAction)ButtonPress:(UIButton *)sender;
1520

SUBFUNCTION1/ViewController.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,12 @@ - (void)didReceiveMemoryWarning {
2424
// Dispose of any resources that can be recreated.
2525
}
2626

27+
- (IBAction)FirstNameAction:(id)sender {
28+
}
29+
30+
- (IBAction)Address:(id)sender {
31+
}
32+
33+
- (IBAction)ButtonPress:(id)sender {
34+
}
2735
@end

0 commit comments

Comments
 (0)