KPTimePicker
Simplistic and easy-to-use timerpicker to replace Apple's
Install / Use
/learn @kasperpihl/KPTimePickerREADME
KPTimePicker
<p align="left"><img src="https://raw.github.com/kasperpihl/KPTimePicker/master/github-assets/kptimepickerscreenshot.png"/></p>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
<p align="left"><img src="https://raw.github.com/kasperpihl/KPTimePicker/master/github-assets/kptimepickerdemo.gif"/></p>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
- http://twitter.com/tornoe
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
