NOGlisteningImageView 1.0.0

NOGlisteningImageView 1.0.0

LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Apr 2015

Maintained by Yuriy Panfyorov.

  • By
  • Yuriy Panfyorov

A drop-in replacement for UIImageView. Repeatedly plays a simple highlight animation, similar to a highlight on a coin when a bright light moves quickly alongside it.

NOGlisteningImageView demo

Originally developed to be used in storyboards or nibs when it is needed to draw user attention to certain graphical elements. All public properties can be configured by setting in the User Defined Runtime Attributes section in Xcode's Identity Inspector.

Animations start playing automatically when this view is added to a UIWindow, and stops when it is removed form one.

Note: this effect is internally implemented as a Quartz gradient layer masked with the original image, so be cautious of performance.


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

pod "NOGlisteningImageView"

Or just drag the files NOGlisteningImageView.h and NOGlisteningImageView.m to your Xcode project.

This class requires ARC enabled.


Place an Image View in your nib and select it. Open Utilities→Identity Inspector (⌥⌘3) and assign NOGlisteningImageView class.

Or create it in code:

#import "NOGlisteningImageView.h"

NOGlisteningImageView *imageView = [[NOGlisteningImageView alloc] initWithImage:[UIImage imageNamed:@"Coin"]];
var view = NOGlisteningImageView(image: UIImage(named: "Coin"))


By default, NOGlisteningImageView starts playing the highlight immediately with 3 seconds interval; it is placed at 30°.

There are various parameters affecting the animation, please refer to the header file for details.

An easy way to change them is setting appropriate values while editing a storyboard/nib file, see the screenshot below.

Setting NOGlisteningImageView parameters in Xcode


This project is licensed under the terms of the MIT license.