Commit 5fd4adae authored by David黄金龙's avatar David黄金龙

细节 修改

parent f27fb057
...@@ -90,6 +90,7 @@ class YHHomePageViewController: YHBaseViewController { ...@@ -90,6 +90,7 @@ class YHHomePageViewController: YHBaseViewController {
// var tapTimestamp : CFAbsoluteTime = -10.0 // var tapTimestamp : CFAbsoluteTime = -10.0
} }
//MARK: - 私有方法
private extension YHHomePageViewController { private extension YHHomePageViewController {
// func updateDefaultSearchKeyWord() { // func updateDefaultSearchKeyWord() {
// var placeHolder = "香港身份" // var placeHolder = "香港身份"
...@@ -388,6 +389,7 @@ extension YHHomePageViewController { ...@@ -388,6 +389,7 @@ extension YHHomePageViewController {
} }
//MARK: - UICollectionViewDelegate, UICollectionViewDataSource
extension YHHomePageViewController: UICollectionViewDelegate, UICollectionViewDataSource { extension YHHomePageViewController: UICollectionViewDelegate, UICollectionViewDataSource {
func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
...@@ -424,6 +426,7 @@ extension YHHomePageViewController: UICollectionViewDelegate, UICollectionViewDa ...@@ -424,6 +426,7 @@ extension YHHomePageViewController: UICollectionViewDelegate, UICollectionViewDa
} }
} }
//MARK: - CollectionViewWaterfallLayoutDelegate
extension YHHomePageViewController : CollectionViewWaterfallLayoutDelegate { extension YHHomePageViewController : CollectionViewWaterfallLayoutDelegate {
func collectionView(_ collectionView: UICollectionView, layout: UICollectionViewLayout, sizeForItemAtIndexPath indexPath: NSIndexPath) -> CGSize { func collectionView(_ collectionView: UICollectionView, layout: UICollectionViewLayout, sizeForItemAtIndexPath indexPath: NSIndexPath) -> CGSize {
...@@ -510,6 +513,7 @@ extension YHHomePageViewController { ...@@ -510,6 +513,7 @@ extension YHHomePageViewController {
// } // }
} }
//MARK: - UIScrollViewDelegate
extension YHHomePageViewController { extension YHHomePageViewController {
// 请求未读消息总数 // 请求未读消息总数
// @objc func getTotalUnreadMsgCount() { // @objc func getTotalUnreadMsgCount() {
...@@ -549,8 +553,7 @@ extension YHHomePageViewController { ...@@ -549,8 +553,7 @@ extension YHHomePageViewController {
} }
} }
//MARK: - JXSegmentedListContainerViewListDelegate
//JXSegmentedListContainerViewListDelegate
extension YHHomePageViewController: JXSegmentedListContainerViewListDelegate { extension YHHomePageViewController: JXSegmentedListContainerViewListDelegate {
func listView() -> UIView { func listView() -> UIView {
return view return view
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment