Skip to content

Commit 9fcfbe2

Browse files
author
Joey Lorich
committed
Add plus icon to add feed cell style
1 parent 497cea1 commit 9fcfbe2

4 files changed

Lines changed: 20 additions & 12 deletions

File tree

EasyReader/Application/Controllers/Menu/MenuCells/EZRSearchFeedCell.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ @implementation EZRSearchFeedCell
2020
- (void)setFeedData:(NSDictionary *)feedData
2121
{
2222
_feedData = feedData;
23-
23+
self.imageView_icon.image = [UIImage imageNamed:@"icon_plus"];
2424
self.label_name.text = [feedData objectForKey:@"name"];
2525
}
2626

EasyReader/Application/Views/Main_iPhone.storyboard

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5056" systemVersion="13C64" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="Hgn-0q-Z1W">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5056" systemVersion="13C1021" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="Hgn-0q-Z1W">
33
<dependencies>
44
<deployment defaultVersion="1792" identifier="iOS"/>
55
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
@@ -277,7 +277,7 @@
277277
<autoresizingMask key="autoresizingMask"/>
278278
<subviews>
279279
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Ptb-Kv-s5O">
280-
<rect key="frame" x="20" y="17" width="10" height="10"/>
280+
<rect key="frame" x="20" y="14" width="16" height="16"/>
281281
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
282282
</imageView>
283283
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SoB-0g-JfK">
@@ -288,15 +288,6 @@
288288
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
289289
<nil key="highlightedColor"/>
290290
</label>
291-
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xNC-fC-qEa">
292-
<rect key="frame" x="222" y="5" width="33" height="33"/>
293-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
294-
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
295-
<fontDescription key="fontDescription" name="AmericanTypewriter-Bold" family="American Typewriter" pointSize="18"/>
296-
<state key="normal" title="+">
297-
<color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
298-
</state>
299-
</button>
300291
</subviews>
301292
</tableViewCellContentView>
302293
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"idiom" : "universal",
9+
"scale" : "2x",
10+
"filename" : "icon_plus@2x.png"
11+
}
12+
],
13+
"info" : {
14+
"version" : 1,
15+
"author" : "xcode"
16+
}
17+
}
1.07 KB
Loading

0 commit comments

Comments
 (0)