Skip to content

Commit

Permalink
Boom
Browse files Browse the repository at this point in the history
  • Loading branch information
Palleas committed Jul 6, 2018
1 parent b927f9a commit 6814b03
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Greeter/Base.lproj/Main.storyboard
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14269.12" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14252.5"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand All @@ -30,6 +30,9 @@
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="liz-GL-OCm">
<rect key="frame" x="0.0" y="60.5" width="64" height="30"/>
<state key="normal" title="Click Me!"/>
<connections>
<action selector="boom:" destination="BYZ-38-t0r" eventType="touchUpInside" id="GxH-EM-BLI"/>
</connections>
</button>
</subviews>
</stackView>
Expand Down
5 changes: 5 additions & 0 deletions Greeter/ViewController.swift
Expand Up @@ -7,6 +7,7 @@
//

import UIKit
import BuddyBuildSDK

class ViewController: UIViewController {

Expand All @@ -20,6 +21,10 @@ class ViewController: UIViewController {
// Dispose of any resources that can be recreated.
}

@IBAction func boom(_ sender: Any) {
BuddyBuildSDK.crash()
}


}

0 comments on commit 6814b03

Please sign in to comment.