Skip to content

Commit d66e24f

Browse files
committed
Update Icons for iOS7, small design fixes
1 parent 89a44ce commit d66e24f

18 files changed

+58
-29
lines changed

Hydra-Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
<dict>
1515
<key>CFBundleIconFiles</key>
1616
<array>
17+
<string>Icon-Small-iOS7</string>
18+
<string>Icon-Small-iOS6</string>
19+
<string>Icon-iOS7</string>
20+
<string>Icon-iOS6</string>
1721
<string>Icon.png</string>
1822
<string>[email protected]</string>
1923
</array>

Hydra.xcodeproj/project.pbxproj

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@
8484
F567044716BD5D8100C6B00D /* info-minerva.png in Resources */ = {isa = PBXBuildFile; fileRef = F567044316BD5D8100C6B00D /* info-minerva.png */; };
8585
F569582716AA095800C45D00 /* UINavigationController+ReplaceController.m in Sources */ = {isa = PBXBuildFile; fileRef = F569582616AA095800C45D00 /* UINavigationController+ReplaceController.m */; };
8686
F56B177116C9069300AB59D6 /* NSMutableArray+Shuffling.m in Sources */ = {isa = PBXBuildFile; fileRef = F56B177016C9069300AB59D6 /* NSMutableArray+Shuffling.m */; };
87-
F56D766C1699ED3B002CF245 /* Icon-Small.png in Resources */ = {isa = PBXBuildFile; fileRef = F56D76681699ED3B002CF245 /* Icon-Small.png */; };
88-
F56D766D1699ED3B002CF245 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = F56D76691699ED3B002CF245 /* [email protected] */; };
89-
F56D766E1699ED3B002CF245 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F56D766A1699ED3B002CF245 /* Icon.png */; };
90-
F56D766F1699ED3B002CF245 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = F56D766B1699ED3B002CF245 /* [email protected] */; };
9187
F56F139C169731FE003D4447 /* UrgentViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F56F139E169731FE003D4447 /* UrgentViewController.xib */; };
9288
F56F9D0F16B32F710020856B /* InfoPageControl.m in Sources */ = {isa = PBXBuildFile; fileRef = F56F9D0E16B32F710020856B /* InfoPageControl.m */; };
9389
F57CB9DA15B84C4B00D87CB3 /* NSDate+Utilities.m in Sources */ = {isa = PBXBuildFile; fileRef = F57CB9D915B84C4B00D87CB3 /* NSDate+Utilities.m */; };
@@ -139,6 +135,14 @@
139135
F5B650AF16C135A900989ADB /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = F5B650AD16C135A900989ADB /* [email protected] */; };
140136
F5B86E1916C30EF900BC5D66 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = F5B86E1816C30EF900BC5D66 /* [email protected] */; };
141137
F5B86EE216C3106100BC5D66 /* icon-star.png in Resources */ = {isa = PBXBuildFile; fileRef = F5B86EE116C3106000BC5D66 /* icon-star.png */; };
138+
F5B9F2E817CEA96F0042C8A4 /* Icon-iOS6.png in Resources */ = {isa = PBXBuildFile; fileRef = F5B9F2E517CEA96F0042C8A4 /* Icon-iOS6.png */; };
139+
F5B9F2E917CEA96F0042C8A4 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = F5B9F2E617CEA96F0042C8A4 /* [email protected] */; };
140+
F5B9F2EA17CEA96F0042C8A4 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = F5B9F2E717CEA96F0042C8A4 /* [email protected] */; };
141+
F5B9F2F017CEAA040042C8A4 /* Icon-Small-iOS6.png in Resources */ = {isa = PBXBuildFile; fileRef = F5B9F2EB17CEAA040042C8A4 /* Icon-Small-iOS6.png */; };
142+
F5B9F2F117CEAA040042C8A4 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = F5B9F2EC17CEAA040042C8A4 /* [email protected] */; };
143+
F5B9F2F217CEAA040042C8A4 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = F5B9F2ED17CEAA040042C8A4 /* [email protected] */; };
144+
F5B9F2F317CEAA040042C8A4 /* iTunesArtwork.png in Resources */ = {isa = PBXBuildFile; fileRef = F5B9F2EE17CEAA040042C8A4 /* iTunesArtwork.png */; };
145+
F5B9F2F417CEAA040042C8A4 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = F5B9F2EF17CEAA040042C8A4 /* [email protected] */; };
142146
F5BAEC8B1518868200F6A1B1 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5BAEC8A1518868200F6A1B1 /* UIKit.framework */; };
143147
F5BAEC8D1518868200F6A1B1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5BAEC8C1518868200F6A1B1 /* Foundation.framework */; };
144148
F5BAEC8F1518868200F6A1B1 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5BAEC8E1518868200F6A1B1 /* CoreGraphics.framework */; };
@@ -261,7 +265,6 @@
261265
F50527CD15BDC1E600A697F8 /* info-kalender.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = "info-kalender.html"; sourceTree = "<group>"; };
262266
F50527CF15BDC5F600A697F8 /* info-studentenartsen.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = "info-studentenartsen.html"; sourceTree = "<group>"; };
263267
F508A88716CA748900418A15 /* pods-acknowledgements.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = "pods-acknowledgements.html"; sourceTree = "<group>"; };
264-
F50A6085169A0EBC0048B919 /* iTunesArtwork */ = {isa = PBXFileReference; lastKnownFileType = file; path = iTunesArtwork; sourceTree = "<group>"; };
265268
F50C12CB169A225800F0D010 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; };
266269
F50EE09415B5F587000F1992 /* WebViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebViewController.h; sourceTree = "<group>"; };
267270
F50EE09515B5F587000F1992 /* WebViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WebViewController.m; sourceTree = "<group>"; };
@@ -322,10 +325,6 @@
322325
F569582616AA095800C45D00 /* UINavigationController+ReplaceController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UINavigationController+ReplaceController.m"; sourceTree = "<group>"; };
323326
F56B176F16C9069300AB59D6 /* NSMutableArray+Shuffling.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMutableArray+Shuffling.h"; sourceTree = "<group>"; };
324327
F56B177016C9069300AB59D6 /* NSMutableArray+Shuffling.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSMutableArray+Shuffling.m"; sourceTree = "<group>"; };
325-
F56D76681699ED3B002CF245 /* Icon-Small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-Small.png"; sourceTree = "<group>"; };
326-
F56D76691699ED3B002CF245 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
327-
F56D766A1699ED3B002CF245 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
328-
F56D766B1699ED3B002CF245 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
329328
F56F139D169731FE003D4447 /* nl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nl; path = nl.lproj/UrgentViewController.xib; sourceTree = "<group>"; };
330329
F56F9D0D16B32F710020856B /* InfoPageControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InfoPageControl.h; sourceTree = "<group>"; };
331330
F56F9D0E16B32F710020856B /* InfoPageControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InfoPageControl.m; sourceTree = "<group>"; };
@@ -380,6 +379,14 @@
380379
F5B650AD16C135A900989ADB /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
381380
F5B86E1816C30EF900BC5D66 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
382381
F5B86EE116C3106000BC5D66 /* icon-star.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "icon-star.png"; sourceTree = "<group>"; };
382+
F5B9F2E517CEA96F0042C8A4 /* Icon-iOS6.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-iOS6.png"; sourceTree = "<group>"; };
383+
F5B9F2E617CEA96F0042C8A4 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
384+
F5B9F2E717CEA96F0042C8A4 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
385+
F5B9F2EB17CEAA040042C8A4 /* Icon-Small-iOS6.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-Small-iOS6.png"; sourceTree = "<group>"; };
386+
F5B9F2EC17CEAA040042C8A4 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
387+
F5B9F2ED17CEAA040042C8A4 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
388+
F5B9F2EE17CEAA040042C8A4 /* iTunesArtwork.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = iTunesArtwork.png; sourceTree = "<group>"; };
389+
F5B9F2EF17CEAA040042C8A4 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
383390
F5BAEC861518868200F6A1B1 /* Hydra.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Hydra.app; sourceTree = BUILT_PRODUCTS_DIR; };
384391
F5BAEC8A1518868200F6A1B1 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
385392
F5BAEC8C1518868200F6A1B1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
@@ -720,11 +727,14 @@
720727
F56D76701699ED4D002CF245 /* Icons */ = {
721728
isa = PBXGroup;
722729
children = (
723-
F56D76681699ED3B002CF245 /* Icon-Small.png */,
724-
F56D76691699ED3B002CF245 /* [email protected] */,
725-
F56D766A1699ED3B002CF245 /* Icon.png */,
726-
F56D766B1699ED3B002CF245 /* [email protected] */,
727-
F50A6085169A0EBC0048B919 /* iTunesArtwork */,
730+
F5B9F2E517CEA96F0042C8A4 /* Icon-iOS6.png */,
731+
F5B9F2E617CEA96F0042C8A4 /* [email protected] */,
732+
F5B9F2E717CEA96F0042C8A4 /* [email protected] */,
733+
F5B9F2EB17CEAA040042C8A4 /* Icon-Small-iOS6.png */,
734+
F5B9F2EC17CEAA040042C8A4 /* [email protected] */,
735+
F5B9F2ED17CEAA040042C8A4 /* [email protected] */,
736+
F5B9F2EE17CEAA040042C8A4 /* iTunesArtwork.png */,
737+
F5B9F2EF17CEAA040042C8A4 /* [email protected] */,
728738
);
729739
path = Icons;
730740
sourceTree = "<group>";
@@ -1027,6 +1037,7 @@
10271037
F5D36BB815B5BD2A00B6E017 /* [email protected] in Resources */,
10281038
F54B160215B7FFE6000A4407 /* resto-logo.png in Resources */,
10291039
F54B160315B7FFE6000A4407 /* [email protected] in Resources */,
1040+
F5B9F2F117CEAA040042C8A4 /* [email protected] in Resources */,
10301041
F57E7E0E15B837F100D2A59E /* icon-meal.png in Resources */,
10311042
F57E7E0F15B837F100D2A59E /* icon-soup.png in Resources */,
10321043
F57E7E1015B837F100D2A59E /* icon-vegetables.png in Resources */,
@@ -1047,6 +1058,7 @@
10471058
F59D170115BD693F00B6F892 /* [email protected] in Resources */,
10481059
F59D170915BD7CE500B6F892 /* info-content.plist in Resources */,
10491060
F59D170A15BD7CE500B6F892 /* info-sport-openingsuren.html in Resources */,
1061+
F5B9F2F017CEAA040042C8A4 /* Icon-Small-iOS6.png in Resources */,
10501062
F59D170E15BD811000B6F892 /* info-sport-aanbod.html in Resources */,
10511063
F59D171015BD813E00B6F892 /* webview.css in Resources */,
10521064
F5CFAA3D15BD9B87008E75B0 /* info-fietsen.html in Resources */,
@@ -1085,17 +1097,15 @@
10851097
F54AB5A5166FF510006C1189 /* button-urgent.png in Resources */,
10861098
F54AB5A6166FF510006C1189 /* [email protected] in Resources */,
10871099
F56F139C169731FE003D4447 /* UrgentViewController.xib in Resources */,
1088-
F56D766C1699ED3B002CF245 /* Icon-Small.png in Resources */,
1089-
F56D766D1699ED3B002CF245 /* [email protected] in Resources */,
1090-
F56D766E1699ED3B002CF245 /* Icon.png in Resources */,
1091-
F56D766F1699ED3B002CF245 /* [email protected] in Resources */,
10921100
F55E89F516A4B928008595CB /* ShareKit.bundle in Resources */,
10931101
F531DE6516B2E41B0050D88B /* [email protected] in Resources */,
10941102
F531DE6816B2EE720050D88B /* button-route.png in Resources */,
1103+
F5B9F2F217CEAA040042C8A4 /* [email protected] in Resources */,
10951104
F531DE6D16B30A0F0050D88B /* [email protected] in Resources */,
10961105
F531DE6E16B30A0F0050D88B /* [email protected] in Resources */,
10971106
F531DE6F16B30A0F0050D88B /* [email protected] in Resources */,
10981107
F531DE7016B30A0F0050D88B /* [email protected] in Resources */,
1108+
F5B9F2E917CEA96F0042C8A4 /* [email protected] in Resources */,
10991109
F531DE9016B31FFC0050D88B /* button-track-highlighted.png in Resources */,
11001110
F531DE9116B31FFC0050D88B /* button-track-selected-highlighted.png in Resources */,
11011111
F531DE9216B31FFC0050D88B /* button-track-selected.png in Resources */,
@@ -1109,6 +1119,7 @@
11091119
F5B6509D16C129B700989ADB /* [email protected] in Resources */,
11101120
F5B6509E16C129B700989ADB /* btn-urgent-bg.png in Resources */,
11111121
F5B6509F16C129B700989ADB /* [email protected] in Resources */,
1122+
F5B9F2F317CEAA040042C8A4 /* iTunesArtwork.png in Resources */,
11121123
F5B650A416C12A9300989ADB /* btn-urgent-pause.png in Resources */,
11131124
F5B650A516C12A9300989ADB /* [email protected] in Resources */,
11141125
F5B650A616C12A9300989ADB /* btn-urgent-play.png in Resources */,
@@ -1127,13 +1138,16 @@
11271138
F5E851C216C43174003DF993 /* btn-urgent-mail.png in Resources */,
11281139
F5E851C316C43174003DF993 /* [email protected] in Resources */,
11291140
F5E851C416C43174003DF993 /* btn-urgent-soundcloud.png in Resources */,
1141+
F5B9F2F417CEAA040042C8A4 /* [email protected] in Resources */,
11301142
F5E851C516C43174003DF993 /* [email protected] in Resources */,
11311143
F5E851C616C43174003DF993 /* btn-urgent-twitter.png in Resources */,
11321144
F5E851C716C43174003DF993 /* [email protected] in Resources */,
1145+
F5B9F2E817CEA96F0042C8A4 /* Icon-iOS6.png in Resources */,
11331146
F5E851CC16C447C4003DF993 /* urgent-nowplaying.jpg in Resources */,
11341147
F5E851CD16C447C4003DF993 /* [email protected] in Resources */,
11351148
F5E851D016C44B47003DF993 /* urgent-bg.jpg in Resources */,
11361149
F5E851D116C44B47003DF993 /* [email protected] in Resources */,
1150+
F5B9F2EA17CEA96F0042C8A4 /* [email protected] in Resources */,
11371151
F5E851D416C44BD7003DF993 /* hydra-logo.png in Resources */,
11381152
F5E851D516C44BD7003DF993 /* [email protected] in Resources */,
11391153
F508A88816CA748900418A15 /* pods-acknowledgements.html in Resources */,

Hydra/ActivitiesController.m

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInte
194194

195195
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
196196
{
197-
return 46.0f;
197+
return 46;
198198
}
199199

200200
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
@@ -213,7 +213,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
213213
if (cell == nil) {
214214
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
215215
reuseIdentifier:NoHighlightCellIdentifier];
216-
[self setupCell:cell withWidth:250];
216+
[self setupCell:cell withRightMargin:10];
217217
}
218218
}
219219
else {
@@ -222,14 +222,13 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
222222
if (cell == nil) {
223223
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
224224
reuseIdentifier:HighlightCellIdentifier];
225-
[self setupCell:cell withWidth:220];
225+
[self setupCell:cell withRightMargin:40];
226226

227227
UIImageView *star = [[UIImageView alloc] initWithImage:
228228
[UIImage imageNamed:@"icon-star"]];
229229
star.frame = CGRectMake(286, 8, 27, 27);
230230
[cell.contentView addSubview:star];
231231
}
232-
233232
}
234233
titleLabel = (UILabel *)[cell viewWithTag:kCellTitleLabel];
235234
subtitleLabel = (UILabel *)[cell viewWithTag:kCellSubtitleLabel];
@@ -247,19 +246,24 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
247246
return cell;
248247
}
249248

250-
- (void)setupCell:(UITableViewCell *)cell withWidth:(int)width
249+
- (void)setupCell:(UITableViewCell *)cell withRightMargin:(int)rightMargin
251250
{
252251
cell.textLabel.font = [UIFont boldSystemFontOfSize:15.0f];
253252
cell.textLabel.textColor = [UIColor colorWithWhite:0.5 alpha:1];
253+
cell.textLabel.highlightedTextColor = [UIColor colorWithWhite:0.94 alpha:1];
254+
cell.separatorInset = UIEdgeInsetsZero;
255+
256+
CGFloat offsetX = IOS_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0") ? 64 : 60;
257+
CGFloat width = self.view.bounds.size.width - offsetX - rightMargin;
254258

255-
CGRect titleFrame = CGRectMake(60, 4, width, 20);
259+
CGRect titleFrame = CGRectMake(offsetX, 4, width, 20);
256260
UILabel *titleLabel = [[UILabel alloc] initWithFrame:titleFrame];
257261
titleLabel.tag = kCellTitleLabel;
258262
titleLabel.font = [UIFont boldSystemFontOfSize:17.0f];
259263
titleLabel.highlightedTextColor = [UIColor whiteColor];
260264
[cell.contentView addSubview:titleLabel];
261265

262-
CGRect subtitleFrame = CGRectMake(60, 24, width, 16);
266+
CGRect subtitleFrame = CGRectMake(offsetX, 24, width, 16);
263267
UILabel *subtitleLabel = [[UILabel alloc] initWithFrame:subtitleFrame];
264268
subtitleLabel.tag = kCellSubtitleLabel;
265269
subtitleLabel.font = [UIFont systemFontOfSize:13.0f];

Hydra/AppDelegate.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
7171
self.navController = [[UINavigationController alloc] initWithRootViewController:dashboard];
7272
self.navController.navigationBar.tintColor = [UIColor hydraTintColor];
7373

74+
// iOS7 specific appearance
7475
if (IOS_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0")) {
7576
self.navController.view.backgroundColor = [UIColor hydraBackgroundColor];
7677
}

Hydra/InfoViewController.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
7474
static NSString *CellIdentifier = @"InfoCell";
7575
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
7676
if(!cell) {
77-
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
77+
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
78+
reuseIdentifier:CellIdentifier];
79+
cell.separatorInset = UIEdgeInsetsZero;
7880
}
7981

8082
cell.contentView.backgroundColor = [UIColor whiteColor];

Hydra/NewsViewController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
104104
if (cell == nil) {
105105
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle
106106
reuseIdentifier:CellIdentifier];
107+
cell.detailTextLabel.textColor = [UIColor colorWithWhite:0.3 alpha:1];
108+
cell.separatorInset = UIEdgeInsetsZero;
107109
}
108110

109111
AssociationNewsItem *newsItem = self.newsItems[indexPath.row];

Hydra/RestoMapController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
236236
reuseIdentifier:cellIdentifier];
237237
cell.textLabel.backgroundColor = [UIColor clearColor];
238238
cell.detailTextLabel.backgroundColor = [UIColor clearColor];
239+
cell.separatorInset = UIEdgeInsetsZero;
239240
}
240241

241242
RestoLocation *resto = self.filteredMapItems[indexPath.row];

Hydra/SchamperViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
109109
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle
110110
reuseIdentifier:CellIdentifier];
111111
cell.detailTextLabel.textColor = [UIColor colorWithWhite:0.3 alpha:1];
112+
cell.separatorInset = UIEdgeInsetsZero;
112113
}
113114

114115
SchamperArticle *article = self.articles[indexPath.row];

Icons/Icon-Small-iOS6.png

6.38 KB
Loading

Icons/[email protected]

9.22 KB
Loading

0 commit comments

Comments
 (0)