File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 303
303
<rect key =" frame" x =" 20" y =" 78" width =" 560" height =" 445" />
304
304
<color key =" backgroundColor" white =" 0.66666666666666663" alpha =" 1" colorSpace =" calibratedWhite" />
305
305
</view >
306
+ <button opaque =" NO" contentMode =" scaleToFill" contentHorizontalAlignment =" center" contentVerticalAlignment =" center" buttonType =" roundedRect" lineBreakMode =" middleTruncation" translatesAutoresizingMaskIntoConstraints =" NO" id =" xoa-u0-6h5" >
307
+ <rect key =" frame" x =" 550" y =" 20" width =" 30" height =" 36" />
308
+ <fontDescription key =" fontDescription" type =" system" pointSize =" 20" />
309
+ <state key =" normal" title =" X" />
310
+ <connections >
311
+ <action selector =" onClosePushed:" destination =" fw9-rg-tLH" eventType =" touchUpInside" id =" QsT-Xz-Alv" />
312
+ </connections >
313
+ </button >
306
314
</subviews >
307
315
<color key =" backgroundColor" white =" 1" alpha =" 1" colorSpace =" calibratedWhite" />
308
316
<constraints >
313
321
<constraint firstItem =" kKf-Oi-6h7" firstAttribute =" top" secondItem =" srb-xo-nyT" secondAttribute =" bottom" constant =" 8" id =" F9y-3Q-b2c" />
314
322
<constraint firstItem =" QO0-0n-sl7" firstAttribute =" top" secondItem =" 31I-9l-4R6" secondAttribute =" bottom" constant =" 27" id =" SCM-te-fwb" />
315
323
<constraint firstItem =" kKf-Oi-6h7" firstAttribute =" centerY" secondItem =" DF4-xn-P6z" secondAttribute =" centerY" id =" Yos-l1-yKM" />
324
+ <constraint firstItem =" xoa-u0-6h5" firstAttribute =" top" secondItem =" vLI-t1-AxW" secondAttribute =" bottom" id =" pP0-jp-HoI" />
316
325
<constraint firstItem =" kKf-Oi-6h7" firstAttribute =" centerX" secondItem =" DF4-xn-P6z" secondAttribute =" centerX" id =" tPw-bD-WOQ" />
317
326
<constraint firstItem =" srb-xo-nyT" firstAttribute =" top" secondItem =" vLI-t1-AxW" secondAttribute =" bottom" constant =" 8" id =" u3y-pB-szd" />
327
+ <constraint firstAttribute =" trailingMargin" secondItem =" xoa-u0-6h5" secondAttribute =" trailing" id =" uQE-Vj-ltI" />
318
328
<constraint firstItem =" 31I-9l-4R6" firstAttribute =" centerX" secondItem =" DF4-xn-P6z" secondAttribute =" centerX" id =" up0-y4-wzT" />
319
329
</constraints >
320
330
</view >
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ class ComponentViewController: UIViewController {
33
33
cardsView. flipDown ( )
34
34
}
35
35
36
+ @IBAction func onClosePushed( sender: AnyObject ) {
37
+ self . dismissViewControllerAnimated ( true , completion: nil )
38
+ }
39
+
36
40
}
37
41
38
42
// MARK: - AnimatedCardsViewDataSource
You can’t perform that action at this time.
0 commit comments