Skip to content
Browse files

put feedback form in a table

  • Loading branch information...
1 parent e7e407e commit 1d6e3767a778115a01b9d5afa2b0ed92906f80d3 @trivektor committed Mar 24, 2013
View
BIN ...deproj/project.xcworkspace/xcuserdata/trivuong.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
View
14 Gitos-iPad/Controllers/FeedbackViewController.h
@@ -9,15 +9,19 @@
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
-@interface FeedbackViewController : UIViewController <UIWebViewDelegate>
+@interface FeedbackViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>
-@property (nonatomic, strong) IBOutlet UITextField *nameField;
-@property (nonatomic, strong) IBOutlet UITextField *emailField;
-@property (nonatomic, strong) IBOutlet UITextView *messageField;
@property (nonatomic, strong) MBProgressHUD *hud;
+@property (weak, nonatomic) IBOutlet UITableView *feedbackTable;
+@property (weak, nonatomic) IBOutlet UITableViewCell *nameCell;
+@property (weak, nonatomic) IBOutlet UITableViewCell *emailCell;
+@property (weak, nonatomic) IBOutlet UITableViewCell *messageCell;
+@property (weak, nonatomic) IBOutlet UITextField *nameField;
+@property (weak, nonatomic) IBOutlet UITextField *emailField;
+@property (weak, nonatomic) IBOutlet UITextView *messageField;
+
- (void)performHouseKeepingTasks;
-- (void)applyCustomStyling;
- (void)sendFeedback;
@end
View
98 Gitos-iPad/Controllers/FeedbackViewController.m
@@ -12,22 +12,10 @@ @interface FeedbackViewController ()
@end
-@implementation CustomUITextField
-
-@synthesize horizontalPadding, verticalPadding;
-
-- (CGRect)textRectForBounds:(CGRect)bounds {
- return CGRectMake(bounds.origin.x + horizontalPadding, bounds.origin.y + verticalPadding, bounds.size.width - horizontalPadding*2, bounds.size.height - verticalPadding*2);
-}
-
-- (CGRect)editingRectForBounds:(CGRect)bounds {
- return [self textRectForBounds:bounds];
-}
-
-@end
-
@implementation FeedbackViewController
+@synthesize feedbackTable, nameCell, emailCell, messageCell, hud, nameField, emailField, messageField;
+
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
@@ -42,7 +30,6 @@ - (void)viewDidLoad
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
[self performHouseKeepingTasks];
- [self applyCustomStyling];
UIBarButtonItem *submitButton = [[UIBarButtonItem alloc] initWithTitle:@"Submit" style:UIBarButtonItemStyleBordered target:self action:@selector(sendFeedback)];
[self.navigationItem setRightBarButtonItem:submitButton];
@@ -53,58 +40,37 @@ - (void)performHouseKeepingTasks
self.navigationItem.title = @"Feedback";
self.navigationItem.hidesBackButton = YES;
- self.hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
- self.hud.hidden = YES;
- self.hud.mode = MBProgressHUDAnimationFade;
- self.hud.labelText = LOADING_MESSAGE;
-}
-
-- (void)applyCustomStyling
-{
- NSArray *fields = @[self.nameField, self.emailField];
-
- UIView *namePaddingView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 20)];
- UIView *emailPaddingView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 20)];
-
- self.nameField.leftView = namePaddingView;
- self.nameField.leftViewMode = UITextFieldViewModeAlways;
+ hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
+ hud.mode = MBProgressHUDAnimationFade;
+ hud.labelText = LOADING_MESSAGE;
+ [hud hide:YES];
- self.emailField.leftView = emailPaddingView;
- self.emailField.leftViewMode = UITextFieldViewModeAlways;
-
- for (UITextField *f in fields) {
- f.layer.borderColor = [[UIColor colorWithRed:204/255.0 green:204/255.0 blue:204/255.0 alpha:1.0] CGColor];
- f.layer.borderWidth = 1.0f;
- f.layer.cornerRadius = 4.0f;
- f.layer.masksToBounds = YES;
- }
-
- self.messageField.layer.borderColor = [[UIColor colorWithRed:204/255.0 green:204/255.0 blue:204/255.0 alpha:1.0] CGColor];
- self.messageField.layer.borderWidth = 1.0f;
- self.messageField.layer.cornerRadius = 4.0f;
- self.messageField.layer.masksToBounds = YES;
+ [feedbackTable setBackgroundView:nil];
+ [feedbackTable setScrollEnabled:NO];
+ [feedbackTable setSeparatorStyle:UITableViewCellSeparatorStyleSingleLine];
+ [feedbackTable setSeparatorColor:[UIColor colorWithRed:206/255.0 green:206/255.0 blue:206/255.0 alpha:0.8]];
}
- (void)sendFeedback
{
- NSString *name = self.nameField.text;
- NSString *email = self.emailField.text;
- NSString *message = self.messageField.text;
+ NSString *name = nameField.text;
+ NSString *email = emailField.text;
+ NSString *message = messageField.text;
if (name.length == 0 || email.length == 0 || message.length == 0) {
[YRDropdownView showDropdownInView:self.view
title:@"Error"
detail:@"All fields are required"
image:[UIImage imageNamed:@"glyphicons_078_warning_sign.png"]
- textColor:[UIColor whiteColor]
- backgroundColor:[UIColor colorWithRed:202/255.0 green:36/255.0 blue:36/255.0 alpha:1.0]
+ textColor:[UIColor colorWithRed:186/255.0 green:12/255.0 blue:12/255.0 alpha:1.0]
+ backgroundColor:[UIColor whiteColor]
animated:YES
hideAfter:HIDE_AFTER];
return;
}
- if ([self.messageField isFirstResponder]) {
- [self.messageField resignFirstResponder];
+ if ([messageField isFirstResponder]) {
+ [messageField resignFirstResponder];
}
NSURL *url = [NSURL URLWithString:[AppConfig getConfigValue:@"GitosHost"]];
@@ -148,6 +114,36 @@ - (void)sendFeedback
[self.hud setHidden:NO];
}
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
+{
+ return 1;
+}
+
+- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
+{
+ return 3;
+}
+
+- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
+{
+ if (indexPath.row == 2) {
+ return 157;
+ } else {
+ return 44;
+ }
+}
+
+- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
+{
+ if (indexPath.row == 0) {
+ return nameCell;
+ } else if (indexPath.row == 1) {
+ return emailCell;
+ } else {
+ return messageCell;
+ }
+}
+
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
View
437 Gitos-iPad/Controllers/FeedbackViewController.xib
@@ -12,6 +12,8 @@
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
+ <string>IBUITableView</string>
+ <string>IBUITableViewCell</string>
<string>IBUITextField</string>
<string>IBUITextView</string>
<string>IBUIView</string>
@@ -36,108 +38,40 @@
<reference key="NSNextResponder"/>
<int key="NSvFlags">292</int>
<array class="NSMutableArray" key="NSSubviews">
- <object class="IBUITextField" id="699852808">
+ <object class="IBUITableView" id="972979255">
<reference key="NSNextResponder" ref="766721923"/>
<int key="NSvFlags">292</int>
- <string key="NSFrame">{{28, 20}, {646, 36}}</string>
- <reference key="NSSuperview" ref="766721923"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="1009432364"/>
- <string key="NSReuseIdentifierKey">_NS:9</string>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClipsSubviews">YES</bool>
- <string key="targetRuntimeIdentifier">IBIPadFramework</string>
- <int key="IBUIContentVerticalAlignment">0</int>
- <string key="IBUIText"/>
- <int key="IBUIBorderStyle">1</int>
- <string key="IBUIPlaceholder">Name</string>
- <object class="NSColor" key="IBUITextColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MAA</bytes>
- <object class="NSColorSpace" key="NSCustomColorSpace" id="627722621">
- <int key="NSID">2</int>
- </object>
- </object>
- <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
- <float key="IBUIMinimumFontSize">17</float>
- <object class="IBUITextInputTraits" key="IBUITextInputTraits">
- <int key="IBUIAutocorrectionType">1</int>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBUIFontDescription" key="IBUIFontDescription" id="437837318">
- <string key="name">ArialMT</string>
- <string key="family">Arial</string>
- <int key="traits">0</int>
- <double key="pointSize">14</double>
- </object>
- <object class="NSFont" key="IBUIFont" id="642471603">
- <string key="NSName">ArialMT</string>
- <double key="NSSize">14</double>
- <int key="NSfFlags">16</int>
- </object>
- </object>
- <object class="IBUITextField" id="1009432364">
- <reference key="NSNextResponder" ref="766721923"/>
- <int key="NSvFlags">292</int>
- <string key="NSFrame">{{28, 70}, {646, 36}}</string>
- <reference key="NSSuperview" ref="766721923"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="425938859"/>
- <string key="NSReuseIdentifierKey">_NS:9</string>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClipsSubviews">YES</bool>
- <string key="targetRuntimeIdentifier">IBIPadFramework</string>
- <int key="IBUIContentVerticalAlignment">0</int>
- <string key="IBUIText"/>
- <int key="IBUIBorderStyle">1</int>
- <string key="IBUIPlaceholder">Email</string>
- <object class="NSColor" key="IBUITextColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MAA</bytes>
- <reference key="NSCustomColorSpace" ref="627722621"/>
- </object>
- <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
- <float key="IBUIMinimumFontSize">17</float>
- <object class="IBUITextInputTraits" key="IBUITextInputTraits">
- <int key="IBUIAutocorrectionType">1</int>
- <int key="IBUIKeyboardType">7</int>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <reference key="IBUIFontDescription" ref="437837318"/>
- <reference key="IBUIFont" ref="642471603"/>
- </object>
- <object class="IBUITextView" id="425938859">
- <reference key="NSNextResponder" ref="766721923"/>
- <int key="NSvFlags">292</int>
- <string key="NSFrame">{{28, 121}, {646, 128}}</string>
+ <string key="NSFrameSize">{703, 748}</string>
<reference key="NSSuperview" ref="766721923"/>
<reference key="NSWindow"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
- <bytes key="NSRGB">MSAxIDEAA</bytes>
+ <bytes key="NSRGB">MCAwIDAgMAA</bytes>
+ <string key="IBUIColorCocoaTouchKeyPath">groupTableViewBackgroundColor</string>
</object>
<bool key="IBUIClipsSubviews">YES</bool>
- <bool key="IBUIMultipleTouchEnabled">YES</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
- <bool key="IBUIShowsHorizontalScrollIndicator">NO</bool>
- <string key="IBUIText"/>
- <object class="IBUITextInputTraits" key="IBUITextInputTraits">
- <int key="IBUIAutocorrectionType">1</int>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <reference key="IBUIFontDescription" ref="437837318"/>
- <reference key="IBUIFont" ref="642471603"/>
+ <bool key="IBUIAlwaysBounceVertical">YES</bool>
+ <int key="IBUIStyle">1</int>
+ <int key="IBUISeparatorStyle">2</int>
+ <int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
+ <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
+ <float key="IBUIRowHeight">44</float>
+ <float key="IBUISectionHeaderHeight">10</float>
+ <float key="IBUISectionFooterHeight">10</float>
</object>
</array>
<string key="NSFrame">{{0, 20}, {703, 748}}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="699852808"/>
+ <reference key="NSNextKeyView" ref="972979255"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
- <reference key="NSCustomColorSpace" ref="627722621"/>
+ <object class="NSColorSpace" key="NSCustomColorSpace" id="627722621">
+ <int key="NSID">2</int>
+ </object>
</object>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
@@ -170,6 +104,196 @@
</object>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
</object>
+ <object class="IBUITableViewCell" id="556096163">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">292</int>
+ <array class="NSMutableArray" key="NSSubviews">
+ <object class="IBUIView" id="392367718">
+ <reference key="NSNextResponder" ref="556096163"/>
+ <int key="NSvFlags">256</int>
+ <array class="NSMutableArray" key="NSSubviews">
+ <object class="IBUITextField" id="771496426">
+ <reference key="NSNextResponder" ref="392367718"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 7}, {663, 30}}</string>
+ <reference key="NSSuperview" ref="392367718"/>
+ <reference key="NSWindow"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <string key="IBUIText"/>
+ <string key="IBUIPlaceholder">Name</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ <reference key="NSCustomColorSpace" ref="627722621"/>
+ </object>
+ <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
+ <float key="IBUIMinimumFontSize">17</float>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIAutocorrectionType">1</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIFontDescription" key="IBUIFontDescription" id="437837318">
+ <string key="name">ArialMT</string>
+ <string key="family">Arial</string>
+ <int key="traits">0</int>
+ <double key="pointSize">14</double>
+ </object>
+ <object class="NSFont" key="IBUIFont" id="257405558">
+ <string key="NSName">ArialMT</string>
+ <double key="NSSize">14</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ </object>
+ </array>
+ <string key="NSFrameSize">{703, 43}</string>
+ <reference key="NSSuperview" ref="556096163"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="771496426"/>
+ <string key="NSReuseIdentifierKey">_NS:11</string>
+ <object class="NSColor" key="IBUIBackgroundColor" id="209234782">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MCAwAA</bytes>
+ </object>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">4</int>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </array>
+ <string key="NSFrameSize">{703, 44}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="392367718"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <object class="NSColor" key="IBUIBackgroundColor" id="744935515">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ </object>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <int key="IBUISelectionStyle">0</int>
+ <reference key="IBUIContentView" ref="392367718"/>
+ </object>
+ <object class="IBUITableViewCell" id="822790127">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">292</int>
+ <array class="NSMutableArray" key="NSSubviews">
+ <object class="IBUIView" id="569345586">
+ <reference key="NSNextResponder" ref="822790127"/>
+ <int key="NSvFlags">256</int>
+ <array class="NSMutableArray" key="NSSubviews">
+ <object class="IBUITextField" id="367206883">
+ <reference key="NSNextResponder" ref="569345586"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{20, 7}, {663, 30}}</string>
+ <reference key="NSSuperview" ref="569345586"/>
+ <reference key="NSWindow"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <string key="IBUIText"/>
+ <string key="IBUIPlaceholder">Email</string>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ <reference key="NSCustomColorSpace" ref="627722621"/>
+ </object>
+ <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
+ <float key="IBUIMinimumFontSize">17</float>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIAutocorrectionType">1</int>
+ <int key="IBUIKeyboardType">7</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <reference key="IBUIFontDescription" ref="437837318"/>
+ <reference key="IBUIFont" ref="257405558"/>
+ </object>
+ </array>
+ <string key="NSFrameSize">{703, 43}</string>
+ <reference key="NSSuperview" ref="822790127"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="367206883"/>
+ <string key="NSReuseIdentifierKey">_NS:11</string>
+ <reference key="IBUIBackgroundColor" ref="209234782"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">4</int>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </array>
+ <string key="NSFrameSize">{703, 44}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="569345586"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <reference key="IBUIBackgroundColor" ref="744935515"/>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <int key="IBUISelectionStyle">0</int>
+ <reference key="IBUIContentView" ref="569345586"/>
+ </object>
+ <object class="IBUITableViewCell" id="380838466">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">292</int>
+ <array class="NSMutableArray" key="NSSubviews">
+ <object class="IBUIView" id="14843880">
+ <reference key="NSNextResponder" ref="380838466"/>
+ <int key="NSvFlags">256</int>
+ <array class="NSMutableArray" key="NSSubviews">
+ <object class="IBUITextView" id="138944259">
+ <reference key="NSNextResponder" ref="14843880"/>
+ <int key="NSvFlags">290</int>
+ <string key="NSFrame">{{9, 8}, {684, 142}}</string>
+ <reference key="NSSuperview" ref="14843880"/>
+ <reference key="NSWindow"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ </object>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <bool key="IBUIShowsHorizontalScrollIndicator">NO</bool>
+ <string key="IBUIText"/>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIAutocapitalizationType">2</int>
+ <int key="IBUIAutocorrectionType">1</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <reference key="IBUIFontDescription" ref="437837318"/>
+ <reference key="IBUIFont" ref="257405558"/>
+ </object>
+ </array>
+ <string key="NSFrameSize">{703, 156}</string>
+ <reference key="NSSuperview" ref="380838466"/>
+ <reference key="NSWindow"/>
+ <string key="NSReuseIdentifierKey">_NS:11</string>
+ <reference key="IBUIBackgroundColor" ref="209234782"/>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">4</int>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </array>
+ <string key="NSFrameSize">{703, 157}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="14843880"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <reference key="IBUIBackgroundColor" ref="744935515"/>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <int key="IBUISelectionStyle">0</int>
+ <reference key="IBUIContentView" ref="14843880"/>
+ <real value="157" key="IBUIRowHeight"/>
+ </object>
</array>
<object class="IBObjectContainer" key="IBDocument.Objects">
<array class="NSMutableArray" key="connectionRecords">
@@ -183,27 +307,75 @@
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">nameCell</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="556096163"/>
+ </object>
+ <int key="connectionID">25</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">emailCell</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="822790127"/>
+ </object>
+ <int key="connectionID">26</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">messageCell</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="380838466"/>
+ </object>
+ <int key="connectionID">27</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">nameField</string>
<reference key="source" ref="841351856"/>
- <reference key="destination" ref="699852808"/>
+ <reference key="destination" ref="771496426"/>
+ </object>
+ <int key="connectionID">32</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">emailField</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="367206883"/>
</object>
- <int key="connectionID">11</int>
+ <int key="connectionID">33</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">messageField</string>
<reference key="source" ref="841351856"/>
- <reference key="destination" ref="425938859"/>
+ <reference key="destination" ref="138944259"/>
</object>
- <int key="connectionID">13</int>
+ <int key="connectionID">34</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">emailField</string>
+ <string key="label">feedbackTable</string>
<reference key="source" ref="841351856"/>
- <reference key="destination" ref="1009432364"/>
+ <reference key="destination" ref="972979255"/>
</object>
- <int key="connectionID">14</int>
+ <int key="connectionID">35</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">dataSource</string>
+ <reference key="source" ref="972979255"/>
+ <reference key="destination" ref="841351856"/>
+ </object>
+ <int key="connectionID">17</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="972979255"/>
+ <reference key="destination" ref="841351856"/>
+ </object>
+ <int key="connectionID">18</int>
</object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
@@ -229,26 +401,53 @@
<int key="objectID">2</int>
<reference key="object" ref="766721923"/>
<array class="NSMutableArray" key="children">
- <reference ref="699852808"/>
- <reference ref="1009432364"/>
- <reference ref="425938859"/>
+ <reference ref="972979255"/>
</array>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">7</int>
- <reference key="object" ref="699852808"/>
+ <int key="objectID">15</int>
+ <reference key="object" ref="972979255"/>
<reference key="parent" ref="766721923"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">8</int>
- <reference key="object" ref="1009432364"/>
- <reference key="parent" ref="766721923"/>
+ <int key="objectID">19</int>
+ <reference key="object" ref="556096163"/>
+ <array class="NSMutableArray" key="children">
+ <reference ref="771496426"/>
+ </array>
+ <reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">9</int>
- <reference key="object" ref="425938859"/>
- <reference key="parent" ref="766721923"/>
+ <int key="objectID">20</int>
+ <reference key="object" ref="822790127"/>
+ <array class="NSMutableArray" key="children">
+ <reference ref="367206883"/>
+ </array>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">21</int>
+ <reference key="object" ref="380838466"/>
+ <array class="NSMutableArray" key="children">
+ <reference ref="138944259"/>
+ </array>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">28</int>
+ <reference key="object" ref="771496426"/>
+ <reference key="parent" ref="556096163"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">29</int>
+ <reference key="object" ref="367206883"/>
+ <reference key="parent" ref="822790127"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">30</int>
+ <reference key="object" ref="138944259"/>
+ <reference key="parent" ref="380838466"/>
</object>
</array>
</object>
@@ -257,38 +456,60 @@
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="-2.CustomClassName">UIResponder</string>
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="15.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="19.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <dictionary class="NSMutableDictionary" key="7.IBAttributePlaceholdersKey"/>
- <string key="7.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <dictionary class="NSMutableDictionary" key="8.IBAttributePlaceholdersKey"/>
- <string key="8.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="9.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="20.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="21.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="28.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="29.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="30.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
- <int key="maxID">14</int>
+ <int key="maxID">35</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">FeedbackViewController</string>
<string key="superclassName">UIViewController</string>
<dictionary class="NSMutableDictionary" key="outlets">
+ <string key="emailCell">UITableViewCell</string>
<string key="emailField">UITextField</string>
+ <string key="feedbackTable">UITableView</string>
+ <string key="messageCell">UITableViewCell</string>
<string key="messageField">UITextView</string>
+ <string key="nameCell">UITableViewCell</string>
<string key="nameField">UITextField</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <object class="IBToOneOutletInfo" key="emailCell">
+ <string key="name">emailCell</string>
+ <string key="candidateClassName">UITableViewCell</string>
+ </object>
<object class="IBToOneOutletInfo" key="emailField">
<string key="name">emailField</string>
<string key="candidateClassName">UITextField</string>
</object>
+ <object class="IBToOneOutletInfo" key="feedbackTable">
+ <string key="name">feedbackTable</string>
+ <string key="candidateClassName">UITableView</string>
+ </object>
+ <object class="IBToOneOutletInfo" key="messageCell">
+ <string key="name">messageCell</string>
+ <string key="candidateClassName">UITableViewCell</string>
+ </object>
<object class="IBToOneOutletInfo" key="messageField">
<string key="name">messageField</string>
<string key="candidateClassName">UITextView</string>
</object>
+ <object class="IBToOneOutletInfo" key="nameCell">
+ <string key="name">nameCell</string>
+ <string key="candidateClassName">UITableViewCell</string>
+ </object>
<object class="IBToOneOutletInfo" key="nameField">
<string key="name">nameField</string>
<string key="candidateClassName">UITextField</string>

0 comments on commit 1d6e376

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