All Projects → adventam10 → Amclockview

adventam10 / Amclockview

Licence: mit
AMClockView is a view can select time.

Programming Languages

swift
15916 projects
swift4
162 projects

Labels

Projects that are alternatives of or similar to Amclockview

M5ez
Complete interface builder for the M5Stack, an ESP32 based mini tinker-computer
Stars: ✭ 260 (+364.29%)
Mutual labels:  clock
Clock Shop
🕙⏰🕰 Clock Shop is a website that collects beautiful clock codes
Stars: ✭ 484 (+764.29%)
Mutual labels:  clock
Eth Alarm Clock Dapp
Chronos - Ethereum Alarm Clock DApp
Stars: ✭ 42 (-25%)
Mutual labels:  clock
Md Date Time Picker
An implementation of Material Design Picker components in vanilla CSS, JS, and HTML
Stars: ✭ 272 (+385.71%)
Mutual labels:  clock
Miclockview
A duplication of the clock on MIUI v6
Stars: ✭ 383 (+583.93%)
Mutual labels:  clock
Agcircularpicker
AGCircularPicker is helpful component for creating a controller aimed to manage any calculated parameter
Stars: ✭ 592 (+957.14%)
Mutual labels:  clock
Simple Clock
Combination of a beautiful clock with widget, alarm, stopwatch & timer, no ads
Stars: ✭ 257 (+358.93%)
Mutual labels:  clock
Analog
Replace your new tab page with a minimal analog clock
Stars: ✭ 46 (-17.86%)
Mutual labels:  clock
Portable Snippets
Collection of miscellaneous portable C snippets.
Stars: ✭ 397 (+608.93%)
Mutual labels:  clock
Ascii clock
Python script that prints out a clock in ASCII art style to the console
Stars: ✭ 15 (-73.21%)
Mutual labels:  clock
Timestamp
⏰ A better macOS menu bar clock.
Stars: ✭ 296 (+428.57%)
Mutual labels:  clock
Applewatchfaces
Create your own faces for watchOS. Customize the watch hands, layout, colors, and images. Edit faces on your phone and switch them on the watch.
Stars: ✭ 316 (+464.29%)
Mutual labels:  clock
React Native Circular Slider
React Native component for creating circular slider 🔘
Stars: ✭ 716 (+1178.57%)
Mutual labels:  clock
Rusty Clock
An alarm clock with environment stats in pure bare metal embedded rust
Stars: ✭ 269 (+380.36%)
Mutual labels:  clock
Uiutil
UIUtil for Android, Lyrics, Tick animations, Comparisons, Satellite menus, Praise, Slide buttons, TAB indicators, Contact sorting, Drag sorting, Skidding deletes, Shadow effects, RecyclerView nesting RecyclerView, Map list Poi/Drawer effects, Progress settings, Clock set, Damping, Progress, Album, Snap, Progress, CircleDownload, AdvertSwitcher, Carousel ad, FlowLayout, Tag...; 歌词控件、打勾动画、对比、卫星菜单、点赞、滑动按钮、TAB指示器、联系人排序、拖曳排序、侧滑删除、阴影效果.、RecyclerView嵌套RecyclerView.、地图列表Poi/抽屉效果、进度设置、时钟设置、滑动阻尼、相册媒体快照、圆形下载进度,轮播广告, 流式布局,标签...
Stars: ✭ 1,018 (+1717.86%)
Mutual labels:  clock
Clockview
⏰A lovely clock view.
Stars: ✭ 261 (+366.07%)
Mutual labels:  clock
Klock
Multiplatform Date and time library for Kotlin
Stars: ✭ 569 (+916.07%)
Mutual labels:  clock
Flipclock
FlipClock It's a minimalist page-turning clock.
Stars: ✭ 54 (-3.57%)
Mutual labels:  clock
Rsclock
A simple terminal clock written in Rust.
Stars: ✭ 43 (-23.21%)
Mutual labels:  clock
Flutter particle clock
The Grand Prize-winning entry of the #FlutterClock challenge.
Stars: ✭ 771 (+1276.79%)
Mutual labels:  clock

AMClockView

Pod Platform Pod License Pod Version Carthage Compatible Swift Package Manager compatible

AMClockView is a view can select time.

Demo

amclock

Usage

Create clockView.

let clockView = AMClockView(frame: view.bounds)

// customize here

clockView.delegate = self
view.addSubview(clockView)

Conform to the protocol in the class implementation.

func clockView(_ clockView: AMClockView, didChangeDate date: Date) { 
    // use selected date here
}

The hour hand moves when you dragged inside of central circle.

The minute hand moves when you draged outside of central circle.

Customization

AMClockView can be customized via the following properties.

@IBInspectable public var clockBorderLineWidth: CGFloat = 5.0
@IBInspectable public var smallClockIndexWidth: CGFloat = 1.0
@IBInspectable public var clockIndexWidth: CGFloat = 2.0
@IBInspectable public var hourHandWidth: CGFloat = 5.0
@IBInspectable public var minuteHandWidth: CGFloat = 3.0
@IBInspectable public var clockBorderLineColor: UIColor = .black
@IBInspectable public var centerCircleLineColor: UIColor = .darkGray
@IBInspectable public var hourHandColor: UIColor = .black
@IBInspectable public var minuteHandColor: UIColor = .black
@IBInspectable public var selectedTimeLabelTextColor: UIColor = .black
@IBInspectable public var timeLabelTextColor: UIColor = .black
@IBInspectable public var smallClockIndexColor: UIColor = .black
@IBInspectable public var clockIndexColor: UIColor = .black
@IBInspectable public var clockColor: UIColor = .clear
@IBInspectable public var clockImage: UIImage?
@IBInspectable public var minuteHandImage: UIImage?
@IBInspectable public var hourHandImage: UIImage?
@IBInspectable public var isShowSelectedTime: Bool = false
public var clockType = AMCVClockType.arabic
public var timeZone: TimeZone?  // default is TimeZone.current
public var selectedDate: Date?

clock

Installation

CocoaPods

Add this to your Podfile.

pod 'AMClockView'

Carthage

Add this to your Cartfile.

github "adventam10/AMClockView"

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].