Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/federicocappelli/kimageviewer
- Owner: federicocappelli
- Created: 2012-03-01T16:42:29.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-20T09:10:09.000Z (over 9 years ago)
- Last Synced: 2023-03-22T20:10:52.599Z (over 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 889 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
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]];