Skip to content
Browse files

satisfying feature request, finishing our user acceptance tests

  • Loading branch information...
1 parent e579203 commit 966ee8cf8e01f4af8b2071ab3433c84cddec6a0d @setuid setuid committed
Showing with 36 additions and 30 deletions.
  1. +8 −0 AutoBuildCD/AutoBuildCD/ABViewController.m
  2. +28 −30 AutoBuildCD/AutoBuildCD/en.lproj/ABViewController.xib
View
8 AutoBuildCD/AutoBuildCD/ABViewController.m
@@ -29,6 +29,14 @@ - (void)didReceiveMemoryWarning
#pragma mark - Button Action
-( IBAction) showAlert:(id)sender
{
+ UIAlertView* alert = [[UIAlertView alloc] initWithTitle: @"Bem vindo"
+ message: @"Sejam bem vindos"
+ delegate: nil
+ cancelButtonTitle: @"Ok"
+ otherButtonTitles: nil];
+
+ [alert show];
}
+
@end
View
58 AutoBuildCD/AutoBuildCD/en.lproj/ABViewController.xib
@@ -36,7 +36,7 @@
<reference key="NSNextResponder"/>
<int key="NSvFlags">274</int>
<array class="NSMutableArray" key="NSSubviews">
- <object class="IBUIButton" id="1062144909">
+ <object class="IBUIButton" id="139838030">
<reference key="NSNextResponder" ref="774585933"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{124, 130}, {73, 44}}</string>
@@ -76,7 +76,7 @@
<string key="NSFrame">{{0, 20}, {320, 548}}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="1062144909"/>
+ <reference key="NSNextKeyView" ref="139838030"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC43NQA</bytes>
@@ -116,6 +116,15 @@
</object>
<int key="connectionID">7</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">showAlert:</string>
+ <reference key="source" ref="139838030"/>
+ <reference key="destination" ref="843779117"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">12</int>
+ </object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
@@ -140,9 +149,9 @@
<int key="objectID">6</int>
<reference key="object" ref="774585933"/>
<array class="NSMutableArray" key="children">
- <reference ref="1062144909"/>
- <object class="IBNSLayoutConstraint" id="16435874">
- <reference key="firstItem" ref="1062144909"/>
+ <reference ref="139838030"/>
+ <object class="IBNSLayoutConstraint" id="116965020">
+ <reference key="firstItem" ref="139838030"/>
<int key="firstAttribute">3</int>
<int key="relation">0</int>
<reference key="secondItem" ref="774585933"/>
@@ -157,8 +166,8 @@
<float key="scoringTypeFloat">9</float>
<int key="contentType">3</int>
</object>
- <object class="IBNSLayoutConstraint" id="98577662">
- <reference key="firstItem" ref="1062144909"/>
+ <object class="IBNSLayoutConstraint" id="48494951">
+ <reference key="firstItem" ref="139838030"/>
<int key="firstAttribute">9</int>
<int key="relation">0</int>
<reference key="secondItem" ref="774585933"/>
@@ -178,10 +187,10 @@
</object>
<object class="IBObjectRecord">
<int key="objectID">8</int>
- <reference key="object" ref="1062144909"/>
+ <reference key="object" ref="139838030"/>
<array class="NSMutableArray" key="children">
- <object class="IBNSLayoutConstraint" id="149536337">
- <reference key="firstItem" ref="1062144909"/>
+ <object class="IBNSLayoutConstraint" id="994172056">
+ <reference key="firstItem" ref="139838030"/>
<int key="firstAttribute">7</int>
<int key="relation">0</int>
<nil key="secondItem"/>
@@ -191,7 +200,7 @@
<double key="value">73</double>
</object>
<float key="priority">1000</float>
- <reference key="containingView" ref="1062144909"/>
+ <reference key="containingView" ref="139838030"/>
<int key="scoringType">3</int>
<float key="scoringTypeFloat">9</float>
<int key="contentType">1</int>
@@ -201,18 +210,18 @@
</object>
<object class="IBObjectRecord">
<int key="objectID">9</int>
- <reference key="object" ref="98577662"/>
+ <reference key="object" ref="48494951"/>
<reference key="parent" ref="774585933"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">10</int>
- <reference key="object" ref="16435874"/>
+ <reference key="object" ref="116965020"/>
<reference key="parent" ref="774585933"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">11</int>
- <reference key="object" ref="149536337"/>
- <reference key="parent" ref="1062144909"/>
+ <reference key="object" ref="994172056"/>
+ <reference key="parent" ref="139838030"/>
</object>
</array>
</object>
@@ -225,12 +234,12 @@
<string key="11.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<array key="6.IBViewMetadataConstraints">
- <reference ref="98577662"/>
- <reference ref="16435874"/>
+ <reference ref="48494951"/>
+ <reference ref="116965020"/>
</array>
<string key="8.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<array key="8.IBViewMetadataConstraints">
- <reference ref="149536337"/>
+ <reference ref="994172056"/>
</array>
<boolean value="NO" key="8.IBViewMetadataTranslatesAutoresizingMaskIntoConstraints"/>
<string key="9.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -239,24 +248,13 @@
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
- <int key="maxID">11</int>
+ <int key="maxID">12</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">ABViewController</string>
<string key="superclassName">UIViewController</string>
- <object class="NSMutableDictionary" key="actions">
- <string key="NS.key.0">showAlert:</string>
- <string key="NS.object.0">id</string>
- </object>
- <object class="NSMutableDictionary" key="actionInfosByName">
- <string key="NS.key.0">showAlert:</string>
- <object class="IBActionInfo" key="NS.object.0">
- <string key="name">showAlert:</string>
- <string key="candidateClassName">id</string>
- </object>
- </object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/ABViewController.h</string>

0 comments on commit 966ee8c

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