diff -r 000000000000 -r 256370e8935a MYURLFormatter.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MYURLFormatter.h Sun May 03 10:13:31 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