Skip to content

iOS library implementing fullscreen and in-place image gallery similar to Facebook and VK applications

License

Notifications You must be signed in to change notification settings

Pash237/PAGalleryView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAGalleryView

Version License Platform

iOS library implementing fullscreen and in-place image gallery similar to Facebook and VK applications.

  • Smooth animations
  • Drag to exit fullscreen gesture
  • Autorotate of fullscreen images (no need to support portrait & landscape modes in your ViewController)
  • Activity and error indicators

Usage

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

Requirements

Minimum iOS Target – iOS 7.

AFNetworking is used to download images.

Installation

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

pod "PAGalleryView"

##Usage

Simple example:

	NSArray *images = @[
			[[NSBundle mainBundle] URLForResource:@"image_1" withExtension:@"jpg"],
			[[NSBundle mainBundle] URLForResource:@"image_2" withExtension:@"jpg"],
			[[NSBundle mainBundle] URLForResource:@"image_3" withExtension:@"jpg"],
	];

	self.galleryView.imageURLs = images;

Using fullscreen images:

	self.galleryView.imageURLs = images;
	self.galleryView.fullScreenImageURLs = fullScreenImages;
	self.galleryView.errorImage = [UIImage imageNamed:@"errorImage"];

Author

Pavel Alexeev, [email protected]

License

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

About

iOS library implementing fullscreen and in-place image gallery similar to Facebook and VK applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published