Skip to content

MacKentoch/react-native-analog-clock

Repository files navigation

license

react-native-analog-clock

Sponsor

IMPORTANT : Work in progress (at early stage), stay tuned!

React native analog clock as a nice alternative to traditional timepicker.

This component is a bridge over native BEMAnalogClock

  • Adjust the time on the clock via touch (or disable it)
  • customizable
  • native behind

NOTE: this native bridge is a Swift bridge. An Objective-C bridge version — publishedis available here

preview

Getting started

Follow instruction from the npm published version

Why this Swift version when the published one is in Objective-C

I just wanted to experiment native component bridge in both Objective-C and Swift.

Despite I prefer Swift in native projects, I realized it is a better bet to bridge in Objective-C:

  • the first choice of React Native team
  • MACROS
  • can target static libraries
  • Bridging in Swift finally adds more complexity than in Objective-C (more files since Swift was added later in React Native)

About

A nice and native alternative to traditional time picker (Swift bridge version).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors