Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/federicocappelli/kimageviewer

A ready to use Image viewer, written in Objective-C Cocoa for Mac OsX, with tools pannel for the zoom
https://github.com/federicocappelli/kimageviewer

Last synced: 2 days ago
JSON representation

A ready to use Image viewer, written in Objective-C Cocoa for Mac OsX, with tools pannel for the zoom

Awesome Lists containing this project

README

        

@Overview: KImageViewer is a simple and ready to use Image viewer written in Objective-C Cocoa for Mac OSX, with tools panel for the zoom options, scroll, fit to screen atc..
@Site and Screenshot: http://www.federicocappelli.net/lib-code/kimageviewer/

@Credits: Federico Cappelli
@Support: (ahahah support :D) anyway: admin (at) federicocappelli.net

@Framework dependencies:
#import

@use:
----In the superview

-(void)awakeFromNib
{
//Init the KImageViewer
self.imageView = [[KImageViewer alloc] initWithFrame:CGRectMake(256.0, 0, 477.0, 411.0)];
[self.view addSubview:self.imageView.view];
}

---Show image:

NSString *immPath = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"jpg" inDirectory:nil];
[imageViewer setImageWithURL:[NSURL fileURLWithPath:immPath]];