My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
SamplePrograms  
List of sample programs
Featured
Updated Feb 4, 2010 by adam.r.m...@gmail.com

Three test programs are included

  1. FileView Program (target in FileView.xcodeproj)
  2. FVIBPluginTest
  3. ImageShear

FileView Program

This is the first and primary test interface. It demonstrates multiple views in a splitview, and allows switching between grid/column view via a tabless tabview. Also demonstrates drag-and-drop, and usage of bindings in code.

If you use NSSplitView, be sure to check out the NSSplitView category hack to make mouse dragging work. Yes, class posing and method swizzling are evil, but so is a container view that runs a modal loop in mouseDown: and breaks event tracking!

FVIBPluginTest

This is the newest test program, and was mainly intended to test bindings established in the IB plugin. It doesn't support editing, but allows changing background color and setting scale via text entry.

ImageShear

This is for testing and debugging the tiling and scaling code in FVCGImageUtilities.mm. It allows showing the tile strips used, and changing canvas backgrounds to see if the scaled image is sized correctly.


Sign in to add a comment
Powered by Google Project Hosting