Nine Parts is a development tool for iOS, Mac and Web.
It allows you to preview proposed edge insets for a given resizable image and export sliced images for use on the web and with Cocoa's NSDrawNinePartImage().