/WaveViewD

wave view by Quartz2D

Primary LanguageObjective-C

#Wave View

This app is for iOS, for drawing the wave shape

image

##Usage

1)copy WaveView.h and WaveView.m to your project

2)add a UIView in your view controller's root view, change the Class to Wave View, make connection to your viewController

@property (weak, nonatomic) IBOutlet WaveView *waveViewDefault;
  1. init the WaveView

    [self.waveViewDefault setWaveType:kWaveTypeDefault MaxValue:0 MinValue:-160];

  2. use this method where can get the changing value, to start waving

    [self.waveViewDefault startWavingWithValue:changingValue];