New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/JellyDevelopment/JDSwiftAvatarProgress

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/JellyDevelopment/JDSwiftAvatarProgress

  • v0.0.0-20160504101132-3f389375616e
  • Source
  • Go
  • Socket score

Version published
Created
Source

JDSwiftAvatarProgress

Version License Platform

##Objective-C

JDAvatarProgress is available in Objective-C also,

JDAvatarProgress

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

JDSwiftAvatarProgress is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "JDSwiftAvatarProgress"

Manual

Clone the repository:

$ git clone https://github.com/JellyDevelopment/JDSwiftAvatarProgress.git

Drag and drop JDAvatarProgress.swift file into your project. Add import JDSwiftAvatarProgress to all view controllers that need to use it.

Requirements

QuartzCore.framework

Sample Usage


self.avatarImgView.setImageWithURL(NSURL(string: "http://3.bp.blogspot.com/-k-0O0FocJ2I/TyWbextRGlI/AAAAAAAACqo/GuPx0RH7PcY/s1600/Fondo+Pantalla.jpg")!)

Advanced Usage

self.avatarImgView.setImageWithURL(NSURL(string: "http://3.bp.blogspot.com/-k-0O0FocJ2I/TyWbextRGlI/AAAAAAAACqo/GuPx0RH7PcY/s1600/Fondo+Pantalla.jpg")!,
    placeholder: nil,
    progressBarColor: UIColor.orangeColor(),
    progressBarLineWidth: JDAvatarDefaultProgressBarLineWidth,
    borderColor:nil,
    borderWidth: JDAvatarDefaultBorderWidth,
    completion: { (image, error) -> Void in

    print("image => \(image)")
    print("error => \(error)")
    print("------------------")
})

Author

License

JDSwiftAvatarProgress is available under the MIT license. See the LICENSE file for more info.

FAQs

Package last updated on 04 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc