Skip to content

KahunaSystems/DrawSketchLib

Repository files navigation

DrawSketch

Draw Sketch on scratchpad in swift3(Currenlty available for iPad only).

  1. Just instantiate the object of class DrawSketchViewController like:

    let drawsketchVC = DrawSketchViewController(nibName: "DrawSketchViewController", bundle: nil)

  2. Set previosAnnotationImagePath, if you are editing existing sketch.

  3. Set isNewSnap to true, in case of new Sketch.

  4. Set originalImage, so that white drawing screen comes when view loaded, for this we have used some function to load files from Bundle (pathForSavedImage()).

  5. Set image_title as your image file name, name with which you want to store your sketch image.

  6. Implement delegate DrawSketchViewControllerDelegate which will return you image path where image saved.

How to install

  1. POD
    You can directly include following in your pod file

         pod 'DrawSketchLib', :git => 'https://github.com/RPiyush/DrawSketchLib.git', :tag => '1.0.3'
    
2. Direct Drag and Drop �����

Author

Piyush Rathi, piyush.rathi@kahunasystems.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published