Przeglądaj źródła

estimatedSectionHeaderHeight

南鑫林 5 lat temu
rodzic
commit
557032225d
19 zmienionych plików z 3 dodań i 55 usunięć
  1. 0 3
      RainbowPlanet/RainbowPlanet/Manager/PayManager/PayManagerView/CommonPayView.swift
  2. 0 3
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Follow/CommunityFollowViewController.swift
  3. 0 3
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Recommend/CommunityRecommnendViewController.swift
  4. 0 3
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFeaturedTopics/ViewController/CommunityFeaturedTopicsViewController.swift
  5. 0 3
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFindFriends/ViewController/CommunityFindFriendsViewController.swift
  6. 0 3
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/Controller/CommunityRecommendController.swift
  7. 0 3
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/AllCommentCell/RecommendMajorCommentCell.swift
  8. 0 3
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/ViewController/CommunitySubCommentController.swift
  9. 0 3
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoMajorCommentCell.swift
  10. 0 3
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoSubCommentController/CommunityVideoSubCommentController.swift
  11. 0 3
      RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessagePlanetActivity/Controller/MessagePlanetActivityController.swift
  12. 0 2
      RainbowPlanet/RainbowPlanet/Modules/MineModule/EditExpressAddress/View/EditExpressAddressView.swift
  13. 0 3
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishAddTopic/Controller/PublishAddTopicController.swift
  14. 0 3
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishEdit/Controller/PublishEditController.swift
  15. 0 3
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishMusicAbout/PublishMusicListController.swift
  16. 1 4
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/Unused/PublishTakeVideo/PublishMusicView.swift
  17. 0 3
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/ViewController/RedemptionAreaViewController.swift
  18. 0 2
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingCart/View/ShoppingCartView.swift
  19. 2 2
      RainbowPlanet/RainbowPlanet/Service/SwiftMoyaService/SwiftMoyaServiceManger/SwiftMoyaNetWorkManager/ApiMacro.swift

+ 0 - 3
RainbowPlanet/RainbowPlanet/Manager/PayManager/PayManagerView/CommonPayView.swift

@@ -60,9 +60,6 @@ class CommonPayView: FWPopupView {
         tableView.backgroundColor = kf7f8faColor
         tableView.backgroundColor = kf7f8faColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0.000001
-        tableView.estimatedSectionFooterHeight = 0.000001
-        tableView.estimatedSectionHeaderHeight = 0.000001
         tableView.isScrollEnabled = false
         tableView.isScrollEnabled = false
         return tableView
         return tableView
     }()
     }()

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Follow/CommunityFollowViewController.swift

@@ -50,9 +50,6 @@ class CommunityFollowViewController: UIViewController {
         tableView.backgroundColor = kf7f8faColor
         tableView.backgroundColor = kf7f8faColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
     
     

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Recommend/CommunityRecommnendViewController.swift

@@ -136,9 +136,6 @@ class CommunityRecommnendViewController: UIViewController {
         tableView.backgroundColor = kf7f8faColor
         tableView.backgroundColor = kf7f8faColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
     
     

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFeaturedTopics/ViewController/CommunityFeaturedTopicsViewController.swift

@@ -96,9 +96,6 @@ class CommunityFeaturedTopicsViewController: BaseViewController {
         tableView.backgroundColor = UIColor.clear
         tableView.backgroundColor = UIColor.clear
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         if #available(iOS 11.0, *) {
         if #available(iOS 11.0, *) {
             tableView.contentInsetAdjustmentBehavior = .never
             tableView.contentInsetAdjustmentBehavior = .never
         }
         }

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFindFriends/ViewController/CommunityFindFriendsViewController.swift

@@ -74,9 +74,6 @@ class CommunityFindFriendsViewController: BaseViewController {
         tableView.rowHeight = 81
         tableView.rowHeight = 81
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
         return tableView
         return tableView
     }()
     }()
     
     

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/Controller/CommunityRecommendController.swift

@@ -136,9 +136,6 @@ class CommunityRecommendController: BaseViewController {
         tableView.backgroundColor = kf7f8faColor
         tableView.backgroundColor = kf7f8faColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
-        tableView.estimatedRowHeight = 0
         return tableView
         return tableView
     }()
     }()
     lazy var communityPostDetailTableViewHeaderView: CommunityPostDetailTableViewHeaderView = {
     lazy var communityPostDetailTableViewHeaderView: CommunityPostDetailTableViewHeaderView = {

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/AllCommentCell/RecommendMajorCommentCell.swift

@@ -124,9 +124,6 @@ class RecommendMajorCommentCell: UITableViewCell {
         tableView.backgroundColor = kf7f8faColor
         tableView.backgroundColor = kf7f8faColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
-        tableView.estimatedRowHeight = 0
         tableView.isScrollEnabled = false
         tableView.isScrollEnabled = false
         tableView.cornerRadius = 4
         tableView.cornerRadius = 4
         tableView.masksToBounds = true
         tableView.masksToBounds = true

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/ViewController/CommunitySubCommentController.swift

@@ -55,9 +55,6 @@ class CommunitySubCommentController: BaseViewController {
         tableView.backgroundColor = kf7f8faColor
         tableView.backgroundColor = kf7f8faColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
     
     

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoMajorCommentCell.swift

@@ -126,9 +126,6 @@ class CommunityVideoMajorCommentCell: UITableViewCell {
         tableView.backgroundColor = kf7f8faColor
         tableView.backgroundColor = kf7f8faColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
-        tableView.estimatedRowHeight = 0
         tableView.isScrollEnabled = false
         tableView.isScrollEnabled = false
         tableView.cornerRadius = 4
         tableView.cornerRadius = 4
         tableView.masksToBounds = true
         tableView.masksToBounds = true

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoSubCommentController/CommunityVideoSubCommentController.swift

@@ -54,9 +54,6 @@ class CommunityVideoSubCommentController: BaseViewController {
         tableView.backgroundColor = kf7f8faColor
         tableView.backgroundColor = kf7f8faColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
     
     

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessagePlanetActivity/Controller/MessagePlanetActivityController.swift

@@ -57,9 +57,6 @@ class MessagePlanetActivityController: BaseViewController {
         tableView.backgroundColor = kf7f8faColor
         tableView.backgroundColor = kf7f8faColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
 }
 }

+ 0 - 2
RainbowPlanet/RainbowPlanet/Modules/MineModule/EditExpressAddress/View/EditExpressAddressView.swift

@@ -49,8 +49,6 @@ class EditExpressAddressView: BaseView {
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.separatorStyle = .none
         tableView.separatorStyle = .none
         tableView.estimatedRowHeight = 48
         tableView.estimatedRowHeight = 48
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
     private lazy var editAddressFooterView: EditAddressFooterView = {
     private lazy var editAddressFooterView: EditAddressFooterView = {

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishAddTopic/Controller/PublishAddTopicController.swift

@@ -79,9 +79,6 @@ class PublishAddTopicController: BaseViewController {
         tableView.backgroundColor = kffffffColor
         tableView.backgroundColor = kffffffColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
     
     

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishEdit/Controller/PublishEditController.swift

@@ -107,9 +107,6 @@ class PublishEditController: BaseViewController {
         tableView.backgroundColor = kffffffColor
         tableView.backgroundColor = kffffffColor
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
     
     

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishMusicAbout/PublishMusicListController.swift

@@ -66,9 +66,6 @@ class PublishMusicListController: BaseViewController {
         tableView.backgroundColor = UIColor.clear
         tableView.backgroundColor = UIColor.clear
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
     
     

+ 1 - 4
RainbowPlanet/RainbowPlanet/Modules/PublishModule/Unused/PublishTakeVideo/PublishMusicView.swift

@@ -33,14 +33,11 @@ class PublishMusicView: BaseView {
     }
     }
     
     
     lazy var tableView: UITableView = {
     lazy var tableView: UITableView = {
-        let tableView = UITableView(frame: CGRect.zero, style: UITableView.Style.grouped)
+        let tableView = UITableView(frame: CGRect.zero, style: UITableView.Style.plain)
         tableView.separatorStyle = .none
         tableView.separatorStyle = .none
         tableView.backgroundColor = UIColor.clear
         tableView.backgroundColor = UIColor.clear
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 50
-        tableView.estimatedSectionFooterHeight = 0.000001
-        tableView.estimatedSectionHeaderHeight = 0.000001
         return tableView
         return tableView
     }()
     }()
 }
 }

+ 0 - 3
RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/ViewController/RedemptionAreaViewController.swift

@@ -43,9 +43,6 @@ class RedemptionAreaViewController: BaseViewController {
         tableView.backgroundColor = UIColor.white
         tableView.backgroundColor = UIColor.white
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
-        tableView.estimatedRowHeight = 0
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
     
     

+ 0 - 2
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingCart/View/ShoppingCartView.swift

@@ -190,8 +190,6 @@ class ShoppingCartView: BaseView {
         tableView.dataSource = self
         tableView.dataSource = self
         tableView.delegate = self
         tableView.delegate = self
         tableView.estimatedRowHeight = self.hotSaleHeight
         tableView.estimatedRowHeight = self.hotSaleHeight
-        tableView.estimatedSectionFooterHeight = 0
-        tableView.estimatedSectionHeaderHeight = 0
         return tableView
         return tableView
     }()
     }()
 
 

+ 2 - 2
RainbowPlanet/RainbowPlanet/Service/SwiftMoyaService/SwiftMoyaServiceManger/SwiftMoyaNetWorkManager/ApiMacro.swift

@@ -9,8 +9,8 @@
 import Foundation
 import Foundation
 
 
 let kPersonalService = false
 let kPersonalService = false
-let kDevelopSever = true
-let kBetaSever = false
+let kDevelopSever = false
+let kBetaSever = true
 let kProductSever = false
 let kProductSever = false
 
 
 // MARK: - 数据服务器
 // MARK: - 数据服务器