Skip to content
المشاريع

حول

أداة بسيطة وسهلة الاستخدام لاختيار المؤقت، كبديل لمنتج Apple.

مشاريع أخرى

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

KPTimePicker

Bringing back the iPod wheel to adjust time in a more delicate manner. This is an open-source version of the TimePicker used in Swipes iOS app.

Usage

Include KPTimePicker folder to your project

#import "KPTimePicker.h"
KPTimePicker *timePicker = [[KPTimePicker alloc] init];
timePicker.delegate = self;
[view addSubview:timePicker];

Demo

Delegate

KPTimePicker has a delegate to get the selected date.

@interface ViewController () <KPTimePickerDelegate>
#pragma mark - KPTimePickerDelegate

// Returns selected date -- date is nil if back is pressed
-(void)timePicker:(KPTimePicker*)timePicker selectedDate:(NSDate *)date;

@optional
// Get's called every time the date changes - used for customizing the labels
-(NSString*)timePicker:(KPTimePicker*)timePicker titleForDate:(NSDate *)time;
-(NSString*)timePicker:(KPTimePicker*)timePicker clockForDate:(NSDate *)time;

Requirements

  • iOS >= 5.0 (iOS 7 compatible)
  • ARC

Contact

Pull-request and feedback is highly appreciated :-) Kasper Pihl Tornøe

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…