Skip to content

Commit

Permalink
Some more UI tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
brung committed Feb 21, 2015
1 parent c69d45d commit 6c2d882
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion unnamed/ComposeAnswerCell.xib
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6254" systemVersion="14C109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6254" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
</dependencies>
Expand Down Expand Up @@ -36,6 +36,7 @@
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="nNU-3Q-cCn" secondAttribute="trailing" constant="8" id="ETB-T8-VY3"/>
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="Fx9-4V-grz" secondAttribute="bottom" constant="4" id="R4X-m8-MEN"/>
Expand Down
1 change: 1 addition & 0 deletions unnamed/ComposeViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ - (void)configureCell:(UITableViewCell *)cell atIndexPath:(NSIndexPath *)indexPa
answerCell.answer = self.answers[indexPath.row];
answerCell.answerIndex = indexPath.row;
//answerCell.delegate = self;
answerCell.backgroundColor = [UIColor appBgColor];
}
}

Expand Down
1 change: 1 addition & 0 deletions unnamed/DetailAnswerCell.xib
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xwf-pX-8Wb">
<rect key="frame" x="268" y="11" width="44" height="44"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="width" constant="44" id="9tQ-Nz-nIl"/>
<constraint firstAttribute="height" constant="44" id="doC-qN-PGf"/>
Expand Down
1 change: 1 addition & 0 deletions unnamed/DetailQuestionCell.xib
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="mBC-qR-wwf" customClass="ProfileImageView">
<rect key="frame" x="8" y="8" width="64" height="64"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="width" constant="64" id="Iqn-u7-aPV"/>
<constraint firstAttribute="height" constant="64" id="MNd-p6-12b"/>
Expand Down
3 changes: 3 additions & 0 deletions unnamed/SurveyViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#import "DetailQuestionCell.h"
#import "DetailAnswerCell.h"
#import "ParseClient.h"
#import "UIColor+AppBgColor.h"

NSString * const AnswerCellNib = @"DetailAnswerCell";
NSString * const QuestionCellNib = @"DetailQuestionCell";
Expand All @@ -30,6 +31,7 @@ @interface SurveyViewController () <UITableViewDataSource, UITableViewDelegate>
@implementation SurveyViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor = [UIColor appBgColor];
// Do any additional setup after loading the view from its nib.
self.tableView.dataSource = self;
self.tableView.delegate = self;
Expand Down Expand Up @@ -117,6 +119,7 @@ - (void)configureCell:(UITableViewCell *)pCell forRowAtIndexPath:(NSIndexPath *)
cell.isCurrentVote = NO;
}
}
pCell.backgroundColor = [UIColor appBgColor];
}

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
Expand Down
12 changes: 6 additions & 6 deletions unnamed/SurveyViewController.xib
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleAspectFit" alwaysBounceVertical="YES" style="plain" separatorStyle="none" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" translatesAutoresizingMaskIntoConstraints="NO" id="I7e-yb-WNd">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<rect key="frame" x="16" y="16" width="288" height="536"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</tableView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="I7e-yb-WNd" secondAttribute="trailing" id="5cz-vC-k9X"/>
<constraint firstItem="I7e-yb-WNd" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="6g3-aB-sVK"/>
<constraint firstItem="I7e-yb-WNd" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="H5F-wN-VFe"/>
<constraint firstAttribute="bottom" secondItem="I7e-yb-WNd" secondAttribute="bottom" id="scd-wv-W7r"/>
<constraint firstAttribute="trailing" secondItem="I7e-yb-WNd" secondAttribute="trailing" constant="16" id="5cz-vC-k9X"/>
<constraint firstItem="I7e-yb-WNd" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="16" id="6g3-aB-sVK"/>
<constraint firstItem="I7e-yb-WNd" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="16" id="H5F-wN-VFe"/>
<constraint firstAttribute="bottom" secondItem="I7e-yb-WNd" secondAttribute="bottom" constant="16" id="scd-wv-W7r"/>
</constraints>
<point key="canvasLocation" x="-308" y="18"/>
</view>
Expand Down

0 comments on commit 6c2d882

Please sign in to comment.