text: <!DOCTYPE html>
  <html lang="en">
    <head>
      <title>YMNewfeatureViewController Class Reference</title>
      <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
      <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
      <meta charset='utf-8'>
      <script src="../js/jquery.min.js" defer></script>
      <script src="../js/jazzy.js" defer></script>
      
    </head>
    <body>
      <a name="//apple_ref/swift/Class/YMNewfeatureViewController" class="dashAnchor"></a>
      <a title="YMNewfeatureViewController Class Reference"></a>
      <header>
        <div class="content-wrapper">
          <p><a href="../index.html"> Docs</a> (18% documented)</p>
        </div>
      </header>
      <div class="content-wrapper">
        <p id="breadcrumbs">
          <a href="../index.html"> Reference</a>
          <img id="carat" src="../img/carat.png" />
          YMNewfeatureViewController Class Reference
        </p>
      </div>
      <div class="content-wrapper">
        <nav class="sidebar">
          <ul class="nav-groups">
            <li class="nav-group-name">
              <a href="../Classes.html">Classes</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Classes/AppDelegate.html">AppDelegate</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/User.html">User</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMActionSheet.html">YMActionSheet</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMBaseViewController.html">YMBaseViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCategoryBottomView.html">YMCategoryBottomView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCategoryCollectionViewCell.html">YMCategoryCollectionViewCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCategoryHeaderViewController.html">YMCategoryHeaderViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCategoryViewController.html">YMCategoryViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMChannel.html">YMChannel</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCollection.html">YMCollection</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCollectionDetailController.html">YMCollectionDetailController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCollectionPost.html">YMCollectionPost</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCollectionTableViewCell.html">YMCollectionTableViewCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCollectionViewCell.html">YMCollectionViewCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMComment.html">YMComment</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMCommentCell.html">YMCommentCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMDanTangViewController.html">YMDanTangViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMDetailChoiceButtonView.html">YMDetailChoiceButtonView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMDetailCollectionViewCell.html">YMDetailCollectionViewCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMDetailLayout.html">YMDetailLayout</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMDetailScrollView.html">YMDetailScrollView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMDetailViewController.html">YMDetailViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMGroup.html">YMGroup</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMHomeCell.html">YMHomeCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMHomeItem.html">YMHomeItem</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMLoginViewController.html">YMLoginViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMMeChoiceView.html">YMMeChoiceView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMMeFooterView.html">YMMeFooterView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMMeViewController.html">YMMeViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMMessageViewController.html">YMMessageViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMMineHeaderView.html">YMMineHeaderView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMNavigationController.html">YMNavigationController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMNetworkTool.html">YMNetworkTool</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMNewfeatureCell.html">YMNewfeatureCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMNewfeatureLayout.html">YMNewfeatureLayout</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMNewfeatureViewController.html">YMNewfeatureViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMPostDetailViewController.html">YMPostDetailViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMProduct.html">YMProduct</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMProductDetail.html">YMProductDetail</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMProductDetailBottomView.html">YMProductDetailBottomView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMProductDetailToolBar.html">YMProductDetailToolBar</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMProductDetailTopView.html">YMProductDetailTopView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMProductDetailViewController.html">YMProductDetailViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMProductViewController.html">YMProductViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMRefreshControl.html">YMRefreshControl</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMRefreshView.html">YMRefreshView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMRegisterViewController.html">YMRegisterViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSearchRecordView.html">YMSearchRecordView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSearchResult.html">YMSearchResult</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSearchViewController.html">YMSearchViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSeeAllController.html">YMSeeAllController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSeeAllTopicCell.html">YMSeeAllTopicCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSetting.html">YMSetting</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSettingCell.html">YMSettingCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSettingViewController.html">YMSettingViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMShareButtonView.html">YMShareButtonView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSortCell.html">YMSortCell</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMSortTableView.html">YMSortTableView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMTMALLViewController.html">YMTMALLViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMTabBarController.html">YMTabBarController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMTopHeaderView.html">YMTopHeaderView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMTopicViewController.html">YMTopicViewController</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/YMVerticalButton.html">YMVerticalButton</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="../Global Variables.html">Global Variables</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang8BASE_URLSS">BASE_URL</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang9RETURN_OKSi">RETURN_OK</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang7SCREENHV12CoreGraphics7CGFloat">SCREENH</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang7SCREENWV12CoreGraphics7CGFloat">SCREENW</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang13YMFirstLaunchSS">YMFirstLaunch</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang24categoryCollectionCellIDSS">categoryCollectionCellID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang16collectionCellIDSS">collectionCellID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang21collectionTableCellIDSS">collectionTableCellID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang13commentCellIDSS">commentCellID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang26detailCollectionViewCellIDSS">detailCollectionViewCellID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang10homeCellIDSS">homeCellID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang9isIPhone5Sb">isIPhone5</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang9isIPhone6Sb">isIPhone6</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang10isIPhone6PSb">isIPhone6P</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang7isLoginSS">isLogin</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang18kAnimationDurationSd">kAnimationDuration</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang13kCornerRadiusV12CoreGraphics7CGFloat">kCornerRadius</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang15kIndicatorViewHV12CoreGraphics7CGFloat">kIndicatorViewH</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang7kMarginV12CoreGraphics7CGFloat">kMargin</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang16kNewFeatureCountSi">kNewFeatureCount</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang12kTitlesViewHV12CoreGraphics7CGFloat">kTitlesViewH</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang12kTitlesViewYV12CoreGraphics7CGFloat">kTitlesViewY</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang9kTopViewHV12CoreGraphics7CGFloat">kTopViewH</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang24kYMMineHeaderImageHeightV12CoreGraphics7CGFloat">kYMMineHeaderImageHeight</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang6kitemHV12CoreGraphics7CGFloat">kitemH</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang6kitemWV12CoreGraphics7CGFloat">kitemW</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang10klineWidthV12CoreGraphics7CGFloat">klineWidth</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang13messageCellIDSS">messageCellID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang12newFeatureIDSS">newFeatureID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang22searchCollectionCellIDSS">searchCollectionCellID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang12seeAllcellIDSS">seeAllcellID</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Global Variables.html#/s:v7DanTang19sortTableViewCellIDSS">sortTableViewCellID</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="../Enums.html">Enums</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Enums/YMOtherLoginButtonType.html">YMOtherLoginButtonType</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Enums/YMShareButtonType.html">YMShareButtonType</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Enums/YMTopicType.html">YMTopicType</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="../Extensions.html">Extensions</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Extensions/String.html">String</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Extensions/UITableView.html">UITableView</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Extensions/UIView.html">UIView</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="../Functions.html">Functions</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Functions.html#/s:F7DanTang7YMColorFTV12CoreGraphics7CGFloat1gS1_1bS1_1aS1__CSo7UIColor">YMColor(_:g:b:a:)</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Functions.html#/s:F7DanTang13YMGlobalColorFT_CSo7UIColor">YMGlobalColor()</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Functions.html#/s:F7DanTang16YMGlobalRedColorFT_CSo7UIColor">YMGlobalRedColor()</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="../Protocols.html">Protocols</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Protocols/YMCategoryBottomViewDelegate.html">YMCategoryBottomViewDelegate</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Protocols/YMCollectionViewCellDelegate.html">YMCollectionViewCellDelegate</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Protocols/YMDetailChoiceButtonViewDegegate.html">YMDetailChoiceButtonViewDegegate</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Protocols/YMHomeCellDelegate.html">YMHomeCellDelegate</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Protocols/YMProductDetailToolBarDelegate.html">YMProductDetailToolBarDelegate</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Protocols/YMSortTableViewDelegate.html">YMSortTableViewDelegate</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Protocols/YMTopHeaderViewDelegate.html">YMTopHeaderViewDelegate</a>
                </li>
              </ul>
            </li>
          </ul>
        </nav>
        <article class="main-content">
          <section>
            <section class="section">
              <h1>YMNewfeatureViewController</h1>
              <p>Undocumented</p>
  
            </section>
            <section class="section task-group-section">
              <div class="task-group">
                <ul>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:vC7DanTang26YMNewfeatureViewControllerP33_4AFD823B18308A4A4614B6C4D5FA0EAF6layoutCSo26UICollectionViewFlowLayout"></a>
                      <a name="//apple_ref/swift/Property/layout" class="dashAnchor"></a>
                      <a class="token" href="#/s:vC7DanTang26YMNewfeatureViewControllerP33_4AFD823B18308A4A4614B6C4D5FA0EAF6layoutCSo26UICollectionViewFlowLayout">layout</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>布局对象</p>
  
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight"><code><span class="kd">private</span> <span class="k">var</span> <span class="nv">layout</span><span class="p">:</span> <span class="kt">UICollectionViewFlowLayout</span> <span class="o">=</span> <span class="kt">YMNewfeatureLayout</span><span class="p">()</span></code></pre>
  
                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:FC7DanTang26YMNewfeatureViewControllercFT_S0_"></a>
                      <a name="//apple_ref/swift/Method/init()" class="dashAnchor"></a>
                      <a class="token" href="#/s:FC7DanTang26YMNewfeatureViewControllercFT_S0_">init()</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Undocumented</p>
  
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:FC7DanTang26YMNewfeatureViewControllercFT5coderCSo7NSCoder_GSqS0__"></a>
                      <a name="//apple_ref/swift/Method/init(coder:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:FC7DanTang26YMNewfeatureViewControllercFT5coderCSo7NSCoder_GSqS0__">init(coder:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Undocumented</p>
  
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:FC7DanTang26YMNewfeatureViewController11viewDidLoadFT_T_"></a>
                      <a name="//apple_ref/swift/Method/viewDidLoad()" class="dashAnchor"></a>
                      <a class="token" href="#/s:FC7DanTang26YMNewfeatureViewController11viewDidLoadFT_T_">viewDidLoad()</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Undocumented</p>
  
                        </div>
                      </section>
                    </div>
                  </li>
                </ul>
              </div>
              <div class="task-group">
                <ul>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:FC7DanTang26YMNewfeatureViewController14collectionViewFTCSo16UICollectionView22numberOfItemsInSectionSi_Si"></a>
                      <a name="//apple_ref/swift/Method/collectionView(_:numberOfItemsInSection:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:FC7DanTang26YMNewfeatureViewController14collectionViewFTCSo16UICollectionView22numberOfItemsInSectionSi_Si">collectionView(_:numberOfItemsInSection:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Undocumented</p>
  
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:FC7DanTang26YMNewfeatureViewController14collectionViewFTCSo16UICollectionView22cellForItemAtIndexPathCSo11NSIndexPath_CSo20UICollectionViewCell"></a>
                      <a name="//apple_ref/swift/Method/collectionView(_:cellForItemAtIndexPath:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:FC7DanTang26YMNewfeatureViewController14collectionViewFTCSo16UICollectionView22cellForItemAtIndexPathCSo11NSIndexPath_CSo20UICollectionViewCell">collectionView(_:cellForItemAtIndexPath:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Undocumented</p>
  
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:FC7DanTang26YMNewfeatureViewController14collectionViewFTCSo16UICollectionView20didEndDisplayingCellCSo20UICollectionViewCell18forItemAtIndexPathCSo11NSIndexPath_T_"></a>
                      <a name="//apple_ref/swift/Method/collectionView(_:didEndDisplayingCell:forItemAtIndexPath:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:FC7DanTang26YMNewfeatureViewController14collectionViewFTCSo16UICollectionView20didEndDisplayingCellCSo20UICollectionViewCell18forItemAtIndexPathCSo11NSIndexPath_T_">collectionView(_:didEndDisplayingCell:forItemAtIndexPath:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Undocumented</p>
  
                        </div>
                      </section>
                    </div>
                  </li>
                </ul>
              </div>
            </section>
          </section>
          <section id="footer">
            <p>&copy; 2016 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2016-07-27)</p>
            <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.6.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
          </section>
        </article>
      </div>
    </body>
  </div>
  </html>
  