Skip to content
Browse files

Added umbrella bucket button

  • Loading branch information...
1 parent 70bc382 commit 025df04e4b1ee9786b1f2a9c5008930be408b933 @ndbroadbent committed Mar 15, 2011
View
6 Capfile
@@ -1,8 +1,8 @@
set :application_name, "Flat 10C"
-set :iphone_hostname, "10.0.10.195"
+set :iphone_hostname, "nathans-iphone"
set :user, "root"
set :escaped_name, application_name.gsub(" ", '\ ')
-set :build_dir, "/Users/nathanB/src/#{application_name}/build/Release-iphoneos"
+set :build_dir, "/Users/ndbroadbent/src/#{application_name}/build/Release-iphoneos"
desc "Package your iPhone application"
task :package do
@@ -29,4 +29,4 @@ desc "Package and install the application on your iPhone"
task :deploy, :hosts => "#{iphone_hostname}" do
package
install
-end
+end
View
3 Classes/Flat_10C_ViewController.h
@@ -18,15 +18,18 @@
IBOutlet UIImageView *httpResultImageView;
IBOutlet UISwitch *hallLightSwitch;
IBOutlet UISwitch *fanSwitch;
+ IBOutlet UISwitch *umbrellaSwitch;
}
@property (nonatomic, retain) UISwitch *hallLightSwitch;
@property (nonatomic, retain) UISwitch *fanSwitch;
+@property (nonatomic, retain) UISwitch *umbrellaSwitch;
@property (nonatomic, retain) IASKAppSettingsViewController *appSettingsViewController;
- (IBAction)showSettingsPush:(id)sender;
- (IBAction)hallLightSwitchDidChange:(id)sender;
- (IBAction)fanSwitchDidChange:(id)sender;
+- (IBAction)umbrellaSwitchDidChange:(id)sender;
@end
View
27 Classes/Flat_10C_ViewController.m
@@ -23,6 +23,7 @@ @implementation Flat_10C_ViewController
// Synthesize switches
@synthesize hallLightSwitch;
@synthesize fanSwitch;
+@synthesize umbrellaSwitch;
// Synthesize and configure appSettingsViewController.
@synthesize appSettingsViewController;
@@ -194,6 +195,32 @@ - (IBAction)fanSwitchDidChange:(id)sender {
[request startAsynchronous];
}
+// When fan switch changes value
+- (IBAction)umbrellaSwitchDidChange:(id)sender {
+ // Show spinner
+ httpLoadingActivity.hidden = NO;
+ [httpLoadingActivity startAnimating];
+
+ // Fetch user settings.
+ NSUserDefaults *settings = [NSUserDefaults standardUserDefaults];
+
+ NSURL *url = [NSURL URLWithString:[settings stringForKey:@"baseURL"]];
+
+ // Send the http form post.
+ ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
+ [request setPostValue:[settings stringForKey:@"user"] forKey:@"user"];
+ [request setPostValue:[settings stringForKey:@"password"] forKey:@"password"];
+
+ if (umbrellaSwitch.on) {
+ [request setPostValue:@"Turn Umbrella Bucket [ON]" forKey:@"action"];
+ } else {
+ [request setPostValue:@"Turn Umbrella Bucket [OFF]" forKey:@"action"];
+ }
+
+ [request setDelegate:self];
+ [request startAsynchronous];
+}
+
- (void)requestFinished:(ASIHTTPRequest *)request
{
httpResultImageView.image = [UIImage imageNamed:@"tick.png"];
View
30 DescribeFlat10C.m
@@ -0,0 +1,30 @@
+//
+// DescribeFlat10C.m
+// Flat 10C
+//
+// Created by Nathan B on 28/02/11.
+// Copyright 2011 __MyCompanyName__. All rights reserved.
+//
+
+#import "UISpec.h"
+#import "UIQuery.h"
+
+@interface DescribeFlat10C: NSObject <UISpec> {
+}
+@end
+
+@implementation DescribeFlat10C
+
+-(void)itShouldBeAbleToTurnOnHallLight {
+ UIQuery *app = [UIQuery withApplication];
+ [expectThat([app.find.label text:@"Hall Light"]) should].exist;
+
+ UISwitch *light = [app.Switch index:1];
+ [expectThat(light.on) should:be(NO)];
+ light.touch;
+ [expectThat(light.on) should:be(YES)];
+ light.touch;
+ [expectThat(light.on) should:be(NO)];
+}
+@end
+
View
22 Flat 10C .xcodeproj/project.pbxproj
@@ -56,6 +56,7 @@
209DD735131BFC1400D87354 /* libz.1.2.3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 9874AA54127DD96000D34541 /* libz.1.2.3.dylib */; };
209DD749131BFC6500D87354 /* libUISpec.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 209DD746131BFC5500D87354 /* libUISpec.a */; };
209DD74C131BFCA300D87354 /* libUISpec.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 209DD746131BFC5500D87354 /* libUISpec.a */; };
+ 209DD767131BFCD600D87354 /* DescribeFlat10C.m in Sources */ = {isa = PBXBuildFile; fileRef = 209DD766131BFCD600D87354 /* DescribeFlat10C.m */; };
288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; };
2899E5220DE3E06400AC0155 /* Flat_10C_ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2899E5210DE3E06400AC0155 /* Flat_10C_ViewController.xib */; };
28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; };
@@ -102,21 +103,21 @@
isa = PBXContainerItemProxy;
containerPortal = 209DD73D131BFC5500D87354 /* UISpec.xcodeproj */;
proxyType = 2;
- remoteGlobalIDString = C76EB5D20F74586B00EF8398 /* libUISpec.a */;
+ remoteGlobalIDString = C76EB5D20F74586B00EF8398;
remoteInfo = UISpec;
};
209DD747131BFC5500D87354 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 209DD73D131BFC5500D87354 /* UISpec.xcodeproj */;
proxyType = 2;
- remoteGlobalIDString = C7D4F29310BDA39C00B00019 /* Specs.app */;
+ remoteGlobalIDString = C7D4F29310BDA39C00B00019;
remoteInfo = Specs;
};
209DD74A131BFC8100D87354 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 209DD73D131BFC5500D87354 /* UISpec.xcodeproj */;
proxyType = 1;
- remoteGlobalIDString = C76EB5D10F74586B00EF8398 /* UISpec */;
+ remoteGlobalIDString = C76EB5D10F74586B00EF8398;
remoteInfo = UISpec;
};
/* End PBXContainerItemProxy section */
@@ -126,9 +127,10 @@
1D3623240D0F684500981E51 /* Flat_10C_AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Flat_10C_AppDelegate.h; sourceTree = "<group>"; };
1D3623250D0F684500981E51 /* Flat_10C_AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Flat_10C_AppDelegate.m; sourceTree = "<group>"; };
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
- 209DD73A131BFC1400D87354 /* Flat 10C .app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Flat 10C .app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 209DD73A131BFC1400D87354 /* Flat 10C.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Flat 10C.app"; sourceTree = BUILT_PRODUCTS_DIR; };
209DD73C131BFC1400D87354 /* Flat_10C_-Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Flat_10C_-Info copy.plist"; sourceTree = "<group>"; };
209DD73D131BFC5500D87354 /* UISpec.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = UISpec.xcodeproj; path = ../uispec/xcode/UISpec/UISpec.xcodeproj; sourceTree = SOURCE_ROOT; };
+ 209DD766131BFCD600D87354 /* DescribeFlat10C.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DescribeFlat10C.m; sourceTree = "<group>"; };
288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
2899E5210DE3E06400AC0155 /* Flat_10C_ViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = Flat_10C_ViewController.xib; sourceTree = "<group>"; };
28AD733E0D9D9553002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = "<group>"; };
@@ -194,7 +196,7 @@
9890D0AD127EC5E200DE7FE0 /* IASKPSToggleSwitchSpecifierViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = IASKPSToggleSwitchSpecifierViewCell.xib; sourceTree = "<group>"; };
9890D0AE127EC5E200DE7FE0 /* IASKSpecifierValuesView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = IASKSpecifierValuesView.xib; sourceTree = "<group>"; };
9897D57712CA5C8700B20D0C /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Default.png; path = Resources/Default.png; sourceTree = "<group>"; };
- 98A19E8F127E8BED00D33641 /* Flat 10C .app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Flat 10C .app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 98A19E8F127E8BED00D33641 /* Flat 10C.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Flat 10C.app"; sourceTree = BUILT_PRODUCTS_DIR; };
98A19E9C127E8DB100D33641 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
/* End PBXFileReference section */
@@ -248,8 +250,8 @@
19C28FACFE9D520D11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
- 98A19E8F127E8BED00D33641 /* Flat 10C .app */,
- 209DD73A131BFC1400D87354 /* Flat 10C .app */,
+ 98A19E8F127E8BED00D33641 /* Flat 10C.app */,
+ 209DD73A131BFC1400D87354 /* Flat 10C.app */,
);
name = Products;
sourceTree = "<group>";
@@ -266,6 +268,7 @@
209DD754131BFCD600D87354 /* Specs */ = {
isa = PBXGroup;
children = (
+ 209DD766131BFCD600D87354 /* DescribeFlat10C.m */,
);
name = Specs;
sourceTree = "<group>";
@@ -463,7 +466,7 @@
);
name = "Flat 10C ";
productName = "Flat 10C ";
- productReference = 98A19E8F127E8BED00D33641 /* Flat 10C .app */;
+ productReference = 98A19E8F127E8BED00D33641 /* Flat 10C.app */;
productType = "com.apple.product-type.application";
};
209DD707131BFC1400D87354 /* Flat 10C Specs */ = {
@@ -482,7 +485,7 @@
);
name = "Flat 10C Specs";
productName = "Flat 10C ";
- productReference = 209DD73A131BFC1400D87354 /* Flat 10C .app */;
+ productReference = 209DD73A131BFC1400D87354 /* Flat 10C.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
@@ -665,6 +668,7 @@
209DD72B131BFC1400D87354 /* IASKSlider.m in Sources */,
209DD72C131BFC1400D87354 /* IASKSwitch.m in Sources */,
209DD72D131BFC1400D87354 /* IASKTextField.m in Sources */,
+ 209DD767131BFCD600D87354 /* DescribeFlat10C.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
117 Flat_10C_ViewController.xib
@@ -68,27 +68,33 @@
<object class="IBUISwitch" id="126981027">
<reference key="NSNextResponder" ref="774585933"/>
<int key="NSvFlags">292</int>
- <string key="NSFrame">{{62, 98}, {94, 27}}</string>
+ <string key="NSFrame">{{62, 89}, {94, 27}}</string>
<reference key="NSSuperview" ref="774585933"/>
<bool key="IBUIOpaque">NO</bool>
+ <object class="IBUIAccessibilityConfiguration" key="IBUIAccessibilityConfiguration">
+ <string key="IBUIAccessibilityLabel">HallLightSwitch</string>
+ </object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
</object>
<object class="IBUISwitch" id="958866350">
<reference key="NSNextResponder" ref="774585933"/>
<int key="NSvFlags">292</int>
- <string key="NSFrame">{{62, 177}, {94, 27}}</string>
+ <string key="NSFrame">{{62, 154}, {94, 27}}</string>
<reference key="NSSuperview" ref="774585933"/>
<bool key="IBUIOpaque">NO</bool>
+ <object class="IBUIAccessibilityConfiguration" key="IBUIAccessibilityConfiguration">
+ <string key="IBUIAccessibilityLabel">LoungeFanSwitch</string>
+ </object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
</object>
<object class="IBUILabel" id="172814319">
<reference key="NSNextResponder" ref="774585933"/>
<int key="NSvFlags">292</int>
- <string key="NSFrame">{{175, 101}, {72, 21}}</string>
+ <string key="NSFrame">{{175, 92}, {72, 21}}</string>
<reference key="NSSuperview" ref="774585933"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
@@ -113,7 +119,7 @@
<object class="IBUILabel" id="43077863">
<reference key="NSNextResponder" ref="774585933"/>
<int key="NSvFlags">292</int>
- <string key="NSFrame">{{175, 180}, {92, 21}}</string>
+ <string key="NSFrame">{{175, 157}, {92, 21}}</string>
<reference key="NSSuperview" ref="774585933"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
@@ -130,6 +136,36 @@
<int key="IBUIBaselineAdjustment">1</int>
<float key="IBUIMinimumFontSize">10</float>
</object>
+ <object class="IBUISwitch" id="69967186">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{62, 219}, {94, 27}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ </object>
+ <object class="IBUILabel" id="164587858">
+ <reference key="NSNextResponder" ref="774585933"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{175, 214}, {110, 37}}</string>
+ <reference key="NSSuperview" ref="774585933"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Umbrella Bucket</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ <reference key="NSCustomColorSpace" ref="154057569"/>
+ </object>
+ <reference key="IBUIHighlightedColor" ref="661956479"/>
+ <int key="IBUIBaselineAdjustment">1</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ </object>
</object>
<string key="NSFrameSize">{320, 416}</string>
<reference key="NSSuperview"/>
@@ -209,6 +245,23 @@
</object>
<int key="connectionID">40</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">umbrellaSwitchDidChange:</string>
+ <reference key="source" ref="69967186"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">13</int>
+ </object>
+ <int key="connectionID">43</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">umbrellaSwitch</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="69967186"/>
+ </object>
+ <int key="connectionID">44</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -238,9 +291,11 @@
<reference ref="559427016"/>
<reference ref="449018617"/>
<reference ref="126981027"/>
- <reference ref="958866350"/>
<reference ref="172814319"/>
+ <reference ref="958866350"/>
<reference ref="43077863"/>
+ <reference ref="69967186"/>
+ <reference ref="164587858"/>
</object>
<reference key="parent" ref="0"/>
</object>
@@ -258,13 +313,13 @@
<int key="objectID">32</int>
<reference key="object" ref="126981027"/>
<reference key="parent" ref="774585933"/>
- <string key="objectName">Hall Light Switch</string>
+ <string key="objectName">HallLightSwitch</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">33</int>
<reference key="object" ref="958866350"/>
<reference key="parent" ref="774585933"/>
- <string key="objectName">Lounge Fan Switch</string>
+ <string key="objectName">LoungeFanSwitch</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">34</int>
@@ -276,6 +331,16 @@
<reference key="object" ref="43077863"/>
<reference key="parent" ref="774585933"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">41</int>
+ <reference key="object" ref="69967186"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">42</int>
+ <reference key="object" ref="164587858"/>
+ <reference key="parent" ref="774585933"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -294,6 +359,10 @@
<string>34.IBViewBoundsToFrameTransform</string>
<string>35.IBPluginDependency</string>
<string>35.IBViewBoundsToFrameTransform</string>
+ <string>41.IBPluginDependency</string>
+ <string>41.IBViewBoundsToFrameTransform</string>
+ <string>42.IBPluginDependency</string>
+ <string>42.IBViewBoundsToFrameTransform</string>
<string>6.IBEditorWindowLastContentRect</string>
<string>6.IBPluginDependency</string>
<string>6.IBViewBoundsToFrameTransform</string>
@@ -310,21 +379,29 @@
</object>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<object class="NSAffineTransform">
- <bytes key="NSTransformStruct">P4AAAL+AAABCeAAAwwAAAA</bytes>
+ <bytes key="NSTransformStruct">P4AAAL+AAABCeAAAwvYAAA</bytes>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABCeAAAwzYAAA</bytes>
</object>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<object class="NSAffineTransform">
- <bytes key="NSTransformStruct">P4AAAL+AAABCeAAAw08AAA</bytes>
+ <bytes key="NSTransformStruct">P4AAAL+AAABDLwAAwvAAAA</bytes>
</object>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<object class="NSAffineTransform">
- <bytes key="NSTransformStruct">P4AAAL+AAABDLwAAwvoAAA</bytes>
+ <bytes key="NSTransformStruct">P4AAAL+AAABDLwAAwzMAAA</bytes>
</object>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<object class="NSAffineTransform">
- <bytes key="NSTransformStruct">P4AAAL+AAABDLwAAw0wAAA</bytes>
+ <bytes key="NSTransformStruct">P4AAAL+AAABCeAAAw28AAA</bytes>
</object>
- <string>{{619, 166}, {320, 480}}</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSAffineTransform">
+ <bytes key="NSTransformStruct">P4AAAL+AAABDLwAAw3QAAA</bytes>
+ </object>
+ <string>{{640, 464}, {320, 480}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<object class="NSAffineTransform">
<bytes key="NSTransformStruct">P4AAAL+AAAAAAAAAw+UAAA</bytes>
@@ -351,7 +428,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">40</int>
+ <int key="maxID">44</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -366,12 +443,14 @@
<string>fanSwitchDidChange:</string>
<string>hallLightSwitchDidChange:</string>
<string>showSettingsPush:</string>
+ <string>umbrellaSwitchDidChange:</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
@@ -381,6 +460,7 @@
<string>fanSwitchDidChange:</string>
<string>hallLightSwitchDidChange:</string>
<string>showSettingsPush:</string>
+ <string>umbrellaSwitchDidChange:</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -396,6 +476,10 @@
<string key="name">showSettingsPush:</string>
<string key="candidateClassName">id</string>
</object>
+ <object class="IBActionInfo">
+ <string key="name">umbrellaSwitchDidChange:</string>
+ <string key="candidateClassName">id</string>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
@@ -406,13 +490,15 @@
<string>hallLightSwitch</string>
<string>httpLoadingActivity</string>
<string>httpResultImageView</string>
+ <string>umbrellaSwitch</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>UISwitch</string>
<string>UISwitch</string>
<string>UIActivityIndicatorView</string>
<string>UIImageView</string>
+ <string>UISwitch</string>
</object>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
@@ -423,6 +509,7 @@
<string>hallLightSwitch</string>
<string>httpLoadingActivity</string>
<string>httpResultImageView</string>
+ <string>umbrellaSwitch</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -442,6 +529,10 @@
<string key="name">httpResultImageView</string>
<string key="candidateClassName">UIImageView</string>
</object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">umbrellaSwitch</string>
+ <string key="candidateClassName">UISwitch</string>
+ </object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">

0 comments on commit 025df04

Please sign in to comment.
Something went wrong with that request. Please try again.