Re: [Q] Path/Filename NSFormatter
Re: [Q] Path/Filename NSFormatter
- Subject: Re: [Q] Path/Filename NSFormatter
- From: Dietrich Epp <email@hidden>
- Date: Thu, 12 Sep 2002 16:23:24 -0700
On Thursday, September 12, 2002, at 02:43 , Mark de Jong wrote:
Hi!
Has anyone written an NSFormatter that validates text entered as a
valid filename?
I'd like to validate text as it's typed into an NSTextField and ensure
that no characters are entered that are not allowed in a filename.
Obvious ones like ":" and "/" come to mind to check, but there may be
others? Also, it would ensure that the character limit on filenames is
not exceeded.
Has this been done as an NSFormatter? Or in some other manner?
FYI you might want to know that : is okay -- although it will display as
a / in the finder. Try it.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.