Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Demo Xcode project showing how to use the compass custom view CocoaPod.

License

Notifications You must be signed in to change notification settings

inukshukdeveloper/InukshukCompassPodTest

Repository files navigation

(In Archive Mode)

InukshukCompassPodTest

Demo Xcode project showing how to use the InukshukCompass custom view CocoaPod.

Overview

This test harness demonstrates usage of the InukshukCompass Swift framework. The view provides parameters to set the angle of the compass and the duration of the animation for the needle to settle at the desired direction.

Installing the Compass

The compass is available as a cocoa pod, so to install, first install cocoa pods and then add the following to Podfile:

pod 'InukshukCompass'

Class Reference

Class OdometerView

Public Member Functions

public init(frame: CGRect)

Parameters

frame: View frame for the odometer

  public func rotateNeedle(duration: TimeInterval, radians: CGFloat)

Parameters

duration: The duration of the animation for the needle to settle at set direction

radians: Angle for the needle

About

Demo Xcode project showing how to use the compass custom view CocoaPod.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published