Skip to content

AlbertoLourenco/ALTIFFViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cover

A TIFF files viewer (with multi-pages) for iOS developed with Objective-C.

ALTIFFViewer was created for simplify our life when we need show a TIFF collection pages/images.. using NSTiffSpliter like auxiliar library.

Visit https://github.com/Sharrp/NSTiffSplitter to see NSTiffSpliter library. Thanks, Anton Sharrp Furin! :)

How to use

So.. follow these steps:

  • Copy files from Classes directory at sample project to yours;
  • Import the ALTIFFViewer.h to your ViewController.h;

First you'll need to set a theme, using ToolbarTheme:

ToolbarTheme theme = ToolbarTheme_Light;

//  ToolbarTheme_Hidden
//
//  ToolbarTheme_Light
//  ToolbarTheme_LightWithoutSlider
//  ToolbarTheme_LightWithoutRotateOption
//  ToolbarTheme_LightWithoutSliderAndRotateOption
//
//  ToolbarTheme_Dark
//  ToolbarTheme_DarkWithoutSlider
//  ToolbarTheme_DarkWithoutRotateOption
//  ToolbarTheme_DarkWithoutSliderAndRotateOption

After that, mount the ALTIFFViewer object and call the function config passing the required params.

ALTIFFViewer* tiffViewer = [[ALTIFFViewer alloc] init];
[tiffViewer configWithFileData: fileData
                     documentTitle: @"This is about lions"
                    andLayoutTheme: theme];
[self presentViewController: tiffViewer animated: YES completion: nil];

In action

cover

About

A TIFF files (with multi-pages) viewer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published