GithubHelp home page GithubHelp logo

mwdatepicker's Introduction

MWDatePicker - Custom UIDatePicker

An UIDatePicker replacement with custom Background and Selector Styles. (As seen in nextr)

Still in work :)

##Preview

With Shadows and Colors With Shadows and Black With Shadows and Black and Selector Without Shadows and White

Features

  • customize the Look and Feel of your UIDatePicker in order to suit your App Design
  • change Background of each Component either with UIColor or an UIView
  • change and style the Date Selector Overlay (again with UIColor or an UIView)

Installation

  1. Add MWDatePicker.h and MWDatePicker.m to your project
  2. Add QuartzCore.framework to your project

Requirements

  • iOS 6.0 and greater
  • ARC

Delegate Methods

  1. Add 'MWDatePicker.h' to your ViewController
  2. Add 'MWPickerDelegate' to your Class
  3. Implement MWDatePicker Delegate Methods
  • (void)datePicker:(MWDatePicker *)picker didSelectRow:(NSInteger)row inComponent:(NSInteger)component;

  • (void)datePicker:(MWDatePicker *)picker didClickRow:(NSInteger)row inComponent:(NSInteger)component;

  • (UIView *)backgroundViewForDatePicker:(MWDatePicker *)picker;

  • (UIColor *)backgroundColorForDatePicker:(MWDatePicker *)picker;

  • (UIView *)datePicker:(MWDatePicker *)picker backgroundViewForComponent:(NSInteger)component;

  • (UIColor *)datePicker:(MWDatePicker *)picker backgroundColorForComponent:(NSInteger)component;

  • (UIView *)overlayViewForDatePickerSelector:(MWDatePicker *)picker;

  • (UIColor *)overlayColorForDatePickerSelector:(MWDatePicker *)picker;

  • (UIView *)viewForDatePickerSelector:(MWDatePicker *)picker;

  • (UIColor *)viewColorForDatePickerSelector:(MWDatePicker *)picker;

Credits

The base of MWDatePicker is used from keeshux

MWDatePicker was created by Marcus Wermuth in the development of nextr.

License

MWDatePicker is available under the MIT license. See the LICENSE file for more info.

mwdatepicker's People

Watchers

James Cloos avatar 开水白菜 avatar

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.