Giter VIP home page Giter VIP logo

Comments (1)

YidaCoder1201 avatar YidaCoder1201 commented on August 27, 2024

/**

  • 3.显示日期选择器
  • @param mode 日期显示类型
  • @param title 选择器标题
  • @param selectValue 默认选中的日期(默认选中当前日期)
  • @param minDate 最小日期(可使用 NSDate+BRPickerView 分类中对应的方法进行创建)
  • @param maxDate 最大日期(可使用 NSDate+BRPickerView 分类中对应的方法进行创建)
  • @param isAutoSelect 是否自动选择,即滚动选择器后就执行结果回调,默认为 NO
  • @param resultBlock 选择结果的回调

*/

  • (void)showDatePickerWithMode:(BRDatePickerMode)mode
    title:(nullable NSString *)title
    selectValue:(nullable NSString *)selectValue
    minDate:(nullable NSDate *)minDate
    maxDate:(nullable NSDate *)maxDate
    isAutoSelect:(BOOL)isAutoSelect
    resultBlock:(nullable BRDateResultBlock)resultBlock;

提供的这个API建议将minDate和maxDate删除,因为实现里面minDate和maxDate都是传nil,要么实现里面将minDate和maxDate传过去。

为什么不换为第一个或者第二个方法?

from brpickerview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.