{"id":21971186,"url":"https://github.com/xcodebuild/uitimefield","last_synced_at":"2025-12-12T06:03:55.054Z","repository":{"id":32521616,"uuid":"36102900","full_name":"xcodebuild/UITimeField","owner":"xcodebuild","description":"A iOS time input inspired by Android's timer app","archived":false,"fork":false,"pushed_at":"2015-05-24T04:56:38.000Z","size":192,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T09:21:29.976Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xcodebuild.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-23T01:44:02.000Z","updated_at":"2016-02-27T16:11:49.000Z","dependencies_parsed_at":"2022-08-21T06:20:11.574Z","dependency_job_id":null,"html_url":"https://github.com/xcodebuild/UITimeField","commit_stats":null,"previous_names":["codefalling/uitimefield"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2FUITimeField","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2FUITimeField/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2FUITimeField/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2FUITimeField/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xcodebuild","download_url":"https://codeload.github.com/xcodebuild/UITimeField/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251309007,"owners_count":21568728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T14:49:17.054Z","updated_at":"2025-10-06T14:42:09.296Z","avatar_url":"https://github.com/xcodebuild.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CocoaPods](https://img.shields.io/cocoapods/v/UITimeField.svg)](https://cocoapods.org/?q=UITimeField)\n[![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://raw.githubusercontent.com/CodeFalling/UITimeField/master/LICENSE)\n[![platform](https://img.shields.io/badge/platform-iOS-blue.svg)]()\n[![Build Status](https://travis-ci.org/CodeFalling/UITimeField.svg?branch=master)](https://travis-ci.org/CodeFalling/UITimeField)\n\n# UITimeField\nA iOS time input inspire by Android's timer app\n\n# Preview\n\n![preview](http://i1.tietuku.com/0f6503feaf19afeb.gif)\n\n# Install\n\n## Manual\n\nCopy or use git module to import \n\n```\n├── UITimeField\n│   ├── UITimeField.h\n│   └── UITimeField.m\n```\n\n## CocoaPods\n\n```\nplatform :ios\npod 'UITimeField','1.1.1'\n```\n\n# How to use\n\n```objective-c\n#import \"UITimeField.h\"\n```\n\n```objective-c\nUITimeField *_timeField = [[UITimeField alloc] initWithFrame:CGRectMake(20, 20, 260, 160)];\n_timeField.hourUnit=@\"h\";\n_timeField.minuteUnit=@\"m\";\n_timeField.secondUnit=@\"s\";\n[self.view addSubview:_timeField];\n```\n\nOr add Custom View with `UITimeField` in your storyboard.\n\n- You can use `_timeField.hour`,`_timeField.minute`,`_timeField.second` to get time.\n\n- You can use `refresh` to let it refresh UI data\n\n- You can use `setInput:(NSString *)timeStr` to set input string.(**notice that timeStr.length must \u003c= 6)\n\n**Notice** that `hour` bigger than 24 and `minute`/`second` bigger than 60 is **allowed**(Just like android timer's behaviour)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcodebuild%2Fuitimefield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxcodebuild%2Fuitimefield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcodebuild%2Fuitimefield/lists"}