Skip to content

Commit

Permalink
Step 4: Add a label to the watchOS app WKInterface and attach an outl…
Browse files Browse the repository at this point in the history
…et for the label to the WKInterfaceController.
  • Loading branch information
theothertomelliott committed Aug 14, 2015
1 parent 72bc39c commit 037dc14
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
@@ -1,14 +1,21 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder.WatchKit.Storyboard" version="3.0" toolsVersion="6221" systemVersion="13E28" targetRuntime="watchKit" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="AgC-eL-Hgc">
<document type="com.apple.InterfaceBuilder.WatchKit.Storyboard" version="3.0" toolsVersion="8173.3" systemVersion="14E46" targetRuntime="watchKit" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="AgC-eL-Hgc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6213"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBWatchKitPlugin" version="3733"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8142"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBWatchKitPlugin" version="8089"/>
</dependencies>
<scenes>
<!--Interface Controller-->
<scene sceneID="aou-V4-d1y">
<objects>
<controller id="AgC-eL-Hgc" customClass="InterfaceController" customModuleProvider=""/>
<controller id="AgC-eL-Hgc" customClass="InterfaceController">
<items>
<label width="1" height="1" alignment="center" verticalAlignment="center" text="Label" textAlignment="center" id="wAG-2t-FNc"/>
</items>
<connections>
<outlet property="messageLabel" destination="wAG-2t-FNc" id="KNb-ag-N79"/>
</connections>
</controller>
</objects>
</scene>
</scenes>
Expand Down
Expand Up @@ -11,4 +11,6 @@

@interface InterfaceController : WKInterfaceController

@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceLabel *messageLabel;

@end

0 comments on commit 037dc14

Please sign in to comment.