mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-13 14:56:03 +10:00
use URL Feed
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user