Popularity
2.9
Stable
Activity
0.0
Stable
144
4
12

Code Quality Rank: L3
Programming language: Swift
License: GNU General Public License v3.0 only
Tags: Media     Image    
Latest version: v1.0

JMCMarchingAnts alternatives and similar libraries

Based on the "Image" category.
Alternatively, view JMCMarchingAnts alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of JMCMarchingAnts or a related project?

Add another 'Image' Library

README

JMCMarchingAnts

Library that lets you add marching ants (animated) selection to the edges of the images.

Usage:

  • Copy the JMCMarchingAnts.swift file to your project
  • Create an instance of the JMCMarchingAnts class:
 let marcher:JMCMarchingAnts = JMCMarchingAnts()
  • Add animated selection layer with a addAnts(image:UIIMage, imageView:UIImageView) method, where image is an image that will be processed, and the imageView is a view that selection layer will be displayed on. marcher.addAnts(image, imageView: self.imageView)

Enjoy yur marching ants!

class ViewController: UIViewController {
    @IBOutlet weak var imageView: UIImageView!

    //Initialize the marching ants object
    let marcher:JMCMarchingAnts = JMCMarchingAnts()


    override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)
        if let image = imageView.image{
            //if image exists add the selection layer to the image view
            marcher.addAnts(image, imageView: self.imageView)
        }
    }
}

License GNU General Public License V3 Disclaimer The image of the car was acquired from: http://icons.mysitemyway.com/legacy-icon/038420-glossy-black-icon-transport-travel-transportation-car9-sc44/


*Note that all licence references and agreements mentioned in the JMCMarchingAnts README section above are relevant to that project's source code only.