diff --git a/Yep.xcodeproj/project.pbxproj b/Yep.xcodeproj/project.pbxproj index 0157adb0..8e5cab02 100644 --- a/Yep.xcodeproj/project.pbxproj +++ b/Yep.xcodeproj/project.pbxproj @@ -2975,7 +2975,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; - OTHER_SWIFT_FLAGS = "-D DEBUG -D STAGING_"; + OTHER_SWIFT_FLAGS = "-D DEBUG -D STAGING"; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; diff --git a/Yep/ViewControllers/Feeds/FeedsViewController.swift b/Yep/ViewControllers/Feeds/FeedsViewController.swift index 223680b7..b89b3486 100644 --- a/Yep/ViewControllers/Feeds/FeedsViewController.swift +++ b/Yep/ViewControllers/Feeds/FeedsViewController.swift @@ -948,7 +948,10 @@ extension FeedsViewController: UITableViewDataSource, UITableViewDelegate { switch feed.kind { case .Text: - //let cell = tableView.dequeueReusableCellWithIdentifier(feedBasicCellID) as! FeedBasicCell + let cell = tableView.dequeueReusableCellWithIdentifier(feedBasicCellID) as! FeedBasicCell + return cell + + case .URL: let cell = tableView.dequeueReusableCellWithIdentifier(feedURLCellID) as! FeedURLCell return cell diff --git a/Yep/Views/Cells/Feed/FeedCellLayout.swift b/Yep/Views/Cells/Feed/FeedCellLayout.swift index 15f08ed2..2b1bbceb 100644 --- a/Yep/Views/Cells/Feed/FeedCellLayout.swift +++ b/Yep/Views/Cells/Feed/FeedCellLayout.swift @@ -125,7 +125,9 @@ struct FeedCellLayout { switch feed.kind { case .Text: - //height = FeedBasicCell.heightOfFeed(feed) + height = FeedBasicCell.heightOfFeed(feed) + + case .URL: height = FeedURLCell.heightOfFeed(feed) case .Image: