Popularity
1.3
Stable
Activity
0.0
Stable
31
5
4

Programming language: Swift
License: GNU General Public License v3.0 or later
Tags: Media     Image    
Latest version: v1.0.0

TJProfileImage alternatives and similar libraries

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

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

Add another 'Image' Library

README

TJProfileImage

Live rendering of componet’s properties in Interface Builder

Swift Version License CocoaPods Compatible
Platform PRs Welcome

Image

Features

  • [x] Dashed border
  • [x] Solid border
  • [x] Round corner
  • [x] Circle image

Requirements

  • iOS 9.0+
  • Xcode 8.3

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate TJProfileImage into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'TJProfileImage'
end

Then, run the following command:

$ pod install

Manually

  1. Download and drop TJProfileImage.swift in your project.
  2. Congratulations!

Implementation

Just set class of your UIImageView to TJProfileImage and let the magic happen.

import TJProfileImage
@IBOutlet var imgView: TJProfileImage!

imgView.dashedBorder  = true           // shows dashed border instead of plain
imgView.isCircular    = true           // makes image view in round shape
imgView.cornerRadious = 5              // you can set custom corner radious also. IF you set isCircular then it will neglate this corner radious
imgView.borderColor   = UIColor.green  // border color
imgView.borderWidth   = 2              // border width

Contribute

We would love you for the contribution to TJProfileImage, check the LICENSE file for more info.

Meta

Tejas Ardeshna – @tejas_ardeshna[email protected]

Distributed under the MIT license. See LICENSE for more information.


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