File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
tests/UILabelTest/UILabelTest Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 56
56
<userDefinedRuntimeAttribute type =" string" keyPath =" styleId" value =" label1" />
57
57
</userDefinedRuntimeAttributes >
58
58
</label >
59
+ <button opaque =" NO" contentMode =" scaleToFill" fixedFrame =" YES" contentHorizontalAlignment =" center" contentVerticalAlignment =" center" buttonType =" roundedRect" lineBreakMode =" middleTruncation" translatesAutoresizingMaskIntoConstraints =" NO" id =" aKJ-tb-yYo" >
60
+ <rect key =" frame" x =" 7" y =" 136" width =" 57" height =" 35" />
61
+ <autoresizingMask key =" autoresizingMask" flexibleMaxX =" YES" flexibleMaxY =" YES" />
62
+ <fontDescription key =" fontDescription" type =" system" pointSize =" 10" />
63
+ <state key =" normal" title =" Update -->" >
64
+ <color key =" titleShadowColor" white =" 0.5" alpha =" 1" colorSpace =" calibratedWhite" />
65
+ </state >
66
+ <connections >
67
+ <action selector =" buttonClick:" destination =" vXZ-lx-hvc" eventType =" touchUpInside" id =" Pzk-cM-jBI" />
68
+ </connections >
69
+ </button >
59
70
</subviews >
60
71
<color key =" backgroundColor" white =" 1" alpha =" 1" colorSpace =" custom" customColorSpace =" calibratedWhite" />
61
72
</view >
73
+ <connections >
74
+ <outlet property =" letterpress" destination =" 0aP-m3-Vve" id =" ije-z2-F5C" />
75
+ </connections >
62
76
</viewController >
63
77
<placeholder placeholderIdentifier =" IBFirstResponder" id =" x5A-6p-PRh" sceneMemberID =" firstResponder" />
64
78
</objects >
79
+ <point key =" canvasLocation" x =" 19" y =" 19" />
65
80
</scene >
66
81
</scenes >
67
82
<simulatedMetricsContainer key =" defaultSimulatedMetrics" >
Original file line number Diff line number Diff line change 10
10
11
11
@interface ViewController : UIViewController
12
12
13
+ @property (weak , nonatomic ) IBOutlet UILabel *letterpress;
14
+
13
15
@end
Original file line number Diff line number Diff line change 7
7
//
8
8
9
9
#import " ViewController.h"
10
+ #import " PixateFreestyle.h"
10
11
11
12
@interface ViewController ()
12
13
@@ -26,4 +27,12 @@ - (void)didReceiveMemoryWarning
26
27
// Dispose of any resources that can be recreated.
27
28
}
28
29
30
+ - (IBAction )buttonClick : (id )sender {
31
+
32
+ self.letterpress .text = @" Hello World" ;
33
+ }
34
+
35
+
36
+
37
+
29
38
@end
You can’t perform that action at this time.
0 commit comments