Skip to content

Commit

Permalink
Comments Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vetrichelvan committed Jun 29, 2015
1 parent 10a50e6 commit 1b708a5
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 35 deletions.
15 changes: 9 additions & 6 deletions HackerNews/Base.lproj/Main_iPhone.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -452,18 +452,20 @@
<toolbarItems/>
<navigationItem key="navigationItem" title="File system that stores location of file in Pi" id="bZM-O2-6k1">
<barButtonItem key="rightBarButtonItem" style="plain" id="JWb-tA-dAw">
<button key="customView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="iXV-h3-NUY">
<rect key="frame" x="116" y="234" width="87" height="36"/>
<button key="customView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="iXV-h3-NUY">
<rect key="frame" x="217" y="4" width="28" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" name="AvenirNext-Medium" family="Avenir Next" pointSize="16"/>
<state key="normal" title="Comments">
<state key="normal" image="webComments">
<color key="titleColor" red="0.99991267920000004" green="1" blue="0.99988144639999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="titleShadowColor" red="0.99991267920000004" green="1" blue="0.99988144639999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="commentsButton:" destination="ZjH-Uf-knr" eventType="touchUpInside" id="2xR-Zf-KgH"/>
</connections>
</button>
<connections>
<segue destination="fnA-Bg-GpQ" kind="push" identifier="webToComments" id="cYG-mk-hRy"/>
</connections>
</barButtonItem>
</navigationItem>
<connections>
Expand Down Expand Up @@ -600,15 +602,16 @@
<image name="story" width="26" height="26"/>
<image name="userFull" width="20" height="21"/>
<image name="userLine" width="21" height="22"/>
<image name="webComments" width="28" height="22"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination" type="retina4"/>
</simulatedMetricsContainer>
<inferredMetricsTieBreakers>
<segue reference="MQs-EZ-GAP"/>
<segue reference="FzI-He-X0n"/>
<segue reference="8rF-nL-EbF"/>
<segue reference="cYG-mk-hRy"/>
</inferredMetricsTieBreakers>
<color key="tintColor" red="0.91764705882352937" green="0.30196078431372547" blue="0.14901960784313725" alpha="1" colorSpace="calibratedRGB"/>
</document>
Binary file not shown.
Binary file not shown.
Binary file not shown.
23 changes: 0 additions & 23 deletions HackerNews/Images.xcassets/commentSmall.imageset/Contents.json

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
{
"idiom" : "universal",
"scale" : "1x",
"filename" : "Shape 2.png"
"filename" : "webComments.png"
},
{
"idiom" : "universal",
"scale" : "2x",
"filename" : "Shape 2@2x.png"
"filename" : "webComments@2x.png"
},
{
"idiom" : "universal",
"scale" : "3x",
"filename" : "Shape 2@3x.png"
"filename" : "webComments@3x.png"
}
],
"info" : {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
{
"idiom" : "universal",
"scale" : "1x",
"filename" : "Oval 4.png"
"filename" : "webSendTo.png"
},
{
"idiom" : "universal",
"scale" : "2x",
"filename" : "Oval 4@2x.png"
"filename" : "webSendTo@2x.png"
},
{
"idiom" : "universal",
"scale" : "3x",
"filename" : "Oval 4@3x.png"
"filename" : "webSendTo@3x.png"
}
],
"info" : {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions HackerNews/WebViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ - (void)viewDidLoad {
[self.navigationItem.backBarButtonItem setTitle:@" "];
//self.navigationController.toolbarHidden = NO;

// UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 320-10, 44)];
// titleLabel.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);
// //titleLabel.backgroundColor = [UIColor clearColor];
// titleLabel.font = [UIFont fontWithName:@"AvenirNext-Medium" size:14.0f];
// //titleLabel.shadowColor = [UIColor colorWithWhite:0 alpha:0.5];
// titleLabel.text = [self.story valueForKey:@"title"];
// titleLabel.textAlignment = NSTextAlignmentCenter;
// titleLabel.textColor = [UIColor whiteColor];


NSLog(@"%@", self.story);

self.viewWeb.delegate = self;
Expand Down

0 comments on commit 1b708a5

Please sign in to comment.