ASOCImageViewer example

Hi,

(This is a repost, originally placed in the incorrect section)

I have in the past used a little Cocoa and thought with the creation of ASOC I would see how well it translates.

To that end I have created a very small example/sample/test.

It is a small image viewer that uses the following classes:

NSOpenPanel
NSImage
NSString
NSAffineTransform
NSGraphicsContext
NSNotificationCenter
NSScroller
NSSlider
NSView
NSButton

and probably others.

It implements rotation and scaling of an image within an NSView contained in an NSScrollView.

It does not implement the menu system other than the built in quit. Just use the buttons.

There is no explanation of the code. You will just have to study it.

I’m sure it will have errors but you may get something from it, I have.

It can be found here:

http://www.theaford.co.uk/Site/ApplescriptObjC.html

All the best

–Terry

Thanks Terry! I’ll give it a look! :slight_smile:

Very cool! Thanks for sharing.

The link posted was dead, but I have seemed to find a new link to the file. Here it is:
http://www.theaford.co.uk/uploads/6/0/9/2/6092496/asocimageviewer.zip

The second link is dead too.

If anyone has this project and can share it?

Thank You