diff -r 000000000000 -r 629c7605ab2a MYURLFormatter.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MYURLFormatter.h Wed Apr 08 16:31:19 2009 -0700 @@ -0,0 +1,23 @@ +// +// URLFormatter.h +// Murky +// +// Copyright 2008 Jens Alfke. All rights reserved. +// + +#import + + +/** An NSURLFormatter for text fields that let the user enter URLs. + The associated text field's objectValue will be an NSURL object. */ +@interface MYURLFormatter : NSFormatter +{ + NSArray *_allowedSchemes; +} + +@property (copy,nonatomic) NSArray *allowedSchemes; + ++ (void) beginFilePickerFor: (NSTextField*)field; ++ (void) beginNewFilePickerFor: (NSTextField*)field; + +@end